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 rhettinger
Recipients Serge Anuchin, mark.dickinson, pitrou, r.david.murray, rhettinger, serhiy.storchaka, skrah, steven.daprano, tim.peters, vstinner
Date 2018-06-25.01:26:03
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529889966.88.0.56676864532.issue24567@psf.upfronthosting.co.za>
In-reply-to
Content
Attaching a patch for 3.6 and 3.7.  Haven't had a chance to run timings yet.  Since it involves adding code to the inner loop, presumably it will have a noticeable affect on speed.  Am not sure how to test this (I don't seem to be able to reproduce the OP's problem on any system I have access to).  I'm not even sure whether the double rounding still exists any extant platform and if so whether we could just turn it off as part of the configuration.

At any rate, I don't think the code in 2.7 should change at all.  That tool is almost at end-of-life and we should be very conservative with it at this point.
History
Date User Action Args
2018-06-25 01:26:07rhettingersetrecipients: + rhettinger, tim.peters, mark.dickinson, pitrou, vstinner, steven.daprano, r.david.murray, skrah, serhiy.storchaka, Serge Anuchin
2018-06-25 01:26:06rhettingersetmessageid: <1529889966.88.0.56676864532.issue24567@psf.upfronthosting.co.za>
2018-06-25 01:26:06rhettingerlinkissue24567 messages
2018-06-25 01:26:05rhettingercreate