Message298181
I'm trying to join paths on Windows with data taken from a user generated file. In doing so, I came across:
>>> os.path.join('dir1', '/dir2')
'/dir2'
I'd expect an error or:
'dir1\\dir2'
This has been tested and is consistent with Python 2.7.13 and 3.6.1. |
|
Date |
User |
Action |
Args |
2017-07-11 20:43:54 | mesheb82 | set | recipients:
+ mesheb82, paul.moore, tim.golden, zach.ware, steve.dower |
2017-07-11 20:43:54 | mesheb82 | set | messageid: <1499805834.64.0.51742284415.issue30906@psf.upfronthosting.co.za> |
2017-07-11 20:43:54 | mesheb82 | link | issue30906 messages |
2017-07-11 20:43:54 | mesheb82 | create | |
|