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 r.david.murray
Recipients Claudiu.Popa, r.david.murray
Date 2012-04-06.01:25:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1333675543.42.0.0206404091828.issue14508@psf.upfronthosting.co.za>
In-reply-to
Content
I'm getting 'malformed patch at line 30' when I try to apply your patch.

Also, while it's not wrong, I don't think there's much point in catching the NameError and doing a fail.  The second Exception clause is definitely wrong, though, we don't want other errors to pass silently.   So I think the test should just do the call to gprof.main, with a comment mentioning this bug and saying that the call used to raise a NameError. (If it does fail for some other reason, then the test will need to get a little more complicated so that it doesn't.)
History
Date User Action Args
2012-04-06 01:25:43r.david.murraysetrecipients: + r.david.murray, Claudiu.Popa
2012-04-06 01:25:43r.david.murraysetmessageid: <1333675543.42.0.0206404091828.issue14508@psf.upfronthosting.co.za>
2012-04-06 01:25:42r.david.murraylinkissue14508 messages
2012-04-06 01:25:42r.david.murraycreate