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 mark.dickinson
Recipients loewis, mark.dickinson, r.david.murray
Date 2009-05-05.19:42:05
SpamBayes Score 0.00010161358
Marked as misclassified No
Message-id <1241552527.49.0.210408352226.issue5944@psf.upfronthosting.co.za>
In-reply-to
Content
Even better:

>>> for s in map(unicodedata.name, found): print(s)
... 
LATIN SMALL LETTER F
LATIN SMALL LETTER O
LATIN SMALL LETTER O
LATIN SMALL LETTER O
COMBINING DIAERESIS
LATIN SMALL LETTER B
LATIN SMALL LETTER A
LATIN SMALL LETTER R
>>> for s in map(unicodedata.name, expected): print(s)
... 
LATIN SMALL LETTER F
LATIN SMALL LETTER O
LATIN SMALL LETTER O
LATIN SMALL LETTER O WITH DIAERESIS
LATIN SMALL LETTER B
LATIN SMALL LETTER A
LATIN SMALL LETTER R
>>> found == expected
False
>>> unicodedata.normalize('NFC', found) == unicodedata.normalize('NFC', 
expected)
True

So there are two separate issues, both of which just require fixing the 
tests:  one issue is that OS X transforms invalid filenames;  the other is 
that it normalizes valid filenames.
History
Date User Action Args
2009-05-05 19:42:07mark.dickinsonsetrecipients: + mark.dickinson, loewis, r.david.murray
2009-05-05 19:42:07mark.dickinsonsetmessageid: <1241552527.49.0.210408352226.issue5944@psf.upfronthosting.co.za>
2009-05-05 19:42:05mark.dickinsonlinkissue5944 messages
2009-05-05 19:42:05mark.dickinsoncreate