Message8014

Author normanshelley
Recipients normanshelley
Date 2013-05-15.05:44:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1368596647.2.0.486752316039.issue2051@psf.upfronthosting.co.za>
In-reply-to
Content
$ ~/bin/jython2.7b1/bin/jython
Jython 2.7b1 (default:ac42d59644e9, Feb 9 2013, 15:24:52) 
[OpenJDK 64-Bit Server VM (Sun Microsystems Inc.)] on java1.6.0_24
Type "help", "copyright", "credits" or "license" for more information.
>>> a = 1234e38
>>> a.hex()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: hex() takes 2 arguments (0 given)


$ 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.
>>> a = 1234e38
>>> a.hex()
'0x1.6aa3d783845dap+136'
>>>
History
Date User Action Args
2013-05-15 05:44:07normanshelleysetrecipients: + normanshelley
2013-05-15 05:44:07normanshelleysetmessageid: <1368596647.2.0.486752316039.issue2051@psf.upfronthosting.co.za>
2013-05-15 05:44:07normanshelleylinkissue2051 messages
2013-05-15 05:44:06normanshelleycreate