[issue10935] wsgiref.handlers.BaseHandler and subclasses of str
Antoine Pitrou
report at bugs.python.org
Thu Jan 20 14:16:56 CET 2011
Antoine Pitrou <pitrou at free.fr> added the comment:
> Jean-Paul Calderone <invalid at example.invalid> added the comment:
>
> > Phillip, your argument about interfacing with code written in C
> doesn't work for built-in immutable types like str.
>
> Sure it does. Definitely-str is easier to handle in C than
> maybe-str-subclass.
Well, PyString_AsString() works on subclasses as well as on str itself.
I'm not sure what operations you're thinking about here.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue10935>
_______________________________________
More information about the Python-bugs-list
mailing list