Author pitrou
Recipients Atle.Pedersen, ezio.melotti, pitrou
Date 2012-01-05.20:23:42
SpamBayes Score 5.42133e-06
Marked as misclassified No
Message-id <>
The file tree contains a file which has an undecodable character in it. It ends up mangled as specified in PEP 383.
Priting such filenames is not directly supported (since they have invalid characters in them), but you can workaround it in several ways, for example escaping all non-ASCII chars: `print(ascii(f))`.

(note that opening the file will still work fine; only outputting the filename without special care will fail)

Python 2 is different since it doesn't attempt to decode filenames at all, it just treats them as opaque bytes.
Date User Action Args
2012-01-05 20:23:43pitrousetrecipients: + pitrou, ezio.melotti, Atle.Pedersen
2012-01-05 20:23:43pitrousetmessageid: <>
2012-01-05 20:23:42pitroulinkissue13717 messages
2012-01-05 20:23:42pitroucreate