[issue12889] struct.pack('d'... problem

2011-09-03 Thread Dr . Georg Ströhlein
Dr. Georg Ströhlein added the comment: Thank you, Mark, for explaining the details of how to "correctly" format the output of that command to me... Regards, Schorsch -- ___ Python tracker <http://bugs.python.o

[issue12889] struct.pack('d'... problem

2011-09-02 Thread Dr . Georg Ströhlein
Dr. Georg Ströhlein added the comment: link is here: http://carolomeetsbarolo.files.wordpress.com/2011/08/double_2_hex.pdf -- ___ Python tracker <http://bugs.python.org/issue12

[issue12889] struct.pack('d'... problem

2011-09-02 Thread Dr . Georg Ströhlein
New submission from Dr. Georg Ströhlein : Hi all, I think there is a long-standing bug (it has made it into books on Google...) in the struct.pack() function, at least if the 'd' format string is selected. On both Win and Ubuntu the string returned for pack('!d',1.2345