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 serhiy.storchaka
Recipients Ramchandra Apte, docs@python, icedream91, jonathan.ferretti, python-dev, r.david.murray, rhettinger, serhiy.storchaka
Date 2014-12-31.18:16:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1420049817.97.0.767900423885.issue18518@psf.upfronthosting.co.za>
In-reply-to
Content
May be add a guard against statements which can confuse timeit? These are not only "return", but "yield", and "break" and "continue" outside of a loop. Proposed patch checks that testing code can be compiled outside of a function.
History
Date User Action Args
2014-12-31 18:16:58serhiy.storchakasetrecipients: + serhiy.storchaka, rhettinger, r.david.murray, docs@python, python-dev, Ramchandra Apte, icedream91, jonathan.ferretti
2014-12-31 18:16:57serhiy.storchakasetmessageid: <1420049817.97.0.767900423885.issue18518@psf.upfronthosting.co.za>
2014-12-31 18:16:57serhiy.storchakalinkissue18518 messages
2014-12-31 18:16:57serhiy.storchakacreate