python 2.7.12 on Linux behaving differently than on Windows

Chris Angelico rosuav at gmail.com
Thu Dec 8 14:36:00 EST 2016


On Fri, Dec 9, 2016 at 6:15 AM, BartC <bc at freeuk.com> wrote:
> On 08/12/2016 03:41, Steven D'Aprano wrote:
>>
>> On Thursday 08 December 2016 12:15, BartC wrote:
>>
>
>>> That's all. I know the value of keeping things straightforward instead
>>> of throwing in everything you can think of. The file-matching is done by
>>> WinAPI functions.
>
>
>> So you're happy with the fact that there are legitimate file names that
>> your
>> program simply has no way of dealing with?
>
>
> Perfectly. Such names are illegal on its home OS which is Windows, and
> ill-advised elsewhere.

Awesome. Since you're using Windows as your definition of
"ill-advised", I take it you assume that file names should be case
insensitive, too, right? Cool. Let me know when you've figured out the
uppercase and lowercase equivalents of this file name: "ßẞıİiIÅσςσ"

ChrisA


More information about the Python-list mailing list