This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ronaldoussoren
Recipients ned.deily, ronaldoussoren, vinay.sajip
Date 2012-07-12.13:50:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1342101011.39.0.776604439246.issue15307@psf.upfronthosting.co.za>
In-reply-to
Content
I've attached a new version of the patch:

* copy to tmp buffer instead of argv0_buffer (see comment by Ned)

* add include in pythonw.c to avoid compiler warning

* use _Py_char2wchar instead of blindly casting a char* to a wchar_t*


The behavior is not perfect yet, sys.executable is set to the wrong value (both with and without --symlinks).  I haven't checked yet if the value is correct without my patch.
History
Date User Action Args
2012-07-12 13:50:11ronaldoussorensetrecipients: + ronaldoussoren, vinay.sajip, ned.deily
2012-07-12 13:50:11ronaldoussorensetmessageid: <1342101011.39.0.776604439246.issue15307@psf.upfronthosting.co.za>
2012-07-12 13:50:10ronaldoussorenlinkissue15307 messages
2012-07-12 13:50:10ronaldoussorencreate