On 10/11/2016 06:30 PM, Skip Montanaro wrote:
https://docs.python.org/3/whatsnew/3.1.htmlIt's the third hit when searching for 'float'. Assuming I understand what it's saying. ;)Thanks. Is that the "David Gay's algorithm"? That seems to apply only to repr(), while the change I observed was in str().
But if __str__ is not defined, __repr__ is used. And I believe that is the case with float. Too lazy to check, though. ;) -- ~Ethan~ -- https://mail.python.org/mailman/listinfo/python-list