Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: On Fri, May 30, 2008 at 1:47 PM, Antoine Pitrou <[EMAIL PROTECTED]> wrote: .. > 2. if two numbers (one integer and one float) are equal, it sounds > expectable that calling a function on them will produce similar output > (or fail). .. While getting something like > '0b11.001001000011111101101010100010001000010110100011' while you were > waiting for '0b11' is disturbing.
I fail to see how the proposed bin(..) can produce '0b11.00100..' from a float that compares equal to 3. _______________________________________ 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