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 fer_perez
Recipients
Date 2007-02-23.16:57:22
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Note: a colleague just tested this under Python 2.4 for Mac OSX (intel), and the problem didn't show up there:

import inspect
print 'File for `code`         :',inspect.getabsfile(code)
print 'File for `code.interact`:',inspect.getabsfile(code.interact)

Gives:

File for `code`         :
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/code.py
File for `code.interact`:
/Library/Frameworks/Python.framework/Versions/2.4/lib/python2.4/code.py

My original tests were done under Ubuntu Edgy Eft, using the Ubuntu-provided 2.4 and 2.5, and a hand-compiled 2.3.6 from the source download at python.org.

HTH,

f
History
Date User Action Args
2007-08-23 14:52:02adminlinkissue1666807 messages
2007-08-23 14:52:02admincreate