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
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
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 <rep...@bugs.python.org>
<htt
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"
Changes by John Lehmann j1o1...@gmail.com:
--
nosy: +j1o1h1n
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue23972
___
___
Python-bugs-list mailing