[issue5759] __float__ not called by 'float' on classes derived from str
R. David Murray
report at bugs.python.org
Wed Apr 15 17:26:13 CEST 2009
R. David Murray <rdmurray at bitdance.com> 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__ not called by 'float' on classes derived from str
type: -> behavior
versions: +Python 2.6, Python 2.7, Python 3.0, Python 3.1 -Python 2.5
Added file: http://bugs.python.org/file13690/issue5759-trunk-test.patch
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue5759>
_______________________________________
More information about the Python-bugs-list
mailing list