New submission from John Lehmann:
Modules that have been loaded as an argument to the command line cannot be
reloaded using importlib.reload.
For example with the attached file:
$ python reloader.py
Traceback (most recent call last):
File "reloader.py", l
John Lehmann added the comment:
You get a slightly different error using "-m".
I'll raise a new defect - with some background that may make the bug seem more
reasonable.
--
___
Python tracker
<http://bugs.pyt
New submission from John Lehmann:
In testing the py3 port for the web framework web.py, I found a limitation of
importlib.reload.
A module that was loaded via the command line cannot be reloaded with
importlib.reload.
The basic mode of operation for web.py is to create a web application as a
John Lehmann added the comment:
I may not have been clear as to how the problem seems when working with a
web.py application:
* visit the web page, see something that needs fixing
* make the required change to app.py
* reload the webpage
* error occurs
Changes by John Lehmann :
--
nosy: +j1o1h1n
___
Python tracker
<http://bugs.python.org/issue23972>
___
___
Python-bugs-list mailing list
Unsubscribe: