[issue26743] Unable to import random with python2.7 on power pc based machine

Raghu report at bugs.python.org
Thu Apr 14 01:43:15 EDT 2016


Raghu added the comment:

Serhiy,

root at host:~# python
Python 2.7.3 (default, Apr  3 2016, 22:31:30)
[GCC 4.8.1] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import struct
>>> struct.pack('d', 2.0)
'@\x00\x00\x00\x00\x00\x00\x00'
>>> struct.pack('d', float(2))
'@\x00\x00\x00\x00\x00\x00\x00'
>>>

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26743>
_______________________________________


More information about the Python-bugs-list mailing list