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 schmir
Recipients pitrou, schmir
Date 2008-04-16.16:26:16
SpamBayes Score 0.23282887
Marked as misclassified No
Message-id <1208363179.24.0.586088290861.issue2122@psf.upfronthosting.co.za>
In-reply-to
Content
I thought about this too, but I don't know of a way to provoke an error.
(Other than passing in illegal values, but the code tries to catch
those. And btw, raises an Exception on windows :)

One could currently pass in a negative value for size (this isn't caught
in the checks). e.g.

m.flush(500, -500) gives an 'error: [Errno 22] Invalid argument' on linux.

but then you don't want to rely on another bug for testing purposes.
History
Date User Action Args
2008-04-16 16:26:19schmirsetspambayes_score: 0.232829 -> 0.23282887
recipients: + schmir, pitrou
2008-04-16 16:26:19schmirsetspambayes_score: 0.232829 -> 0.232829
messageid: <1208363179.24.0.586088290861.issue2122@psf.upfronthosting.co.za>
2008-04-16 16:26:17schmirlinkissue2122 messages
2008-04-16 16:26:16schmircreate