PEP8 79 char max
Skip Montanaro
skip at pobox.com
Wed Jul 31 14:05:04 EDT 2013
=> Works great until one of the values changes in size.
Slightly off-topic, but still sort of related (talking about the size
of things), I started picking 1e+30 as my "really big" some time back
because the repr of 1e+99 required more than a glance when it appeared
in printed output:
>>> repr(1e+30)
'1e+30'
>>> repr(1e+99)
'9.9999999999999997e+98'
This problem was fixed in 2.7 (and presumably in 3.something as well),
but it used to be a problem. :-)
Skip
More information about the Python-list
mailing list