This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author michael.foord
Recipients eric.araujo, michael.foord, tarek
Date 2010-11-25.15:16:53
SpamBayes Score 1.00126e-09
Marked as misclassified No
Message-id <>
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.
Date User Action Args
2010-11-25 15:16:55michael.foordsetrecipients: + michael.foord, tarek, eric.araujo
2010-11-25 15:16:55michael.foordsetmessageid: <>
2010-11-25 15:16:54michael.foordlinkissue10530 messages
2010-11-25 15:16:53michael.foordcreate