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

Christian Heimes report at bugs.python.org
Thu Dec 20 07:13:57 CET 2007


Christian Heimes added the comment:

I proposed to the maintainer that he should change one line to 

    dpkg -L python2.5 | sed -n '/\.py$/p'

In the mean time you can easily fix the issue with:

sudo find /usr/lib/python2.5 -name '*.py[co]' -delete
sudo python2.5 /usr/lib/python2.5/compileall.py /usr/lib/python2.5/
sudo python2.5 -O /usr/lib/python2.5/compileall.py /usr/lib/python2.5/

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


More information about the Python-bugs-list mailing list