Re:The Fundamental Problem in Python 3
by jnwatson on Friday December 20, 2019 @02:46AM
(#21842356)
It is horrible compromise of a bad situation. 99% of the time file name bytes are UTF-8 decodable. What do you do in the other case? You could return a different type, but then that makes dealing with it harder. You could make a new filesystem name type, but that would make simple APIs complicated. Using a new control character is probably the best one could do.
[ Parent
| on HN ]
There are no comments on this comment yet.