[issue3008] Let bin() show floats
Alexandre Vassalotti
report at bugs.python.org
Fri Jun 6 01:37:07 CEST 2008
Alexandre Vassalotti <alexandre at peadrop.com> added the comment:
Kind of a cool hack. I am not sure how useful it is though. Personally,
I find ``struct.pack('d', f)`` slightly more educative (more useful
too), but that is just me.
And if you allow bin() to accept floats, will you make Python accept
binary float literals too?
----------
nosy: +alexandre.vassalotti
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3008>
_______________________________________
More information about the Python-bugs-list
mailing list