Raymond Hettinger <[EMAIL PROTECTED]> added the comment:

Better to just build-out bin() and be done with it.

FWIW, the action on ints and floats is similar to how str() handles 
numeric inputs:
  str(3)   --> '3'
  str(3.0) --> '3.0'
  bin(3)   --> '0b11'
  bin(3.0) --> '0b11.0'

----------
assignee:  -> rhettinger

_______________________________________
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