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 thekorn
Recipients thekorn
Date 2007-12-19.23:02:12
SpamBayes Score 0.018345067
Marked as misclassified No
Message-id <1198105333.07.0.814812226463.issue1665@psf.upfronthosting.co.za>
In-reply-to
Content
re.match.func_code.co_filename returns "re.py"
I expect something like "/usr/lib/python2.5/re.py"

This causes issues in the "inspect"-module like:
>>> inspect.getabsfile(re.match)
>>> '<current-dir>/re.py'

Sorry, this is my first python-bugreport, please ping me if you need any
further details.

Markus
History
Date User Action Args
2007-12-19 23:02:13thekornsetspambayes_score: 0.0183451 -> 0.018345067
recipients: + thekorn
2007-12-19 23:02:13thekornsetspambayes_score: 0.0183451 -> 0.0183451
messageid: <1198105333.07.0.814812226463.issue1665@psf.upfronthosting.co.za>
2007-12-19 23:02:13thekornlinkissue1665 messages
2007-12-19 23:02:12thekorncreate