[Python-ideas] isascii()/islatin1()/isbmp()

Benjamin Peterson benjamin at python.org
Sat Jun 30 19:20:21 CEST 2012


Nick Coghlan <ncoghlan at ...> writes:
> Why not just expose max_code_point directly instead of adding
> three new methods?

All of these proposals rely on the *current* implementation of CPython unicode
(at least for their efficiency). Let's not pollute the language with features
that will be bad on others implementations or even ours in the future.


Regards,
Benjamin




More information about the Python-ideas mailing list