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 belopolsky
Recipients belopolsky, eli.bendersky, terry.reedy
Date 2010-07-21.03:24:58
SpamBayes Score 2.6209268e-06
Marked as misclassified No
Message-id <1279682700.82.0.390126983452.issue9317@psf.upfronthosting.co.za>
In-reply-to
Content
Does the trace module even work in 3.x?

I created attached trivial traceme.py file.

With python 2.7, I get 
$ python2 -m trace  -c -s traceme.py
lines   cov%   module   (path)
    1   100%   threading   (Lib/threading.py)
    6   100%   traceme   (traceme.py)

The first entry is clearly spurious, but traceme looks right.  With py3k, however, I get

$ python3 -m trace  -c -s traceme.py
lines   cov%   module   (path)
    1   100%   threading   (Lib/threading.py)

No traceme line at all.
History
Date User Action Args
2010-07-21 03:25:00belopolskysetrecipients: + belopolsky, terry.reedy, eli.bendersky
2010-07-21 03:25:00belopolskysetmessageid: <1279682700.82.0.390126983452.issue9317@psf.upfronthosting.co.za>
2010-07-21 03:24:59belopolskylinkissue9317 messages
2010-07-21 03:24:59belopolskycreate