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 skrah
Recipients ajaksu2, akuchling, belopolsky, benjamin.peterson, brett.cannon, georg.brandl, kristjan.jonsson, loewis, meador.inge, skrah, vstinner
Date 2012-03-26.10:51:45
SpamBayes Score 0.0024939857
Marked as misclassified No
Message-id <1332759106.22.0.223408141738.issue3367@psf.upfronthosting.co.za>
In-reply-to
Content
> 3) line 1812 assumes n to be equal to the length of arg0, but depending >    on conditional compilation, it may not get set at all, and in any    >    case in line line 1805 it gets set only if p is not NULL.

n is initialized to 0 when its declared. I think it's deliberate
to call a = PyUnicode_FromWideChar(argv0, 0) in order to insert
an empty path.
History
Date User Action Args
2012-03-26 10:51:46skrahsetrecipients: + skrah, loewis, akuchling, brett.cannon, georg.brandl, belopolsky, kristjan.jonsson, vstinner, ajaksu2, benjamin.peterson, meador.inge
2012-03-26 10:51:46skrahsetmessageid: <1332759106.22.0.223408141738.issue3367@psf.upfronthosting.co.za>
2012-03-26 10:51:45skrahlinkissue3367 messages
2012-03-26 10:51:45skrahcreate