Message213938
We all agree Python files with invalid syntax should be allowed, but some error message should be logged. From the py_compile docs, this is already what the compile function does if the doraise argument is false (default), so what’s needed here is a unit test that makes sure we get a warning and the bad file is included in the sdist.
(I think we should not be concerned by the direct print to stderr instead of using proper logging: distutils uses its own logging system which lets one control the verbosity but does not have flexible filters, handlers and configuration, so in effect it’s like print to stderr.) |
|
Date |
User |
Action |
Args |
2014-03-18 02:52:36 | eric.araujo | set | recipients:
+ eric.araujo, tarek, Oliver.Jeeves, dstufft |
2014-03-18 02:52:36 | eric.araujo | set | messageid: <1395111156.12.0.421934946542.issue7918@psf.upfronthosting.co.za> |
2014-03-18 02:52:36 | eric.araujo | link | issue7918 messages |
2014-03-18 02:52:35 | eric.araujo | create | |
|