On Sep 7, 4:58 am, casevh <cas...@gmail.com> wrote:
> IIRC, Python
> 3.2 changed (for floats) __str__ to call __repr__.

Yes, exactly:  str and repr of a float are identical in Python 3.2 +

I'm also puzzled by the

2.7.2 (default, Jun 12 2011, 15:08:59) [MSC v.1500 32 bit (Intel)]
[...]
>>> 1.1 * 1.1
1.21

in jmf's message.  Cut-and-paste typo?

--
Mark
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to