Message7942

Author santa4nt
Recipients santa4nt
Date 2013-03-19.15:53:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1363708392.76.0.820969456406.issue2027@psf.upfronthosting.co.za>
In-reply-to
Content
Comparing Cpython and Jython:

xxx:~/jython$ python
Python 2.7.3 (default, Aug  1 2012, 05:14:39) 
[GCC 4.6.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> '{:#b}'.format(-16)
'-0b10000'
>>> bin(-16)
'-0b10000'
>>>

 
xxx:~/jython$ ./dist/bin/jython
Jython 2.7b1+ (default:bbd6c6d64b52, Mar 19 2013, 08:43:06) 
[Java HotSpot(TM) 64-Bit Server VM (Oracle Corporation)] on java1.7.0_17
Type "help", "copyright", "credits" or "license" for more information.
>>> '{:#b}'.format(-16)
'0b-10000'
>>> bin(-16)
'0b-10000'
>>>
History
Date User Action Args
2013-03-19 15:53:12santa4ntsetrecipients: + santa4nt
2013-03-19 15:53:12santa4ntsetmessageid: <1363708392.76.0.820969456406.issue2027@psf.upfronthosting.co.za>
2013-03-19 15:53:12santa4ntlinkissue2027 messages
2013-03-19 15:53:12santa4ntcreate