[issue1487] PEP 366 implementation

Nick Coghlan report at bugs.python.org
Sun Dec 2 15:01:48 CET 2007


Nick Coghlan added the comment:

Posted v2 of the patch, which fixes the problem Guido noted, and
improved the tests to make sure __package__ is being set correctly.
There's also now an explicit test for using -m on a module inside a
package (which proved harder to write than I expected - it isn't easy to
fiddle with sys.path when the subprocess is running python with the -E
flag!).

Added file: http://bugs.python.org/file8852/pep_366_v2.diff

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1487>
__________________________________
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: pep_366_v2.diff
Url: http://mail.python.org/pipermail/python-bugs-list/attachments/20071202/8fcd47ce/attachment-0001.txt 


More information about the Python-bugs-list mailing list