[Python-Dev] a suggestion ... Re: PEP 383 (again) (original) (raw)

Paul Moore p.f.moore at gmail.com
Thu Apr 30 13:02:08 CEST 2009


2009/4/30 "Martin v. Löwis" <martin at v.loewis.de>:

OK, so what's wrong with os.listdir() and similar functions returning a unicode string for strings that correctly encode/decode, and with byte strings for strings that are not valid unicode? See http://bugs.python.org/issue3187 in particular msg71655

Can I suggest that a pointer to this issue be added to the PEP? It certainly seems like a lot of the discussion of options available is captured there. And the fact that Guido's views are noted there is also useful (as he hasn't been contributing to this thread).

2009/4/30 Thomas Breuel <tmbdev at gmail.com>:

> Since both have had to deal with this, have you looked at what they > actually do before proposing PEP 383? What did you find?

See http://mail.python.org/pipermail/python-3000/2007-September/010450.html Thanks, that's very useful.

This reference could probably be usefully added to the PEP as well.

Paul.



More information about the Python-Dev mailing list