[Python-Dev] Unicode Imports (original) (raw)
M.-A. Lemburg mal at egenix.com
Fri Sep 8 21:12:33 CEST 2006
- Previous message: [Python-Dev] Unicode Imports
- Next message: [Python-Dev] Arlington sprints to occur monthly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Kristján V. Jónsson wrote:
Hello All. I just added patch 1552880 to sourceforge. It is a patch for 2.6 (and 2.5) which allows unicode paths in sys.path and uses the unicode file api on windows. This is tried and tested on 2.5, and backported to 2.3 and is currently running on clients in china and esewhere. It is minimally intrusive to the inporting mechanism, at the cost of some string conversion overhead (to utf8 and then back to unicode).
+1 on adding it to Python 2.6.
-0 for Python 2.5.x:
Applications/modules written for Python 2.4 and 2.5 won't be expecting Unicode strings in sys.path with all the consequences that go with it, so this is a true change in semantics, not just a nice to have additional feature or "bug" fix.
OTOH, those applications will just break in a different place with the patch applied :-)
-- Marc-Andre Lemburg eGenix.com
Professional Python Services directly from the Source (#1, Sep 08 2006)
Python/Zope Consulting and Support ... http://www.egenix.com/ mxODBC.Zope.Database.Adapter ... http://zope.egenix.com/ mxODBC, mxDateTime, mxTextTools ... http://python.egenix.com/
::: Try mxODBC.Zope.DA for Windows,Linux,Solaris,FreeBSD for free ! ::::
- Previous message: [Python-Dev] Unicode Imports
- Next message: [Python-Dev] Arlington sprints to occur monthly
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]