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

Alexander Belopolsky report at bugs.python.org
Mon Jun 30 03:01:11 CEST 2014


Alexander Belopolsky added the comment:

I updated the patch for 3.5.

[Brett]
> I don't quite see the point of the get_source call as it isn't returned or used.

It *is* used: it is passed to _find_strings_stream:

+        source = loader.get_source(modulename)
+        strs = _find_strings_stream(io.StringIO(source))

----------
versions: +Python 3.5 -Python 3.2
Added file: http://bugs.python.org/file35803/issue10342a.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10342>
_______________________________________


More information about the Python-bugs-list mailing list