This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author eli.bendersky
Recipients belopolsky, eli.bendersky, ijmorlan, zooko
Date 2010-12-04.08:33:56
SpamBayes Score 5.662994e-07
Marked as misclassified No
Message-id <1291451642.88.0.784916842776.issue766910@psf.upfronthosting.co.za>
In-reply-to
Content
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?
History
Date User Action Args
2010-12-04 08:34:02eli.benderskysetrecipients: + eli.bendersky, zooko, belopolsky, ijmorlan
2010-12-04 08:34:02eli.benderskysetmessageid: <1291451642.88.0.784916842776.issue766910@psf.upfronthosting.co.za>
2010-12-04 08:33:56eli.benderskylinkissue766910 messages
2010-12-04 08:33:56eli.benderskycreate