A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2016-August/145999.html below:

[Python-Dev] File system path encoding on Windows

[Python-Dev] File system path encoding on Windows [Python-Dev] File system path encoding on WindowsVictor Stinner victor.stinner at gmail.com
Tue Aug 30 20:02:25 EDT 2016
I made another quick&dirty test on Django 1.10 (I ran Django test
suite on my modified Python raising exception on bytes path): I didn't
notice any exception related to bytes path.

Django seems to only use Unicode for paths.

I can try to run more tests if you know some other major Python
applications (modules?) working on Windows/Python 3.

Note: About Twisted, I forgot to mention that I'm not really surprised
that Twisted uses bytes. Twisted was created something like 10 years
ago, when bytes was the defacto choice. Using Unicode in Python 2 was
painful when you imagine a module as large as Twisted. Twisted has to
support Python 2 and Python 3, so it's not surprising that it still
uses bytes in some places, instead of Unicode. Moreover, as many
Python applications/modules, Linux is a first citizen, whereas Windows
is more supported as "best effort".

Victor
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4