[issue10342] trace module cannot produce coverage reports for zipped modules

Terry J. Reedy report at bugs.python.org
Fri Nov 12 21:08:00 CET 2010

Terry J. Reedy <tjreedy at udel.edu> added the comment:

>Line iterator does not carry the information about source encoding
which may be important for annotating the source code.

I would pass around both encoding and lines, possibly as a tuple.

A person heavily into OO might define a _Source class and turn the private functions into methods. But that would not play well with the deprecation process until it is done with.


Python tracker <report at bugs.python.org>

More information about the Python-bugs-list mailing list