[issue10935] wsgiref.handlers.BaseHandler and subclasses of str
R. David Murray
report at bugs.python.org
Tue Jan 18 20:53:14 CET 2011
R. David Murray <rdmurray at bitdance.com> added the comment:
OK. So he is saying that when the spec says "an object of type str" he means 'type(x) is str' as opposed to 'isinstance(x, str)'. I would naively have expected the latter, as other people clearly do as well. I didn't participate in any of the discussions that led to this decision, so I won't pursue it further, but it does break the expectation that many people have about how python programs work, so I expect we'll be seeing this bug report again sometime :)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10935>
_______________________________________
More information about the Python-bugs-list
mailing list