[Python-Dev] Accessing source code in zipped packages
Georg Brandl
g.brandl at gmx.net
Wed Dec 3 07:52:02 CET 2008
Alexander Belopolsky schrieb:
> 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__.
There is also http://bugs.python.org/issue4223 which goes in the same
direction.
Georg
More information about the Python-Dev
mailing list