[issue1665] re.match.func_code.co_filename returns "re.py"

Guido van Rossum report at bugs.python.org
Thu Dec 20 00:05:51 CET 2007


Guido van Rossum added the comment:

I can't reproduce this.

How did you install Python?

Python 2.5.2a0 (release25-maint, Nov 27 2007, 14:00:00) 
[GCC 4.0.3 (Ubuntu 4.0.3-1ubuntu5)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import re
>>> re.match.func_code.co_filename
'/usr/local/lib/python2.5/re.py'
>>>

----------
nosy: +gvanrossum

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue1665>
__________________________________


More information about the Python-bugs-list mailing list