Raymond Hettinger added the comment: This is probably a matter of style. For the most part, library code avoids isinstance() checks and lets the errors surface downstream.
If a check gets added, we should probably also check that the value is non-negative. The checks should not be backported because it could break Queue subclasses that rely on being able to pass in a non-int value (like None or like a dynamic object that allows the maxsize to be increased during the run). I'm unclear why this got classified as a security issue rather than just an RFE for Py2.6. ---------- nosy: +rhettinger priority: -> low versions: +Python 2.6 -Python 2.4, Python 2.5 __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue2149> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com