22 Apr
2009
22 Apr
'09
1:44 p.m.
Dirkjan Ochtman
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.