]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
the mad patcher strikes again:
authorFredrik Lundh <fredrik@pythonware.com>
Fri, 30 Jun 2000 13:55:15 +0000 (13:55 +0000)
committerFredrik Lundh <fredrik@pythonware.com>
Fri, 30 Jun 2000 13:55:15 +0000 (13:55 +0000)
commit0640e1161f37fd3415e9efdbde1e293efb98978c
treec008ad1c1f5e8610921bb893df78fa86f06fa2cf
parentae1b5b2e985eeea6433671d874ccaddfd36db5a6
the mad patcher strikes again:

-- added pickling support (only works if sre is imported)

-- fixed wordsize problems in engine
   (instead of casting literals down to the character size,
   cast characters up to the literal size (same as the code
   word size).  this prevents false hits when you're matching
   a unicode pattern against an 8-bit string. (unfortunately,
   this broke another test, but I think the test should be
   changed in this case; more on that on python-dev)

-- added sre.purge function
   (unofficial, clears the cache)
Lib/sre.py
Lib/sre_compile.py
Lib/sre_parse.py
Lib/test/output/test_sre
Modules/_sre.c