From: SourceForge.net <no...@so...> - 2007-02-04 03:57:45
|
Patches item #1651583, was opened at 2007-02-03 20:57 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1651583&group_id=12867 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Eric Dobbs (dobbs) Assigned to: Nobody/Anonymous (nobody) Summary: bug in pydoc.py -- test for None in sys.executable Initial Comment: 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. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=312867&aid=1651583&group_id=12867 |