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 hidr0.frbg
Recipients ezio.melotti, hidr0.frbg, vstinner
Date 2020-12-10.11:32:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1607599977.07.0.665981519829.issue42614@roundup.psfhosted.org>
In-reply-to
Content
I have a file with a Cirilyc name - "Файл на български", which when I load with path.Path and call name on it behaves differently

```
(Pdb) pathlib.Path("/tmp/pytest-of-root/pytest-15/test_bulgarian_name0/data/encoding/Файл на български.ldr").name
'Файл на български.ldr'
(Pdb) pathlib.Path("/tmp/pytest-of-root/pytest-15/test_bulgarian_name0/data/encoding/Файл на български.ldr").name[2]
'и'
(Pdb) pathlib.Path("/tmp/pytest-of-root/pytest-15/test_bulgarian_name0/data/encoding/Файл на български.ldr").name == "Файл на български"
False
```
History
Date User Action Args
2020-12-10 11:32:57hidr0.frbgsetrecipients: + hidr0.frbg, vstinner, ezio.melotti
2020-12-10 11:32:57hidr0.frbgsetmessageid: <1607599977.07.0.665981519829.issue42614@roundup.psfhosted.org>
2020-12-10 11:32:57hidr0.frbglinkissue42614 messages
2020-12-10 11:32:56hidr0.frbgcreate