[New-bugs-announce] [issue3186] bin(long) doesn't have a trailing 'L'
report at bugs.python.org
Tue Jun 24 10:55:48 CEST 2008
New submission from Mark Dickinson <dickinsm at gmail.com>:
In Python 2.6, for a long n, hex(n) and oct(n) have a trailing 'L', while
bin(n) does not:
I'm guessing that this is intentional, and that the only reason hex(n) and
oct(n) still have a trailing 'L' is backwards compatibility, but I thought
I'd better check.
nosy: marketdickinson, rhettinger
title: bin(long) doesn't have a trailing 'L'
versions: Python 2.6
Python tracker <report at bugs.python.org>
More information about the New-bugs-announce