[issue5759] __float__ not called by 'float' on classes derived from str

2009-04-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the tests. Fixed in r71627. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ __

[issue5759] __float__ not called by 'float' on classes derived from str

2009-04-15 Thread R. David Murray
Changes by R. David Murray : Added file: http://bugs.python.org/file13691/issue5759-py3k-test.patch ___ Python tracker ___ ___ Python-bugs-list

[issue5759] __float__ not called by 'float' on classes derived from str

2009-04-15 Thread R. David Murray
R. David Murray added the comment: I have confirmed this in trunk and py3k, unit tests attached. -- components: +Interpreter Core -None keywords: +patch nosy: +r.david.murray priority: -> normal stage: -> needs patch title: Do not call __float__ to classes derived from str -> __float_