A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2007-February/071283.html below:

[Python-Dev] Py_ssize_t

[Python-Dev] Py_ssize_tRonald Oussoren ronaldoussoren at mac.com
Tue Feb 20 11:00:38 CET 2007
On 20 Feb, 2007, at 10:47, Raymond Hettinger wrote:


>
> The other area where I expected to hear wailing and gnashing of  
> teeth is users
> compiling with third-party extensions that haven't been updated to  
> a Py_ssize_t
> API and still use longs.  I would have expected some instability  
> due to the size
> mismatches in function signatures -- the difference would only show- 
> up with
> giant sized data structures -- the bigger they are, the harder they  
> fall.  OTOH,
> there have not been any compliants either -- I would have expected  
> someone to
> submit a patch to pyport.h that allowed a #define to force  
> Py_ssize_t back to a
> long so that the poster could make a reliable build that included  
> non-updated
> third-party extensions.

Maybe that's because most sane 64-bit systems use LP64 and therefore  
don't have any problems with mixing Py_ssize_t and long. AFAIK  
Windows is the only major platform that doesn't use the LP64 model  
and 64-bit windows isn't used a lot.

Ronald
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