[Python-3000] [Python-Dev] Filename as byte string in python 2.6 or 3.0?
Nick Coghlan
ncoghlan at gmail.com
Fri Oct 10 10:25:26 CEST 2008
Glenn Linderman wrote:
> BDFL has chosen scheme
> 2, it seems, unless he changes his mind. It has the advantages that few
> or no code changes are necessary to handle files that have Unicode
> names, and applications that want to handle files with non-Unicode names
> can, but have to work harder.
More accurately, I would say that Guido has chosen scheme 2
(predominantly Unicode APIs, with partial binary APIs) *for now*, with a
view to reviewing the situation for Python 3.1 or 3.2. By that time some
consensus will hopefully have emerged on how best to deal with invalid
binary filenames while interacting with Unicode-only APIs.
Cheers,
Nick.
--
Nick Coghlan | ncoghlan at gmail.com | Brisbane, Australia
---------------------------------------------------------------
http://www.boredomandlaziness.org
More information about the Python-3000
mailing list