Message10248
I noticed when working on #2364 that PyString exposes methods that belong to PyUnicode. Previous to that fix there was delegation from PyUnicode to these methods for the basic plane case. It was probably always wrong to have exposed them.
>>> [s for s in dir(str) if s.startswith('is')]
['isalnum', 'isalpha', 'isdecimal', 'isdigit', 'islower', 'isnumeric', 'isspace', 'istitle', 'isunicode', 'isupper']
They are in the public Java API of PyString, so I'm reluctant just to delete them without discussion. |
|
Date |
User |
Action |
Args |
2015-09-10 22:07:18 | jeff.allen | set | recipients:
+ jeff.allen |
2015-09-10 22:07:18 | jeff.allen | set | messageid: <1441922838.41.0.727652768132.issue2394@psf.upfronthosting.co.za> |
2015-09-10 22:07:18 | jeff.allen | link | issue2394 messages |
2015-09-10 22:07:18 | jeff.allen | create | |
|