Movatterモバイル変換
[0]ホーム
[Python-Dev] SRE: regex.set_syntax
Fred L. Drake, Jr.fdrake@acm.org
Fri, 7 Apr 2000 10:21:59 -0400 (EDT)
Fredrik Lundh writes: > 1) that lots of people are still using it, often for > performance reasons That's why I never converted Grail; the "re" layer around "pcre" wassubstantially more expensive to use, and the HTML parser was way tooslow already. (Displaying the result was still the slowest part, butwe were desparate for every little scrap!) > but alright, I think the consensus here is "(1) get rid > of it completely". in 1.6a2, perhaps? I seem to recall a determination to toss it for Py3K (or Python 2,as it was called at the time). Note that Grail breaks completely assoon as the module can't be imported. I'll propose a compromise: keep it in the set of modules that getbuilt by default, but remove the documentation sections from themanual. This will more strongly encourage migration for activelymaintained code. I would be surprised if Grail is the only largeapplication which uses "regex" for performance reasons, and we don'treally *want* to break everything. -Fred--Fred L. Drake, Jr. <fdrake at acm.org>Corporation for National Research Initiatives
[8]ページ先頭