Martin Panter added the comment:

The test suite does check run_module() with some relative names; see 
test_invalid_names() in test_runpy. But there does not appear to be a test for 
“python -m .relative”.

Changes in init-ancestor.3.patch:

* Added a comment explaining the exception handling
* Added check, tests and documentation for relative module names

----------
Added file: http://bugs.python.org/file41258/init-ancestor.3.patch

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

Reply via email to