On Tue, Jan 17, 2006, Guido van Rossum wrote:
On 1/17/06, Bob Ippolito bob@redivi.com wrote:
The difference between hex() and oct() and the proposed binary() is
I'd propose bin() to stay in line with the short abbreviated names.
There has been some previous discussion about removing hex()/oct() from builtins for Python 3.0, IIRC. I sure don't think bin() belongs there.
The binary type should have a 0b prefix.
-0 on adding a new prefix; +1 on this syntax if we do.