diff options
author | Guido van Rossum <guido@python.org> | 2000-09-19 20:51:17 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2000-09-19 20:51:17 (GMT) |
commit | f8d071332a485ede280675a55e3319e136826dd0 (patch) | |
tree | 7a7cb427d79d51d62556e5188bc92c91f6d78622 /Python | |
parent | 0eeba5b24b0cf5297421c7bd5dbc38aff774dc5f (diff) | |
download | cpython-f8d071332a485ede280675a55e3319e136826dd0.zip cpython-f8d071332a485ede280675a55e3319e136826dd0.tar.gz cpython-f8d071332a485ede280675a55e3319e136826dd0.tar.bz2 |
Temporary fix for Bug #114821.
The cause was that the replace code necessarily used a PCRE internal
function to to template expansion.
The fix changes the code to use an SRE internal if SRE is used, and a
PCRE internal if SRE is used; in a way that should work with 1.5.2.
The solution can be sped up tremendously under the assumption that the
choice between sre and pre is not changed during the execution of the
program; especially replace-all will be slow.
But I'll leave that to someone else.
Diffstat (limited to 'Python')
0 files changed, 0 insertions, 0 deletions