3 ms·
I'm wrong: https://news.ycombinator.com/item?id=32471944 https://news.ycombinator.com/item?id=32471944 If it ever did that, it doesn't anymore.
by jefftk 4y ago
I'm wrong: https://news.ycombinator.com/item?id=32471944 https://news.ycombinator.com/item?id=32471944
If it ever did that, it doesn't anymore.
- jefftk 4y agoFound some history: https://vstinner.github.io/python30-listdir-undecodable-filenames.html https://vstinner.github.io/python30-listdir-undecodable-file... Includes "Modify os.listdir(str) to ignore silently undecodable filenames, instead of returning them as bytes", but not later work where apparently this was changed to use surrogates.