[New-bugs-announce] [issue25608] ascynio readexactly() should raise ValueError if passed length <= 0 in argument
Марк Коренберг
report at bugs.python.org
Thu Nov 12 14:11:15 EST 2015
New submission from Марк Коренберг:
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.
----------
components: asyncio
messages: 254545
nosy: gvanrossum, haypo, mmarkk, yselivanov
priority: normal
severity: normal
status: open
title: ascynio readexactly() should raise ValueError if passed length <= 0 in argument
type: behavior
versions: Python 3.5
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue25608>
_______________________________________
More information about the New-bugs-announce
mailing list