This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author brian.curtin
Recipients brian.curtin, socketpair
Date 2011-05-19.19:45:51
SpamBayes Score 6.206434e-05
Marked as misclassified No
Message-id <1305834352.64.0.549530116609.issue12104@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2011-05-19 19:45:52brian.curtinsetrecipients: + brian.curtin, socketpair
2011-05-19 19:45:52brian.curtinsetmessageid: <1305834352.64.0.549530116609.issue12104@psf.upfronthosting.co.za>
2011-05-19 19:45:52brian.curtinlinkissue12104 messages
2011-05-19 19:45:51brian.curtincreate