Author thoger
Recipients akr, barry, benjamin.peterson, glyph, gregory.p.smith, iankko, loewis, pitrou, psss, thoger
Date 2009-07-13.10:26:18
SpamBayes Score 3.33299e-07
Marked as misclassified No
Message-id <1247480781.92.0.954708331812.issue5753@psf.upfronthosting.co.za>
In-reply-to
Content
Additional API has one disadvantage - it requires a modification of all
affected applications embedding python, which is not likely to happen
soon after the API is introduced.

Therefore, it may still be worth reviewing current behaviour (that
seemed to have had no documentation until recently, see issue #5144, and
can probably still benefit from more warnings related to the embedded
use) in this corner case (argv0 is bogus and contains no '/') to see if
it may be worth changing in future python versions.

As for command line flags, I presume you're referring to the
'wcscmp(argv0, L"-c")' part of the patch.  It's not more than a re-use
of the pattern already used couple of times in the PySys_SetArgv, that
got added via:

http://svn.python.org/view?view=rev&revision=39544

Again, it's an attempt to make sure this only changes behaviour in
rather specific case.
History
Date User Action Args
2009-07-13 10:26:22thogersetrecipients: + thoger, loewis, barry, gregory.p.smith, pitrou, benjamin.peterson, glyph, psss, iankko, akr
2009-07-13 10:26:21thogersetmessageid: <1247480781.92.0.954708331812.issue5753@psf.upfronthosting.co.za>
2009-07-13 10:26:20thogerlinkissue5753 messages
2009-07-13 10:26:18thogercreate