| Store | Cart

Re: [Python-Dev] Windows: Remove support of bytes filenames in the os module?

From: Stephen J. Turnbull <step...@xemacs.org>
Tue, 9 Feb 2016 19:00:36 +0900
Chris Barker - NOAA Federal writes:

 > All I can say is "ouch". Hard to call it a regression to no longer> allow this mess...

We can't "disallow" the mess, it's embedded in the lunatic computing
environment (which I happen to live in).  We can't even stop people
from using existing Python programs abusing bytes-oriented APIs.  All
we can do is make it harder for people to port to Python 3, and that
would be bad because it's much easier to refactor once you're in
Python 3.

And as Paul points out, it works fine in ASCII-compatible one-byte
environments (and probably in ISO-2022-compatible 8-bit multibyte
environments, too -- the big problems are the abominations known as
Shift JIS and Big5).  Please, let's leave it alone.

_______________________________________________
Python-Dev mailing list
Pyth...@python.org
https://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: https://mail.python.org/mailman/options/python-dev/python-dev-ml%40activestate.com

Recent Messages in this Thread
Victor Stinner Feb 08, 2016 02:32 pm
Victor Stinner Feb 08, 2016 02:40 pm
Matthias Bussonnier Feb 08, 2016 04:01 pm
Brett Cannon Feb 08, 2016 05:02 pm
Alexander Walters Feb 08, 2016 05:10 pm
Victor Stinner Feb 09, 2016 10:13 am
Paul Moore Feb 09, 2016 11:35 am
Paul Moore Feb 08, 2016 06:26 pm
Victor Stinner Feb 09, 2016 01:03 pm
Steve Dower Feb 10, 2016 01:37 am
Chris Angelico Feb 10, 2016 01:41 am
Steven DAprano Feb 10, 2016 10:18 am
Victor Stinner Feb 10, 2016 10:37 am
Andrew Barnert via Python-Dev Feb 10, 2016 02:01 am
Steve Dower Feb 10, 2016 02:42 am
Stephen J. Turnbull Feb 10, 2016 04:17 am
Steve Dower Feb 10, 2016 04:40 am
Stephen J. Turnbull Feb 10, 2016 08:00 am
Paul Moore Feb 10, 2016 08:30 am
Victor Stinner Feb 10, 2016 08:45 am
Paul Moore Feb 10, 2016 09:28 am
Stephen J. Turnbull Feb 10, 2016 02:51 pm
Andrew Barnert via Python-Dev Feb 10, 2016 07:56 am
Stephen J. Turnbull Feb 10, 2016 02:50 pm
Chris Barker Feb 08, 2016 08:41 pm
eryk sun Feb 09, 2016 12:37 am
Chris Barker - NOAA Federal Feb 09, 2016 01:57 am
Paul Moore Feb 09, 2016 08:08 am
Stephen J. Turnbull Feb 09, 2016 10:00 am
Victor Stinner Feb 09, 2016 09:21 am
eryk sun Feb 09, 2016 01:27 pm
Victor Stinner Feb 09, 2016 09:22 am
eryk sun Feb 09, 2016 01:33 pm
Serhiy Storchaka Feb 10, 2016 12:41 pm
Messages in this thread