Author loewis
Recipients christian.heimes, giovannibajo, loewis
Date 2008-02-21.20:50:57
SpamBayes Score 0.0668518
Marked as misclassified No
Message-id <1203627063.98.0.9149097091.issue2128@psf.upfronthosting.co.za>
In-reply-to
Content
I dislike the double decoding, and would prefer if sys.argv would be
created directly from the wide command line.

In addition, I think the patch is incorrect: it ignores the arguments to
Py_Main, which is a documented API function.

One solution might be to declare all these functions (Py_Main,
SetProgramName, GetArgcArgv) to operate on Py_UNICODE*, and then
convert the POSIX callers of Py_Main to use mbstowcs when going
from the command line to Py_Main. WinMain could then become 
recompiled for Unicode directly, likewise Modules/python.c
History
Date User Action Args
2008-02-21 20:51:04loewissetspambayes_score: 0.0668518 -> 0.0668518
recipients: + loewis, christian.heimes, giovannibajo
2008-02-21 20:51:04loewissetspambayes_score: 0.0668518 -> 0.0668518
messageid: <1203627063.98.0.9149097091.issue2128@psf.upfronthosting.co.za>
2008-02-21 20:50:58loewislinkissue2128 messages
2008-02-21 20:50:57loewiscreate