Message75175
| Author |
vajda |
| Recipients |
benjamin.peterson, ncoghlan, vajda |
| Date |
2008年10月24日.18:44:57 |
| SpamBayes Score |
1.6181005e-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:00 | vajda | set | recipients:
+ vajda, ncoghlan, benjamin.peterson |
| 2008年10月24日 18:44:59 | vajda | set | messageid: <1224873899.8.0.177595218059.issue4195@psf.upfronthosting.co.za> |
| 2008年10月24日 18:44:58 | vajda | link | issue4195 messages |
| 2008年10月24日 18:44:57 | vajda | create |
|