News for hackers. Stuff that matters.
Re:The History and rationale of the Python 3 Unicode model f... by deathanatos on Wednesday December 14, 2022 @03:30PM (#33990027)
Yeah, and that's a problem. But again, Python is faced with bad choices because the interface exposed by OSes for file systems is basically broken.

(But, that might also fall into the 1% case where you'd need to pay attention.)

Perhaps you might argue for a dedicated type like Rust's Path, but that too has issues, and I don't think Python had the "design freedom" to go there. (Although it does have pathlib, nowadays, so I wonder how it handles this; but it would also need to duplicate a lot of the functionality in os…)

There are no comments on this comment yet.