diff options
author | Fredrik Lundh <fredrik@pythonware.com> | 2001-10-21 16:47:57 (GMT) |
---|---|---|
committer | Fredrik Lundh <fredrik@pythonware.com> | 2001-10-21 16:47:57 (GMT) |
commit | bec95b9d8825b39cff46a8c645fa0eeb8409854e (patch) | |
tree | 11a28a4cc7b744dc07c72c52a89655fbf3868330 /Lib/test/test_threaded_import.py | |
parent | 5b68ce3122a7663ca027a3e17e21d5d5561d09d9 (diff) | |
download | cpython-bec95b9d8825b39cff46a8c645fa0eeb8409854e.zip cpython-bec95b9d8825b39cff46a8c645fa0eeb8409854e.tar.gz cpython-bec95b9d8825b39cff46a8c645fa0eeb8409854e.tar.bz2 |
rewrote the pattern.sub and pattern.subn methods in C
removed (conceptually flawed) getliteral helper; the new sub/subn code
uses a faster code path for literal replacement strings, but doesn't
(yet) look for literal patterns.
added STATE_OFFSET macro, and use it to convert state.start/ptr to
char indexes
Diffstat (limited to 'Lib/test/test_threaded_import.py')
0 files changed, 0 insertions, 0 deletions