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 Norbert
Recipients Norbert, brett.cannon, ned.deily, ronaldoussoren, vstinner
Date 2020-03-10.05:19:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1583817570.87.0.740517233044.issue39832@roundup.psfhosted.org>
In-reply-to
Content
Yes, if the Python runtime caches file names and determines based on the cache whether a file exists, then it needs to normalize both the file names in the cache and the name of the file it’s looking for. As far as I know, both HFS and APFS do this themselves when asked for a file by name, but if you ask for a list of available files, they don’t know what you’re comparing against.

I don’t think codecs would be involved here; I’d use unicodedata.normalize with either NFC or NFD – doesn’t matter which one.
History
Date User Action Args
2020-03-10 05:19:31Norbertsetrecipients: + Norbert, brett.cannon, ronaldoussoren, vstinner, ned.deily
2020-03-10 05:19:30Norbertsetmessageid: <1583817570.87.0.740517233044.issue39832@roundup.psfhosted.org>
2020-03-10 05:19:30Norbertlinkissue39832 messages
2020-03-10 05:19:30Norbertcreate