[issue16397] UserString doesn't combine nicely with strings

2019-12-08 Thread Phillip Schanely
Change by Phillip Schanely : -- nosy: +pschanely ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue16397] UserString doesn't combine nicely with strings

2012-11-11 Thread Terry J. Reedy
Changes by Terry J. Reedy : -- resolution: -> works for me stage: -> committed/rejected ___ Python tracker ___ ___ Python-bugs-list

[issue16397] UserString doesn't combine nicely with strings

2012-11-11 Thread Jorge Cardona
Jorge Cardona added the comment: Hi, this can be closed. Thanks. -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-li

[issue16397] UserString doesn't combine nicely with strings

2012-11-11 Thread Terry J. Reedy
Terry J. Reedy added the comment: Jorge, can we close this or do you still have a specific suggestion. Also, if you reply by mail, please snip previous messages as they are already posted. -- nosy: +terry.reedy type: behavior -> enhancement ___ Pytho

[issue16397] UserString doesn't combine nicely with strings

2012-11-03 Thread Jorge Cardona
Jorge Cardona added the comment: 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 wrote: > > Mar

[issue16397] UserString doesn't combine nicely with strings

2012-11-03 Thread Martin v . Löwis
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 ___ ___

[issue16397] UserString doesn't combine nicely with strings

2012-11-03 Thread Martin v . Löwis
Martin v. Löwis added the comment: This is not a bug, but a potential new feature. Therefore, it can go only into 3.4 (if at all). -- nosy: +loewis versions: -Python 2.7, Python 3.2, Python 3.3 ___ Python tracker

[issue16397] UserString doesn't combine nicely with strings

2012-11-03 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- components: +Library (Lib) nosy: +rhettinger versions: +Python 3.3, Python 3.4 ___ Python tracker ___ ___

[issue16397] UserString doesn't combine nicely with strings

2012-11-03 Thread Jorge Cardona
New submission from Jorge Cardona: Hi, I think UserString must play nicely with other standard objects to be useful. For example, right now is not possible to join a list of UserString with a string. This shouldn't fail: from UserString import UserString '.'.join([UserString('some')])