[issue16737] Different behaviours in script run directly and via runpy.run_module
Serhiy Storchaka
report at bugs.python.org
Thu Dec 20 15:27:02 CET 2012
Serhiy Storchaka added the comment:
I'm just pointing that run_module() and run_path() differs in the same way as `python -m` and `python`. If you want to change behavior of run_module(), then you should to change behavior of `python -m` too. And I'm not sure that this change will not break a lot of third-part code.
Try to backport run_path() to 2.6 if you need it.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16737>
_______________________________________
More information about the Python-bugs-list
mailing list