Message254545
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. |
|
Date |
User |
Action |
Args |
2015-11-12 19:11:15 | socketpair | set | recipients:
+ socketpair, gvanrossum, vstinner, yselivanov |
2015-11-12 19:11:15 | socketpair | set | messageid: <1447355475.79.0.931064144901.issue25608@psf.upfronthosting.co.za> |
2015-11-12 19:11:15 | socketpair | link | issue25608 messages |
2015-11-12 19:11:15 | socketpair | create | |
|