[Cython] pyximport ignors [build] compiler = mingw32
Stefan Behnel
stefan_ml at behnel.de
Sat May 16 20:43:14 CEST 2009
Dag Sverre Seljebotn wrote:
> Robert wrote:
>> Robert wrote:
>>> this and more related cleanup, speedup of importer, --inplace
>>> --verbose reload() .. here now:
>>>
>>> http://trac.cython.org/cython_trac/ticket/312
>>>
>> maybe sb likes to test it further:
>>
>> * support for dynamic "reload(<pyxmodule>)" added: e.g change of
>> the Cython code without stopping & relaunching a big app.
>> <so_path>.reloadNN files may arise, as previously loaded files are
>> blocked.
>
> This is great; I've always wanted reload to work...
Reloading a C module is a very unsafe thing. It basically requires
supporting PEP 3121 in Py3 and won't work in Py2 in most cases. You risk
all sorts of memory leaks and unexpected behaviour.
Stefan
More information about the Cython-dev
mailing list