[Python-Dev] Accessing source code in zipped packages

Nick Coghlan ncoghlan at gmail.com
Wed Dec 3 21:34:56 CET 2008

Georg Brandl wrote:
> 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.

I've assigned all 3 of those to myself, since I've been meaning to look
at some zipimport related stuff anyway (the things I'm looking at are
2.7/3.1 related though, so I was waiting for the 3.0 release to be cut

We already missed the 2.6.1 deadline though.


Nick Coghlan   |   ncoghlan at gmail.com   |   Brisbane, Australia

More information about the Python-Dev mailing list