]> granicus.if.org Git - python/commit
Fix #1530559, struct.pack raises TypeError where it used to convert.
authorBob Ippolito <bob@redivi.com>
Fri, 4 Aug 2006 23:59:21 +0000 (23:59 +0000)
committerBob Ippolito <bob@redivi.com>
Fri, 4 Aug 2006 23:59:21 +0000 (23:59 +0000)
commite6c9f982a057208e15f884384ba389778b8518c0
tree30907d666af6d74e7ceeb5bfece863fa413adddb
parentb1ccc4d4092dfebf5117e21dee2d1a99b4827537
Fix #1530559, struct.pack raises TypeError where it used to convert.
Passing float arguments to struct.pack when integers are expected
now triggers a DeprecationWarning.
Lib/test/test_struct.py
Misc/NEWS
Modules/_struct.c