Message128877
Because (arguably) we don't want to be able to pack non-integral floats (or Decimal instances, or ...) using integer formats:
>>> import struct
[56090 refs]
>>> struct.pack('L', 2.3)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
struct.error: required argument is not an integer
[56125 refs] |
|
Date |
User |
Action |
Args |
2011-02-19 19:07:52 | mark.dickinson | set | recipients:
+ mark.dickinson, meador.inge, anacrolix |
2011-02-19 19:07:52 | mark.dickinson | set | messageid: <1298142472.54.0.0581386664288.issue8300@psf.upfronthosting.co.za> |
2011-02-19 19:07:51 | mark.dickinson | link | issue8300 messages |
2011-02-19 19:07:51 | mark.dickinson | create | |
|