Nick Coghlan ncogh...@gmail.com added the comment:
Incorporated as:
2.7: r69419
3.1: r69421
--
resolution: - accepted
stage: - committed/rejected
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue4195
Nick Coghlan [EMAIL PROTECTED] added the comment:
Missed the window for 2.6/3.0. Guido agreed on python-dev that it counts
as a new feature, so it was definitely out for the already-released 2.6,
and also wasn't really an option for the release candidate phase of 3.0.
Assigning to myself for
Nick Coghlan [EMAIL PROTECTED] added the comment:
Added revised version of patch with test cases and documentation
updates, as well as fixing a potential recursion issue with pathological
packages where __main__ was also a package)
--
keywords: +patch
Added file:
New submission from vajda [EMAIL PROTECTED]:
Copy of #2751.
Having discussed this with Nick a bit more over email, he suggested that
package execution could actually be properly supported by looking for a
__main__ module inside the package and executing it instead. This is
consistent with the