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 andreas.schawo, mark.dickinson
Date 2009-03-27.13:47:36
SpamBayes Score 5.2937944e-06
Marked as misclassified No
Message-id <1238161658.9.0.621534209637.issue5463@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the patch.  A couple of questions and comments:

(1) at line 300-ish of test_struct, should (struct.error, TypeError) be 
(struct.error, OverflowError)?  I don't think out-of-range values should 
be raising TypeError.  If they are, perhaps we should change that.

(2) It looks like the deprecated_err function isn't needed any more 
(yay!);  let's remove it.

(3) I'd prefer to keep the test_1229380 bit, but just replace the 
deprecated_err with an assertRaises, just like you already did further 
up.  As far as I can see those tests aren't entirely duplicated by 
others, and one can never have too many tests...
History
Date User Action Args
2009-03-27 13:47:39mark.dickinsonsetrecipients: + mark.dickinson, andreas.schawo
2009-03-27 13:47:38mark.dickinsonsetmessageid: <1238161658.9.0.621534209637.issue5463@psf.upfronthosting.co.za>
2009-03-27 13:47:37mark.dickinsonlinkissue5463 messages
2009-03-27 13:47:36mark.dickinsoncreate