]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport:
authorRaymond Hettinger <python@rcn.com>
Mon, 23 Sep 2002 14:37:00 +0000 (14:37 +0000)
committerRaymond Hettinger <python@rcn.com>
Mon, 23 Sep 2002 14:37:00 +0000 (14:37 +0000)
commite780c12cdf85f4ab9871c38d8424ff5f1c880ea6
tree4418e4cc52264098e71fe8d827ac79b585b86513
parentc8b4c9fe1a1e46e3c098fdafe2b0eb9c85df88c8
Backport:

The test for re.engine was misfiring because re.engine is no longer
defined and the default was "pre" instead of "sre".  Give up on 1.5.2
compatibility, hardcode the sre solution.  However, this XXX comment
still applies, AFAIK:
        # XXX This code depends on internals of the regular expression
        # engine!  There's no standard API to do a substitution when you
        # have already found the match.  One should be added.
Tools/idle/ReplaceDialog.py