[issue4195] Regression for executing packages

2009-02-07 Thread Nick Coghlan
Nick Coghlan added the comment: Incorporated as: 2.7: r69419 3.1: r69421 -- resolution: -> accepted stage: -> committed/rejected status: open -> closed ___ Python tracker ___ _

[issue4195] Regression for executing packages

2008-11-28 Thread Nick Coghlan
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 2

[issue4195] Regression for executing packages

2008-10-24 Thread Nick Coghlan
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: http://bugs.python.or

[issue4195] Regression for executing packages

2008-10-24 Thread vajda
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