Message318334
os.path.exists() returns True or False for all imaginable string arguments except for one that contains NUL ("\0") (Linux). This behavior is not documented in the library. Moreover, it can easily lead to accidents if an externally supplied pathname were to contain a NUL because most test suites would not try to cover such a pathname.
I propose os.path.exists() should return False even in this case. |
|
Date |
User |
Action |
Args |
2018-05-31 17:19:25 | pacujo | set | recipients:
+ pacujo |
2018-05-31 17:19:25 | pacujo | set | messageid: <1527787165.92.0.682650639539.issue33721@psf.upfronthosting.co.za> |
2018-05-31 17:19:25 | pacujo | link | issue33721 messages |
2018-05-31 17:19:25 | pacujo | create | |
|