[issue10935] wsgiref.handlers.BaseHandler and subclasses of str

Denis S. Otkidach report at bugs.python.org
Thu Jan 20 10:51:04 CET 2011


Denis S. Otkidach <denis.otkidach at gmail.com> added the comment:

Phillip, your argument about interfacing with code written in C doesn't work for built-in immutable types like str. Any subclass of str must call str.__new__ thus keeping proper internal state.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10935>
_______________________________________


More information about the Python-bugs-list mailing list