[issue21723] Float maxsize is treated as infinity in asyncio.Queue

STINNER Victor report at bugs.python.org
Wed Jun 11 18:12:32 CEST 2014


STINNER Victor added the comment:

It looks strange to use a float as maxsize. I suggest to raise a TypeError in the constructor if the type is not int, or maybe to cast maxsize parameter to an int.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21723>
_______________________________________


More information about the Python-bugs-list mailing list