[Python-Dev] Accessing source code in zipped packages

Alexander Belopolsky alexander.belopolsky at gmail.com
Wed Dec 3 04:44:43 CET 2008


About a month ago, I submitted two patches that address Pdb and
doctest inability to load source code from modules with custom loaders
such as modules loaded from zip files:

http://bugs.python.org/issue4201
http://bugs.python.org/issue4197

The patches are very simple, basically calls to linecache.getline()
need to be provided with the module's dict to enable linecache to find
the module's __loader__.

Is there a chance that these patches could make it to 2.6.1?


More information about the Python-Dev mailing list