[Python-Dev] PyGEGL instant crash (Python regression?)

2007-07-20 Thread David Gowers
Has anyone tried PyGEGL, the Python interface to gegl (www.gegl.org), with SVN Python? When I 'import gegl', that causes an immediate crash with the following backtrace. babl-db.c:100 babl_db_insert() Ek Using host libthread_db library "/lib/tls/i686/cmov/libthread_db.so.1". [Threa

Re: [Python-Dev] PyGEGL instant crash (Python regression?)

2007-07-20 Thread Josiah Carlson
"David Gowers" <[EMAIL PROTECTED]> wrote: > Has anyone tried PyGEGL, the Python interface to gegl (www.gegl.org), > with SVN Python? > When I 'import gegl', that causes an immediate crash with the > following backtrace. I would wager a beer or two that the issue is in the wrapping of gegl. Having

Re: [Python-Dev] PyGEGL instant crash (Python regression?)

2007-07-20 Thread David Gowers
On 7/20/07, Josiah Carlson <[EMAIL PROTECTED]> wrote: > > "David Gowers" <[EMAIL PROTECTED]> wrote: > > Has anyone tried PyGEGL, the Python interface to gegl (www.gegl.org), > > with SVN Python? > > When I 'import gegl', that causes an immediate crash with the > > following backtrace. > > I would w

Re: [Python-Dev] PyGEGL instant crash (Python regression?)

2007-07-20 Thread Nick Coghlan
David Gowers wrote: > Well, okay; but how does that account for the fact that Kevin reports > it works under 2.4, but it doesn't work under 2.6? The most likely culprit is that some of the code is using PyMem_Free on a pointer allocated with PyObject_Malloc (or vice-versa). This has always been

[Python-Dev] uuid creation not thread-safe?

2007-07-20 Thread Guido van Rossum
I discovered what appears to be a thread-unsafety in uuid.py. This is in the trunk as well as in 3.x; I'm using the trunk here for easy reference. There's some code around like 395: import ctypes, ctypes.util _buffer = ctypes.create_string_buffer(16) This creates a *global* buffer which i

[Python-Dev] Need help fixing tests in str/unicode branch

2007-07-20 Thread Guido van Rossum
Thanks to all who helped fixing tests in the str/unicode branch! We're down to about 35 failing tests. I still need help -- especially since we're now getting into territory that I don't know all that well, for example the email package or XML support. The list of unit tests that need help is stil