[Python-3000] re.LOCALE

"Martin v. Löwis" martin at v.loewis.de
Mon Jun 30 00:02:51 CEST 2008


> Another question, about re.LOCALE. Its utility is dubious, and it's never used
> in the stdlib (apart from the re tests themselves). What should we do:
>  - drop it entirely
>  - only allow it on bytes patterns (it doesn't make sense on unicode strings)
>  - leave it as-is
> ?

I suggest to drop it.

Of course, the beta has been released, and such a change (just as the
addition of an ASCII flag) require release manager approval, IMO.

Regards,
Martin


More information about the Python-3000 mailing list