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

Benjamin Peterson report at bugs.python.org
Thu Feb 21 03:00:30 CET 2008


Benjamin Peterson added the comment:

Rafael, I agree that it's awkward, and I'm not against restricting the
maxsize to just something sane. However, I'm worried this (Raymond's
patch) will be too restrictive by not allowing dynamic changing of
maxsize. (Of course, you could just change the maxsize attribute of the
Queue, but that would require holding the mutex, too.)

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


More information about the Python-bugs-list mailing list