Eric Snow <ericsnowcurren...@gmail.com> added the comment:

Ported _imp.reload() (Python/import.c) to Lib/imp.py.  Included is the change 
to PyImport_ReloadModule() to make it simply a wrapper around the pure Python 
imp.reload().  There's a good chance I don't have this right or that I have 
some reference leak.  I haven't worked a ton on the C side of Python (sounds 
tropical).  This patch also removes 'modules_reloading' from the interpreter 
state, since it's no longer used anywhere (see issue14618).

----------
Added file: http://bugs.python.org/file25302/issue13959_reload.diff

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue13959>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to