[Python-Dev] builtin round 2.7

2010-08-07 Thread Kristján Valur Jónsson
Hi there. I just hit a problem in my company, in the process of upgrading from stackless 2.5 to 2.7. Some rounding code, that was (foolishly) using %.*f string formatting to achieve floating point rounding started providing different results from before. I explained this away to QA and

Re: [Python-Dev] builtin round 2.7

2010-08-07 Thread Mark Dickinson
2010/8/7 Kristján Valur Jónsson krist...@ccpgames.com: Hi there. [...] But it appears that the builtin round() method also changed.  Whereas I see the changing of floating point representation in string formatting as not being very serious, why did the arithmetic function round() have to

Re: [Python-Dev] builtin round 2.7

2010-08-07 Thread Mark Dickinson
2010/8/7 Mark Dickinson dicki...@gmail.com: 2010/8/7 Kristján Valur Jónsson krist...@ccpgames.com: Hi there. [...] But it appears that the builtin round() method also changed.  Whereas I see the changing of floating point representation in string formatting as not being very serious, why did