[Pythonmac-SIG] RE: SRE errors with IDE, addendum
Just van Rossum
just@letterror.com
Tue, 10 Jul 2001 21:19:13 +0200
--1591280-2295726080-3203788763=:9001
Content-Type: text/plain; Charset=US-ASCII
Content-Transfer-Encoding: 7bit
Damon Butler wrote:
> The fix worked, in that the IDE would run (I used Python 2.0 syntax, however:
> "import sre as re"). But I did run across other errors related to same when
> accessing particular features of the IDE, most prominently the Module Browser.
>
> Thought you might like to know that, for anyone else who wishes to use pre as
> a matter of course over the broken sre, the following modules also ought to be
> patched in a similar fashion:
>
> - PyBrowser.py
> - PyDocSearch.py
> - PyEdit.py
>
> WSocket.py also has a reference to "re" (which on my system will call up pre),
> but that doesn't appear to cause any problems.
PyEdit's use of regexes was broken in more than one way: I've been committing
some changes to CVS, and will commit more later. The other problems can be fixed
by changing "" to raw r"" strings. I'll commit those also.
I've appended a PyFontify.py (which I'll also commit to CVS shortly) which works
both with pre and sre, yet doesn't import either: it simply uses re again.
Just
--1591280-2295726080-3203788763=:9001
Content-Type: application/octet-stream; Name="PyFontify.py.sit"; X-Mac-Type="53495435"; X-Mac-Creator="53495421"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; Filename="PyFontify.py.sit"
U3R1ZmZJdCAoYykxOTk3LTE5OTggQWxhZGRpbiBTeXN0ZW1zLCBJbmMuLCBodHRw
Oi8vd3d3LmFsYWRkaW5zeXMuY29tL1N0dWZmSXQvDQoaAAUQAAAJFAAAAHIAAQAA
AHK8jA2lpVJlc2VydmVkpaUApaWlpQEAADwAELdUGha3cSFdAAAAAAAAAAAAAAAA
AAxQ4QAAEMgAAAdzAAAAAA8AUHlGb250aWZ5LnB5AAFk6FRFWFRQaWRlAQABQACB
AAAAAAAAAAAAAIAAAAAAAAAAAAACJQAAAMEAAAAADwBCwdTPl4+jUqH771VHRrpK
74T6gNSzw6emQnHVzMKqPjfhiyaDnQFadUTJv/lW2zSn4IGnJpHyaDywUK9NfC8A
U7DCkH1H6pfWRwxRsAVCIGWnCkkGo0t4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