[issue2798] Crash on non-Windows if Python runs from a non-ASCII directory
Rodrigo Bernardo Pimentel
report at bugs.python.org
Sat May 10 20:39:23 CEST 2008
Rodrigo Bernardo Pimentel <rbp at isnomore.net> added the comment:
The patch works for me, and I agree the test_xmlrpc is an xmlrpc issue.
Perhaps unrelated to this issue, but I think it makes this whole unicode
getargs situation fragile: I could not understand why the 'z' case (on
the switch where this patch applies, starting on line 879 on the patched
file) does a PyString_Check(arg) and a PyUnicode_Check(arg), while the
corresponding section on case 's' (line 813) only does PyUnicode_Check(arg).
Is this really an inconsistency? Maybe this should go into an issue to
cleanup this switch, according to the comment at its beginning:
/* XXX WAAAAH! 's', 'y', 'z', 'u', 'Z', 'e', 'w', 't' codes all
need to be cleaned up! */
----------
nosy: +rbp
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2798>
__________________________________
More information about the Python-bugs-list
mailing list