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

Matt Chaput matt at whoosh.ca
Sat Jun 30 18:34:02 CEST 2012


> Why not just expose max_code_point directly instead of adding three new methods?


+1

I accidentally sent my reply directly to Serhiy, but basically I said that I could really use this in my search library when I'm trying to write efficient compressed indexes, but all I need is to know the maximum char code (or the number of bytes per char).

I've been meaning to ask about this for a while.

Matt




More information about the Python-ideas mailing list