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 mark.dickinson
Recipients mark.dickinson, rhettinger, serhiy.storchaka, tim.peters
Date 2015-04-26.17:26:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430069198.06.0.283207213115.issue24059@psf.upfronthosting.co.za>
In-reply-to
Content
Gah!  Peephole optimizer!  When you do a timeit for '3.14 ** 0.5', you're just evaluating the time to retrieve a constant!

In general, `**` is going to be both slower *and* less accurate than math.sqrt.  Please don't make this change!
History
Date User Action Args
2015-04-26 17:26:38mark.dickinsonsetrecipients: + mark.dickinson, tim.peters, rhettinger, serhiy.storchaka
2015-04-26 17:26:38mark.dickinsonsetmessageid: <1430069198.06.0.283207213115.issue24059@psf.upfronthosting.co.za>
2015-04-26 17:26:38mark.dickinsonlinkissue24059 messages
2015-04-26 17:26:38mark.dickinsoncreate