[issue1665] re.match.func_code.co_filename returns "re.py"
thekorn
report at bugs.python.org
Thu Dec 20 00:02:13 CET 2007
New submission from thekorn:
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
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1665>
__________________________________
More information about the Python-bugs-list
mailing list