Author mark.dickinson
Recipients andreas.schawo, mark.dickinson
Date 2009-04-19.15:30:18
SpamBayes Score 4.99888e-08
Marked as misclassified No
Message-id <>
Hmm.  In 3.0 and 2.7, I get:

>>> from struct import pack
>>> pack('L', 123.0)
sys:1: DeprecationWarning: integer argument expected, got float

So it looks like we already changed py3k to get rid of the 

I think the idea was that eventually *only* integers would be accepted 
for the integer format codes.  So pack('L', 123.0) should ideally raise 
TypeError.  If we're not going to do that, we should at least put the 
DeprecationWarning back in, but it seems better to actually go ahead 
with the deprecation.
Date User Action Args
2009-04-19 15:30:20mark.dickinsonsetrecipients: + mark.dickinson, andreas.schawo
2009-04-19 15:30:20mark.dickinsonsetmessageid: <>
2009-04-19 15:30:18mark.dickinsonlinkissue5463 messages
2009-04-19 15:30:18mark.dickinsoncreate