[Cython] module cleanup
Stefan Behnel
stefan_ml at behnel.de
Tue Feb 24 09:59:17 CET 2009
Robert Bradshaw wrote:
> On Feb 24, 2009, at 12:38 AM, Stefan Behnel wrote:
>> http://trac.cython.org/cython_trac/ticket/218
>
> Note that the cleanup code is not (and cannot) always be safe across
> multiple modules. When objects such as interned strings, numerical
> literals, etc. are released, the module code becomes unsafe to use
> (e.g. even a __del__ method of an object laying around somewhere else.)
Hmm, we're in a ref-counted environment. Why would these objects be
released when the module itself is still in use?
Stefan
More information about the Cython-dev
mailing list