This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author mark.dickinson
Recipients mark.dickinson, rhettinger
Date 2008-06-24.08:55:45
SpamBayes Score 0.1276805
Marked as misclassified No
Message-id <1214297748.38.0.171793356702.issue3186@psf.upfronthosting.co.za>
In-reply-to
Content
In Python 2.6, for a long n, hex(n) and oct(n) have a trailing 'L', while 
bin(n) does not:

>>> hex(1L)
'0x1L'
>>> oct(1L)
'01L'
>>> bin(1L)
'0b1'

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.
History
Date User Action Args
2008-06-24 08:55:48mark.dickinsonsetspambayes_score: 0.12768 -> 0.1276805
recipients: + mark.dickinson, rhettinger
2008-06-24 08:55:48mark.dickinsonsetspambayes_score: 0.12768 -> 0.12768
messageid: <1214297748.38.0.171793356702.issue3186@psf.upfronthosting.co.za>
2008-06-24 08:55:47mark.dickinsonlinkissue3186 messages
2008-06-24 08:55:46mark.dickinsoncreate