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 Jorge.Cardona
Recipients Jorge.Cardona, loewis, rhettinger
Date 2012-11-03.18:47:42
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAFCJs57A3aH_ztDJWjn-aXkF4WbUtQ0NstkfOqRcNdQYHioKsA@mail.gmail.com>
In-reply-to <1351967638.7.0.456513290414.issue16397@psf.upfronthosting.co.za>
Content
mm, I thought that was impossible, and that I should be using UserString
actually. I didn't notice the big warning at the beginning of the section
at the docs.

Sorry, I will change my code.

Thanks.

On Sat, Nov 3, 2012 at 2:33 PM, Martin v. Löwis <report@bugs.python.org>wrote:

>
> Martin v. Löwis added the comment:
>
> If you want a class that behaves like a string object, you should subclass
> from str.
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue16397>
> _______________________________________
>

-- 
Jorge Eduardo Cardona

jorgeecardona@gmail.com
jorge@cardona.co

cardona.co
github.com/jorgeecardona
History
Date User Action Args
2012-11-03 18:47:43Jorge.Cardonasetrecipients: + Jorge.Cardona, loewis, rhettinger
2012-11-03 18:47:43Jorge.Cardonalinkissue16397 messages
2012-11-03 18:47:42Jorge.Cardonacreate