[Python-3000] Removing windows 95 specific code

Guido van Rossum guido at python.org
Mon Nov 19 18:23:42 CET 2007

On Nov 19, 2007 8:05 AM, Amaury Forgeot d'Arc <amauryfa at gmail.com> wrote:
> Another question:
> I noticed that open() and other functions accept bytes objects. Is it intended?
> There is no test for this in the test suite. I will add some when I
> know what is needed.

Wasn't intended. We haven't completed fixing all places that still
somehow use the old approach, accepting PyString and PyUnicode both.

> Another question #2:
> on posix platforms, os.path.supports_unicode_filenames is False.
> So far, this variable is only used to run test_pep277.py or not. Did
> we make some progress on this topic since the unicode-everywhere
> rewrite? (see also http://bugs.python.org/issue767645 )

This may well be wrong, since we're supposed to accept Unicode
everywhere. I don't know why that variable was introduced.

--Guido van Rossum (home page: http://www.python.org/~guido/)

More information about the Python-3000 mailing list