[issue10935] wsgiref.handlers.BaseHandler and subclasses of str
Andrey Popp <8may...@gmail.com> added the comment: I've also sent message[1] to web-sig about this issue. [1]: http://mail.python.org/pipermail/web-sig/2011-January/004986.html -- ___ Python tracker <http://bugs.python.
[issue10935] wsgiref.handlers.BaseHandler and subclasses of str
Andrey Popp <8may...@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 typ