A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2006-March/062418.html below:

[Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c

[Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c [Python-Dev] [Python-checkins] r43041 - python/trunk/Modules/_ctypes/cfield.c"Martin v. Löwis" martin at v.loewis.de
Wed Mar 15 10:13:27 CET 2006
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 Py_ssize_t 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
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4