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 Padmanabhan.Tr
Recipients Padmanabhan.Tr
Date 2015-07-02.16:08:07
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1435853287.91.0.814348198879.issue24551@psf.upfronthosting.co.za>
In-reply-to
Content
I have copied below an execution sequence. What is the problem?

>>> x = 8240
>>> x.to_bytes(4,byteorder='big')
b'\x00\x00 0'
>>> int.from_bytes(b'\x00\x00 0',byteorder='big')
8240
>>> int.from_bytes(b'\x20\x30',byteorder='big')
8240
>>>
History
Date User Action Args
2015-07-02 16:08:07Padmanabhan.Trsetrecipients: + Padmanabhan.Tr
2015-07-02 16:08:07Padmanabhan.Trsetmessageid: <1435853287.91.0.814348198879.issue24551@psf.upfronthosting.co.za>
2015-07-02 16:08:07Padmanabhan.Trlinkissue24551 messages
2015-07-02 16:08:07Padmanabhan.Trcreate