On Sat, Mar 15, 2008 at 5:54 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote:
> This inconsistency goes back to 2.3 at least and probably to the
> initial unicode implementation.
>
> >>> set(dir(u'')) - set(dir(''))
> ['isnumeric', 'isdecimal']
>
> UserString contains these two methods even though 8
Shouldn't isnumeric and isdecimal apply to 8-bit strings as well? Are there
localization issues with them that I'm blissfully unaware of? why not just
add the methods there for consistency instead?
-gps
On 3/15/08, Neal Norwitz <[EMAIL PROTECTED]> wrote:
>
> This inconsistency goes back to 2.3 a
This inconsistency goes back to 2.3 at least and probably to the
initial unicode implementation.
>>> set(dir(u'')) - set(dir(''))
['isnumeric', 'isdecimal']
UserString contains these two methods even though 8-bit strings do
not. I'm not sure what we should do for 2.6 or 3.0. My preference
would