Author vajda
Recipients benjamin.peterson, ncoghlan, vajda
Date 2008-10-24.18:44:57
SpamBayes Score 1.6181e-09
Marked as misclassified No
Message-id <1224873899.8.0.177595218059.issue4195@psf.upfronthosting.co.za>
In-reply-to
Content
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 way .zip archives are executed and would neatly
resolve this problem. I attached a simple patch implementing this.

Nick also said that fixing this might be considered a new feature and
might have to wait until 2.7. Given that this worked on Python 2.5,
albeit unintentionally, I'd argue that this is closer to a fix of a
somewhat buggy Python 2.5 feature than a new feature in 2.6.
History
Date User Action Args
2008-10-24 18:45:00vajdasetrecipients: + vajda, ncoghlan, benjamin.peterson
2008-10-24 18:44:59vajdasetmessageid: <1224873899.8.0.177595218059.issue4195@psf.upfronthosting.co.za>
2008-10-24 18:44:58vajdalinkissue4195 messages
2008-10-24 18:44:57vajdacreate