[pypy-dev] cpyext: Detecting pypy and other issues

Amaury Forgeot d'Arc amauryfa at gmail.com
Tue May 3 00:12:44 CEST 2011


2011/5/2 Roger Binns <rogerb at rogerbinns.com>:
> There is no way you could have called a
> function provided by the module if the module itself had been freed.

Are you sure?

from mymodule import func
del sys.modules['mymodule']
func()

-- 
Amaury Forgeot d'Arc



More information about the pypy-dev mailing list