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 schmir
Date 2008-03-10.08:19:21
SpamBayes Score 0.177561
Marked as misclassified No
Message-id <1205137164.78.0.083981716581.issue2122@psf.upfronthosting.co.za>
In-reply-to
Content
attached is a patch. I hope it is ok to change the semantics a bit. 
They were very strange:
- on unix it raises an exception on errors. otherwise it always returns 0.
- on windows it returns non-zero on success, and returns zero on errors.

Now, flush returns None or raises an Exception.
History
Date User Action Args
2008-03-10 08:19:25schmirsetspambayes_score: 0.177561 -> 0.177561
recipients: + schmir
2008-03-10 08:19:24schmirsetspambayes_score: 0.177561 -> 0.177561
messageid: <1205137164.78.0.083981716581.issue2122@psf.upfronthosting.co.za>
2008-03-10 08:19:23schmirlinkissue2122 messages
2008-03-10 08:19:23schmircreate