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 ericzolf
Recipients docs@python, ericzolf, eryksun, ezio.melotti, paul.moore, steve.dower, tim.golden, vstinner, zach.ware
Date 2021-03-05.06:03:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1614924216.81.0.175096129663.issue43395@roundup.psfhosted.org>
In-reply-to
Content
Very confusing but very interesting. I'm trying to follow as I'm the main maintainer of the rdiff-backup software, which goes cross-platforms, so these small differences might become important.

Now, looking into the docs, following your explanations, I noticed that https://docs.python.org/3/library/os.html#os.fsencode and https://docs.python.org/3/library/os.html#os.fsdecode state that the 'strict' error handler is used under Windows instead of the stated 'surrogatepass'. Again an issue with the documentation?

Also, the 2nd paragraph of https://docs.python.org/3.8/library/os.html#file-names-command-line-arguments-and-environment-variables speaks only of surrogateescape and doesn't make the difference between POSIX and Windows.

Very interesting but very confusing...
History
Date User Action Args
2021-03-05 06:03:37ericzolfsetrecipients: + ericzolf, paul.moore, vstinner, tim.golden, ezio.melotti, docs@python, zach.ware, eryksun, steve.dower
2021-03-05 06:03:36ericzolfsetmessageid: <1614924216.81.0.175096129663.issue43395@roundup.psfhosted.org>
2021-03-05 06:03:36ericzolflinkissue43395 messages
2021-03-05 06:03:36ericzolfcreate