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.

作者 bob.ippolito
收信人
日期 2006-07-28.19:31:14
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
内容
Logged In: YES 
user_id=139309

That wasn't really intentional, but the old behavior looks a bit suspect:

$ python2.4 -c "import struct; print repr(struct.pack('>H', 1.6))"
'\x00\x01'

We could change it to check for floats and do a DeprecationWarning?
历史
日期 用户 动作 参数
2007-08-23 14:41:42admin链接issue1530559 messages
2007-08-23 14:41:42admin创建