Message329574
The statement "os.path.realpath('C:\\Users\\')" returns different results between 3.6.6 and 3.6.7 (and between 3.7.0 and 3.7.1) on Windows.
With python 3.6.6 and 3.7.0 I got 'C:\\Users'.
With python 3.6.7 and 3.7.1 I got 'C:\\Users\\'.
Note the extra trailing backslash with python 3.6.7 and 3.7.1.
On Linux the behavior is consistent where the trailing slash in the input will be remove from the output: os.path.realpath('/home/') --> '/home'.
I think we should keep the behavior of removing trailing backslash on Windows.
Thanks. |
|
Date |
User |
Action |
Args |
2018-11-10 00:15:57 | wouyang | set | recipients:
+ wouyang |
2018-11-10 00:15:57 | wouyang | set | messageid: <1541808957.5.0.788709270274.issue35205@psf.upfronthosting.co.za> |
2018-11-10 00:15:57 | wouyang | link | issue35205 messages |
2018-11-10 00:15:57 | wouyang | create | |
|