summaryrefslogtreecommitdiffstats
path: root/Lib/test
diff options
context:
space:
mode:
authorFredrik Lundh <fredrik@pythonware.com>2001-10-21 16:47:57 (GMT)
committerFredrik Lundh <fredrik@pythonware.com>2001-10-21 16:47:57 (GMT)
commitbec95b9d8825b39cff46a8c645fa0eeb8409854e (patch)
tree11a28a4cc7b744dc07c72c52a89655fbf3868330 /Lib/test
parent5b68ce3122a7663ca027a3e17e21d5d5561d09d9 (diff)
downloadcpython-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')
0 files changed, 0 insertions, 0 deletions