[Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Wed Mar 15 10:13:27 CET 2006
- Previous message: [Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c
- Next message: [Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Tim Peters wrote:
Unfortunately, only so in Python 2.5. If the code is also meant to be used for earlier versions, it won't work there at all.
Does that matter?
I believe it does: the ctypes maintainer wants to keep the code identical across releases (AFAICT).
has Pyssizet all over the place, and that's unique to 2.5 (so far) too, right?
Not necessarily. For example, Modules/_elementtree.c has
/* compatibility macros */ #if (PY_VERSION_HEX < 0x02050000) typedef int Py_ssize_t; #define lenfunc inquiry #endif
I believe ctypes "wants" to take that approach also.
Regards, Martin
- Previous message: [Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c
- Next message: [Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]