Eli Bendersky <[email protected]> added the comment:
Alexander,
I reviewed the patch and ported the changes to the newest sources (since the
fix to issue 9299, os.makedirs can be naturally used with its new flag to fix
the bug Zooko refers to).
However, while experimenting, I think I ran into much larger problems. Either
that or I've forgotten how to use the module :-) Attaching two files (one
imports the other) on which I try to run the following:
python -m trace -c trace_target.py
>> OK: I get trace_target.cover & traced_module.cover created
However, now running:
python -m trace -r --file=trace_target.cover
>> ...
pickle.load(open(self.infile, 'rb'))
_pickle.UnpicklingError: invalid load key, ' '.
Also, trying to provide --file to -c:
python -m trace -c trace_target.py --file=xyz.cover
>> xyz.cover is ignored and the same two .cover files are created.
Can you take a look at this?
----------
Added file: http://bugs.python.org/file19933/trace_target.py
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue766910>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com