Martin v. Löwis schrieb:
> Thomas Heller wrote:
>> It should be noted that I once started to convert the import machinery
>> to be fully unicode aware.  As far as I can tell, a *lot* has to be changed
>> to make this work.
> 
> Is that code available somewhere still? Does it still work?

Available as patch 1093253, I have not tried if it stil works
> 
>> I started with refactoring Python/import.c, but nobody responded to the 
>> question
>> whether such a refactoring patch would be accepted or not.
> 
> I would like to see minimal changes only. I don't see why massive
> refactoring would be necessary: the structure of the code should
> persist - only the data types should change from char* to PyObject*.
> Calls like stat() and open() should be generalized to accept
> PyObject*, and otherwise keep their interface.

To be really useful, wide char versions of other things must also be
made available: command line arguments, environment variables
(PYTHONPATH), and maybe other stuff.

Thomas
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to