[issue22189] collections.UserString missing some str methods
Nick Coghlan
report at bugs.python.org
Wed Aug 13 07:49:12 CEST 2014
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 <report at bugs.python.org>
<http://bugs.python.org/issue22189>
_______________________________________
More information about the Python-bugs-list
mailing list