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 be available on UserString as well. ---------- messages: 225255 nosy: ncoghlan priority: low severity: normal stage: needs patch status: open title: collections.UserString missing some str methods type: enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue22189> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com