[issue22189] collections.UserString missing some str methods

2019-03-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > collections.UserString.__rmod__ references an undefined variable `args`: This is a duplicate of issue25652. -- nosy: +serhiy.storchaka resolution: -> fixed stage: needs patch -> resolved status: open -> closed ___

[issue22189] collections.UserString missing some str methods

2019-03-25 Thread Raymond Hettinger
Raymond Hettinger added the comment: Orivej Desh, would you care to make PR to fix this (and add a test)? -- priority: low -> resolution: fixed -> status: closed -> open ___ Python tracker

[issue22189] collections.UserString missing some str methods

2019-03-25 Thread Orivej Desh
Orivej Desh added the comment: collections.UserString.__rmod__ references an undefined variable `args`: def __rmod__(self, format): return self.__class__(format % args) https://github.com/python/cpython/commit/573b44c18f69307d7dbc95c950aab57ef7ea303e#diff-8a750c700ae5ac1d0a14922de

[issue22189] collections.UserString missing some str methods

2015-05-22 Thread Raymond Hettinger
Raymond Hettinger added the comment: Thanks Joe. -- resolution: -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bug

[issue22189] collections.UserString missing some str methods

2015-05-22 Thread Roundup Robot
Roundup Robot added the comment: New changeset c06b2480766d by Raymond Hettinger in branch 'default': Issue 22189: Add missing methods to UserString https://hg.python.org/cpython/rev/c06b2480766d -- nosy: +python-dev ___ Python tracker

[issue22189] collections.UserString missing some str methods

2015-04-15 Thread Joe Jevnik
Joe Jevnik added the comment: I have added a patch to add these to UserString. I also wrote a test case that would check the UserString, UserList, and UserDict's methods to make sure that new methods to str, list, or dict (or the removal of one of those methods from the User* version) will cau

[issue22189] collections.UserString missing some str methods

2015-03-09 Thread Serhiy Storchaka
Changes by Serhiy Storchaka : -- keywords: +easy ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue22189] collections.UserString missing some str methods

2015-03-09 Thread Claudiu Popa
Changes by Claudiu Popa : -- nosy: +Claudiu.Popa versions: +Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue22189] collections.UserString missing some str methods

2014-08-28 Thread Chris Rebert
Changes by Chris Rebert : -- nosy: +cvrebert ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue22189] collections.UserString missing some str methods

2014-08-28 Thread Julian Gindi
Julian Gindi added the comment: Good catch. I'm gonna look into this. Seems like you should be able to access these from UserString as well. -- nosy: +Julian.Gindi ___ Python tracker __

[issue22189] collections.UserString missing some str methods

2014-08-16 Thread STINNER Victor
Changes by STINNER Victor : -- nosy: +haypo ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python

[issue22189] collections.UserString missing some str methods

2014-08-12 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- assignee: -> rhettinger components: +Library (Lib) nosy: +rhettinger ___ Python tracker ___ ___ Pyt

[issue22189] collections.UserString missing some str methods

2014-08-12 Thread Nick Coghlan
New submission from Nick Coghlan: str currently implements some methods that UserString doesn't: >>> set(dir(str)) - set(dir(UserString)) {'__rmod__', 'casefold', 'isprintable', 'maketrans', 'format_map', '__getnewargs__'} casefold, isprintable & format_map (and perhaps __rmod__) should likely