Message282869
Those results are expected as passing in a file by path means it's just read by open() and then passed to exec() while the others pass through import itself which has the os.path.isfile() check.
Since this is a change from Python 2.7 I would be willing to look at a patch that loosened things that was fully backwards-compatible, but it would be an enhancement and not a bugfix. |
|
Date |
User |
Action |
Args |
2016-12-10 19:53:49 | brett.cannon | set | recipients:
+ brett.cannon, orsenthil, eric.smith, dgreiman, ztane |
2016-12-10 19:53:48 | brett.cannon | set | messageid: <1481399628.92.0.052770177873.issue28425@psf.upfronthosting.co.za> |
2016-12-10 19:53:48 | brett.cannon | link | issue28425 messages |
2016-12-10 19:53:48 | brett.cannon | create | |
|