This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pje
Recipients andreypopp, eric.araujo, exarkun, ods, pitrou, pje, r.david.murray, riffm
Date 2011-01-20.18:39:44
SpamBayes Score 0.0036449789
Marked as misclassified No
Message-id <1295548788.39.0.0946761340099.issue10935@psf.upfronthosting.co.za>
In-reply-to
Content
PyString_AsString() only "works on subclasses" if their internal representation is the same as type str.  So we can't say "subclass of str" without *also* specifying that the subclass store its contents in exactly the same way as an object of type str...  which means all we've really done is to make the specification longer and more complicated.
History
Date User Action Args
2011-01-20 18:39:48pjesetrecipients: + pje, exarkun, ods, pitrou, eric.araujo, r.david.murray, riffm, andreypopp
2011-01-20 18:39:48pjesetmessageid: <1295548788.39.0.0946761340099.issue10935@psf.upfronthosting.co.za>
2011-01-20 18:39:44pjelinkissue10935 messages
2011-01-20 18:39:44pjecreate