Message317186
The specific os.path.exists() call is shown here: https://github.com/python/cpython/pull/6805
If the filename is already in linecache or the module has a PEP 302 loader, then the os.path.exists() call is ignored. Hence it is better to call it only if its value is needed.
Attached a very simple case which shows the impact of the change: |
|
Date |
User |
Action |
Args |
2018-05-20 16:38:49 | Pankaj Pandey | set | recipients:
+ Pankaj Pandey |
2018-05-20 16:38:49 | Pankaj Pandey | set | messageid: <1526834329.07.0.682650639539.issue33587@psf.upfronthosting.co.za> |
2018-05-20 16:38:49 | Pankaj Pandey | link | issue33587 messages |
2018-05-20 16:38:49 | Pankaj Pandey | create | |
|