[issue2149] Queue.maxsize, __init__() accepts any value as maxsize

Benjamin Peterson report at bugs.python.org
Sat Feb 23 17:28:09 CET 2008


Benjamin Peterson added the comment:

Many places in the stdlib accept values which are not valid. I believe
this is because the library trusts you to do the right thing in the name
of performance and cleaner, simpler code. IMO, adding a set_maxsize
method wouldn't be a sin, but Raymond (who is I'm sure wiser than me)
disagrees.

__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2149>
__________________________________


More information about the Python-bugs-list mailing list