[issue10935] wsgiref.handlers.BaseHandler and subclasses of str
report at bugs.python.org
Wed Jan 19 18:12:26 CET 2011
Andrey Popp <8mayday at gmail.com> added the comment:
> the spec says "an object of type str" he means 'type(x) is str' as opposed to 'isinstance(x, str)'
-1 Liskov substitution principle states, that every subtype S of type T can be used whenever type T is used.
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list