Mark Dickinson <[EMAIL PROTECTED]> added the comment:

The patch looks good to me.

It's a bit unfortunate that -0.0 doesn't round-trip correctly (the sign 
of the zero gets lost):

>>> eval(bin(-0.0))
0.0

I don't know whether it's worth special-casing this;  the output would 
have to be in a different format:  '-0b0 * 2.0 ** 0' isn't good enough, 
since unary minus has higher precedence than multiplication.

----------
nosy: +marketdickinson

_______________________________________
Python tracker <[EMAIL PROTECTED]>
<http://bugs.python.org/issue3008>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to