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 tleeuwenburg@gmail.com
Recipients tleeuwenburg@gmail.com
Date 2011-03-30.10:08:11
SpamBayes Score 1.736324e-09
Marked as misclassified No
Message-id <1301479692.05.0.122365414957.issue11720@psf.upfronthosting.co.za>
In-reply-to
Content
I am happy to come up with a minimal test for this if that would help, but repeating the problem is not hard. Take a Python2.7 interpreter, install the decorator module from PyPi, and also the code at https://bitbucket.org/tleeuwenburg/benchmarker.py/. Running test_benchmarker.py will cause the problem.

Exception TypeError: "'str' object is not callable" in '/tmp/benchlog/2011/30/2011_03_30_09_41.pstats' ignored

I've tracked this message down and it's likely being writted to stdout by errors.c, where unraisable exceptions are handled.

Using hotshot, and otherwise the same code, the error does not occur. Diagnosing the true cause of this issue is probably beyond me, but I'm more than happy to try to come up with a more minimal example or help any way I can.
History
Date User Action Args
2011-03-30 10:08:12tleeuwenburg@gmail.comsetrecipients: + tleeuwenburg@gmail.com
2011-03-30 10:08:12tleeuwenburg@gmail.comsetmessageid: <1301479692.05.0.122365414957.issue11720@psf.upfronthosting.co.za>
2011-03-30 10:08:11tleeuwenburg@gmail.comlinkissue11720 messages
2011-03-30 10:08:11tleeuwenburg@gmail.comcreate