[issue3008] Let bin() show floats

Antoine Pitrou report at bugs.python.org
Fri May 30 12:35:52 CEST 2008


Antoine Pitrou <pitrou at free.fr> added the comment:

Or, if you want to educate people at all cost, the TypeError raised by
bin() when trying it on a float object could include in its message the
binary representation of the float object "for edification". :-)

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3008>
_______________________________________


More information about the Python-bugs-list mailing list