[issue27487] -m switch regression in Python 3.5.2 (under rare circumstances)
Nick Coghlan
report at bugs.python.org
Wed Jul 12 22:50:13 EDT 2017
Nick Coghlan added the comment:
I've added a second answer to the referenced Stack Overflow issue that attempts to more clearly explain what is going on: https://stackoverflow.com/questions/43393764/python-3-6-project-structure-leads-to-runtimewarning/45070583#45070583
(The problem there is that proj.__init__ implicitly imports the module being executed by -m)
If that answer is still insufficient to diagnose the problem you're seeing, then I'd suggest submitting a new SO question explaining how the behaviour in your case differs from that one, and then providing a link to it as a comment on my answer.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27487>
_______________________________________
More information about the Python-bugs-list
mailing list