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-November/069971.html below:

[Python-Dev] 2.5 portability problems

[Python-Dev] 2.5 portability problems [Python-Dev] 2.5 portability problemsFredrik Lundh fredrik at pythonware.com
Thu Nov 16 21:49:34 CET 2006
Martin v. Löwis wrote:

> I'd like to share an observation on portability of extension
> modules to Python 2.5: python-ldap would crash on Solaris, see
> 
> http://groups.google.com/group/comp.lang.python/msg/a678a969c90f21ab?dmode=source&hl=en
> 
> It turns out that this was caused by a mismatch in malloc
> "families" (PyMem_Del vs. PyObject_Del):

I was just hit *hard* by this issue (in an extension that worked 
perfectly well under all test cases, and all but one demo script,
which happened to be the only one that happened to do a certain
trivial operation more than 222 times), so I added a FAQ entry:

http://effbot.org/pyfaq/why-does-my-c-extension-suddenly-crash-under-2.5.htm

feel free to add symptoms or other observations for other platforms 
and/or extensions.

cheers /F

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