Opened 17 years ago
Closed 17 years ago
#214 closed defect (fixed)
trunk head genshi/_speedups.c does not compile on python 2.4
Reported by: | dgc@… | Owned by: | cmlenz |
---|---|---|---|
Priority: | major | Milestone: | 0.5 |
Component: | General | Version: | 0.4.4 |
Keywords: | Cc: |
Description
Py_ssize_t seems to be new. Patch attached. I don't know if this is correct version-wise -- no idea when Py_ssize_t was introduced -- but this fixes for my system.
Attachments (1)
Change History (3)
Changed 17 years ago by dgc@…
comment:1 Changed 17 years ago by aronacher
The better solution would be adding this:
#if PY_VERSION_HEX < 0x02050000 && !defined(PY_SSIZE_T_MIN) typedef int Py_ssize_t; #define PY_SSIZE_T_MAX INT_MAX #define PY_SSIZE_T_MIN INT_MIN #endif
comment:2 Changed 17 years ago by jruigrok
- Resolution set to fixed
- Status changed from new to closed
Fixed in r847. Thanks.
Note: See
TracTickets for help on using
tickets.
Patch to resolve bug