why does this hang

Alex Martelli aleaxit at yahoo.com
Fri Aug 17 10:54:23 EDT 2001


"John Hunter" <jdhunter at nitace.bsd.uchicago.edu> wrote in message
news:1rzo8yn4e0.fsf at video.bsd.uchicago.edu...
>
> Thanks for the test class; that was a good idea.  There is something
> unusual about my date class in that it is a C++ date class that I use
> a lot that I am exporting as a python extension using boost::python.
    ...
> Has anyone experienced such weirdness with extension modules or
> anything else before???

Yes, but not with Boost Python -- generally such weirdness results
from wrong reference count handling in the extension (addref/decref
not correctly matched) and Boost Python in my experience handles
those for you smoothly and without errors.  Strange...


Alex






More information about the Python-list mailing list