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 serhiy.storchaka
Recipients Stephen.Tu, amaury.forgeotdarc, pitrou, serhiy.storchaka, vstinner
Date 2014-01-23.21:16:40
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390511802.27.0.634832451078.issue17671@psf.upfronthosting.co.za>
In-reply-to
Content
Python implementation raises AttributeError,

C implementations of other streams raise ValueError on uninitialized read/write. Therefore I think ValueError is more appropriate for BufferedRWPair too.

Revised patch changes exception type and message to conform with other streams, updates test for uninitialized BufferedRWPair and adds tests for other streams.
History
Date User Action Args
2014-01-23 21:16:42serhiy.storchakasetrecipients: + serhiy.storchaka, amaury.forgeotdarc, pitrou, vstinner, Stephen.Tu
2014-01-23 21:16:42serhiy.storchakasetmessageid: <1390511802.27.0.634832451078.issue17671@psf.upfronthosting.co.za>
2014-01-23 21:16:42serhiy.storchakalinkissue17671 messages
2014-01-23 21:16:41serhiy.storchakacreate