[Patches] [ python-Patches-566999 ] unicode in sys.path

noreply@sourceforge.net noreply@sourceforge.net
Fri, 14 Jun 2002 04:24:16 -0700


Patches item #566999, was opened at 2002-06-10 20:19
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=566999&group_id=5470

Category: Core (C code)
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Walter Dörwald (doerwalter)
Assigned to: Nobody/Anonymous (nobody)
Summary: unicode in sys.path

Initial Comment:
This patch enhances Python/import.c/find_module() so
that unicode objects found in sys.path will be treated
as legal directory names (The current code ignores
anything that is not a str). The unicode name is
converted to str using the Py_FileSystemDefaultEncoding.

----------------------------------------------------------------------

>Comment By: Walter Dörwald (doerwalter)
Date: 2002-06-14 13:24

Message:
Logged In: YES 
user_id=89016

diff2.txt includes the "#ifdef Py_USING_UNICODE" section.
Which "whitespace-only changes" do you mean? I readded two
blank lines, anything else?

----------------------------------------------------------------------

Comment By: Martin v. Löwis (loewis)
Date: 2002-06-13 21:49

Message:
Logged In: YES 
user_id=21627

The patch must be adjusted to work with --disable-unicode. I
would also appreciated if it did not contain pure
whitespace-only changes.

----------------------------------------------------------------------

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=566999&group_id=5470