homepage

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 r.david.murray
Recipients brian.curtin, christian.heimes, docs@python, eckhardt, ezio.melotti, jorend, mhammond, r.david.murray, terry.reedy, tim.golden
Date 2012年07月21日.20:41:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342903268.21.0.193498975528.issue15414@psf.upfronthosting.co.za>
In-reply-to
Content
In looking at another os.path.join documentation issue I tried the Windows join to see if it matched the docs, and found that it was very unclear. I searched the tracker and found Issue 1669539, which contains much relevant discussion but also much discussion of possible enhancements. So I'm opening a new issue *just* about what I see as the current bugs in the os.path.join docs and ntpath.join implementation.
I'm not qualified to fix this, not being a Windows user, but it is clear to me that the documentation of os.path.join for Windows is unclear (it does not indicate what is considered an absolute path on Windows) and wrong (\foo will *not* restart the path if it is the second element and follows a drive specification, but it does any other time), and that the current behavior may have a bug if, as seems to be implied by the issue 1669539 discussion, something that looks like a drive specification in the middle of a path is invalid on Windows. If this last is not a bug, it should be mentioned in the documentation, since the actual behavior is counter-intuitive.
History
Date User Action Args
2012年07月21日 20:41:08r.david.murraysetrecipients: + r.david.murray, mhammond, terry.reedy, jorend, christian.heimes, tim.golden, ezio.melotti, eckhardt, brian.curtin, docs@python
2012年07月21日 20:41:08r.david.murraysetmessageid: <1342903268.21.0.193498975528.issue15414@psf.upfronthosting.co.za>
2012年07月21日 20:41:07r.david.murraylinkissue15414 messages
2012年07月21日 20:41:07r.david.murraycreate

AltStyle によって変換されたページ (->オリジナル) /