Message136331
This is intentional. See the implementation of join in Lib/posixpath.py and the Windows implementation in Lib/ntpath.py which also includes a comment explaining why.
# path is not empty and does not end with a backslash,
# but b is empty; since, e.g., split('a/') produces
# ('a', ''), it's best if join() adds a backslash in
# this case. |
|
Date |
User |
Action |
Args |
2011-05-19 19:45:52 | brian.curtin | set | recipients:
+ brian.curtin, socketpair |
2011-05-19 19:45:52 | brian.curtin | set | messageid: <1305834352.64.0.549530116609.issue12104@psf.upfronthosting.co.za> |
2011-05-19 19:45:52 | brian.curtin | link | issue12104 messages |
2011-05-19 19:45:51 | brian.curtin | create | |
|