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 socketpair
Recipients gvanrossum, socketpair, vstinner, yselivanov
Date 2015-11-12.19:11:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447355475.79.0.931064144901.issue25608@psf.upfronthosting.co.za>
In-reply-to
Content
ascynio readexactly() should raise ValueError if passed length <= 0 in argument.

Now, it return empty string, which is just error hiding. Why not to raise ValueError ? 

Returning empty string is error prone. This behaviour was not changed since initial commit of asyncio, so probably was not done intentionally.
History
Date User Action Args
2015-11-12 19:11:15socketpairsetrecipients: + socketpair, gvanrossum, vstinner, yselivanov
2015-11-12 19:11:15socketpairsetmessageid: <1447355475.79.0.931064144901.issue25608@psf.upfronthosting.co.za>
2015-11-12 19:11:15socketpairlinkissue25608 messages
2015-11-12 19:11:15socketpaircreate