[Python-bugs-list] [Bug #114821] 2.0b1 IDLE "replace" dead broken

noreply@sourceforge.net noreply@sourceforge.net
Tue, 19 Sep 2000 13:52:04 -0700


Bug #114821, was updated on 2000-Sep-19 12:34
Here is a current snapshot of the bug.

Project: Python
Category: IDLE
Status: Closed
Resolution: Fixed
Bug Group: None
Priority: 7
Summary: 2.0b1 IDLE "replace" dead broken

Details: Assigned to Guido since he wrote this code.  Looks shallow, so bounce it back to me if you're swamped.  Simply try using Edit -> Replace ...  This is typical:

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\PYTHON20\lib\lib-tk\Tkinter.py", line 1284, in __call__
    return apply(self.func, args)
  File "C:\Python20\Tools\idle\ReplaceDialog.py", line 58, in replace_it
    self.do_replace()
  File "C:\Python20\Tools\idle\ReplaceDialog.py", line 145, in do_replace
    new = re.pcre_expand(m, self.replvar.get())
AttributeError: pcre_expand


Follow-Ups:

Date: 2000-Sep-19 13:52
By: gvanrossum

Comment:
Fixed by checkin 1.4 to ReplaceDialog.py.

Note that there's a missing API in the re module: expand a template when you have already found a match.
-------------------------------------------------------

For detailed info, follow this link:
http://sourceforge.net/bugs/?func=detailbug&bug_id=114821&group_id=5470