[Python-Dev] PEP 383: Non-decodable Bytes in System Character Interfaces (original) (raw)

Antoine Pitrou solipsis at pitrou.net
Wed Apr 22 20:44:40 CEST 2009


Dirkjan Ochtman <dirkjan ochtman.nl> writes:

As a hg developer, I have to concur. Keeping bytes-based APIs intact would make porting hg to py3k much, much easier. You may be able to imagine that dealing with paths correctly cross-platform on a VCS is a major PITA, and py3k is currently not helping the situation.

bytes-based APIs are certainly more bullet-proof under Unix, but it's the reverse under Windows. Martin's proposal aims to bridge the gap and propose something that makes text-based APIs as bullet-proof under Unix as they already are under Windows.

Regards

Antoine.



More information about the Python-Dev mailing list