Re: [Python-Dev] File system path encoding on Windows

2016-08-20 Thread Nick Coghlan
On 21 August 2016 at 06:31, Steve Dower wrote: > My biggest concern is that it then falls onto users to know how to start > Python with that flag. Not necessarily, as this is one of the areas where commercial redistributors can earn their revenue stream - by deciding that flipping the default beh

Re: [Python-Dev] File system path encoding on Windows

2016-08-20 Thread Steve Dower
On 20Aug2016 1231, Nick Coghlan wrote: I'd like to suggest an option that didn't come up on python-ideas: add such a flag to Python 3.6, and then actively seek feedback from folks using non-UTF-8 encodings before making a decision on what to do by default in Python 3.7. My biggest concern is th

Re: [Python-Dev] File system path encoding on Windows

2016-08-20 Thread Nick Coghlan
On 20 August 2016 at 04:59, Steve Dower wrote: > Questions: > * should we always use Window's Unicode APIs instead of switching between > bytes/Unicode based on parameter type? Yes > * should we allow users to pass bytes and interpret them as utf-8 rather > than letting Windows do the decoding?