Author pjenvey
Recipients Ronan.Lamy, larry, pitrou, pjenvey, serhiy.storchaka, vstinner
Date 2016-04-18.21:34:55
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Basically a reopen of the older issue8485 with the same name. It was decided there to drop support for bytearray filenames -- partly because of the complexity of handling buffers but it was also deemed to just not make much sense.

This regressed or crept back into the posix module with the big path_converter changes for 3.3:

IMHO this functionality should be deprecated/removed per the original discussion, or does someone want to reopen the debate?

The os module docs (and path_converter's own docs) explicitly advertise handling of str or bytes, not bytearrays or buffers. Even os.fsencode rejects bytearrays/buffers.

Related to issue26754 -- further inconsistencies around filename handling
Date User Action Args
2016-04-18 21:34:55pjenveysetrecipients: + pjenvey, pitrou, vstinner, larry, serhiy.storchaka, Ronan.Lamy
2016-04-18 21:34:55pjenveysetmessageid: <>
2016-04-18 21:34:55pjenveylinkissue26800 messages
2016-04-18 21:34:55pjenveycreate