Message122372
| Author |
michael.foord |
| Recipients |
eric.araujo, michael.foord, tarek |
| Date |
2010年11月25日.15:16:53 |
| SpamBayes Score |
1.0012584e-09 |
| Marked as misclassified |
No |
| Message-id |
<1290698215.47.0.78092585837.issue10530@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
As discussed with tarek. It shouldn't be up to distutils2 to decide whether or not a Python file that has been included in the package should be installed or not if it is included in the set of files the developer has *asked* to be installed.
Possible use cases include deliberately broken modules for testing or an ast-transformer import hook that works with otherwise-invalid syntax files. (e.g. transforming the with statement to work on Python 2.4)
Allowing for the install of invalid syntax files will require ignoring SyntaxErrors during bytecode compile phase. A --strict option could be provided to allow these to remain an error. |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2010年11月25日 15:16:55 | michael.foord | set | recipients:
+ michael.foord, tarek, eric.araujo |
| 2010年11月25日 15:16:55 | michael.foord | set | messageid: <1290698215.47.0.78092585837.issue10530@psf.upfronthosting.co.za> |
| 2010年11月25日 15:16:54 | michael.foord | link | issue10530 messages |
| 2010年11月25日 15:16:53 | michael.foord | create |
|