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 mark.dickinson
Recipients anacrolix, mark.dickinson, meador.inge
Date 2011-02-19.19:07:51
SpamBayes Score 4.1241732e-11
Marked as misclassified No
Message-id <1298142472.54.0.0581386664288.issue8300@psf.upfronthosting.co.za>
In-reply-to
Content
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]
History
Date User Action Args
2011-02-19 19:07:52mark.dickinsonsetrecipients: + mark.dickinson, meador.inge, anacrolix
2011-02-19 19:07:52mark.dickinsonsetmessageid: <1298142472.54.0.0581386664288.issue8300@psf.upfronthosting.co.za>
2011-02-19 19:07:51mark.dickinsonlinkissue8300 messages
2011-02-19 19:07:51mark.dickinsoncreate