Stefan Krah <stefan-use...@bytereef.org> added the comment: > 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. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue3367> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com