Message2639

Author dobbs
Recipients
Date 2007-02-04.03:57:44
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
pydoc.Helper.__init__ throws an exception in the following call:
os.path.dirname(sys.executable)

dirname is implemented in javapath.py and expects a string sys.executable is implemented in PySystemState.java and is Py.None

python-dev had a discussion about sys.executable last March: http://mail.python.org/pipermail/python-dev/2006-March/062458.html Guido specifically mentioned embedded python as an example where sys.executable probably should return None, and by similar logic I think None is the right answer for jython too.
History
Date User Action Args
2008-02-20 17:18:39adminlinkissue1651583 messages
2008-02-20 17:18:39admincreate