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 snaury
Recipients kalt, loewis, snaury
Date 2008-05-05.18:40:09
SpamBayes Score 0.0050825817
Marked as misclassified No
Message-id <1210012813.49.0.493278881137.issue1734346@psf.upfronthosting.co.za>
In-reply-to
Content
Martin, I cleared the flag bit because filename was changed in-place, to
mark that filename does not need further processing. This was primarily
compatibility concern, to accommodate for situations where users try to
do such decoding in their own code (this way flag won't be there, so
their code won't trigger). Without clearing the flag bit, calling
_decodeFilenameFlags second time will fail, as well as any similar user
code.

I suggest that if users want to know if filename is unicode, they should
check that filename is of class unicode.
History
Date User Action Args
2008-05-05 18:40:14snaurysetspambayes_score: 0.00508258 -> 0.0050825817
recipients: + snaury, loewis, kalt
2008-05-05 18:40:13snaurysetspambayes_score: 0.00508258 -> 0.00508258
messageid: <1210012813.49.0.493278881137.issue1734346@psf.upfronthosting.co.za>
2008-05-05 18:40:11snaurylinkissue1734346 messages
2008-05-05 18:40:10snaurycreate