Caused by _sre perhaps? $ python Tools/idle/idle.py Traceback (most recent call last): File "Tools/idle/idle.py", line 8, in ? IdleConf.load(idle_dir) File "Tools/idle/IdleConf.py", line 109, in load idleconf.read((os.path.join(dir, "config.txt"), genplatfile, platfile, File "/usr/local/lib/python2.0/ConfigParser.py", line 207, in read self.__read(fp, filename) File "/usr/local/lib/python2.0/ConfigParser.py", line 382, in __read raise e ConfigParser.ParsingError: File contains parsing errors: Tools/idle/config.txt [line 21]: 'width= 80\012' [line 22]: 'height= 24\012' [line 26]: 'normal-foreground= black\012' [line 27]: 'normal-background= white\012' [line 29]: 'keyword-foreground= #ff7700\012' [line 30]: 'comment-foreground= #dd0000\012' [line 31]: 'string-foreground= #00aa00\012' [line 32]: 'definition-foreground= #0000ff\012' [line 33]: 'hilite-foreground= #000068\012' [line 34]: 'hilite-background= #006868\012' [line 35]: 'break-foreground= #ff7777\012' [line 36]: 'hit-foreground= #ffffff\012' [line 37]: 'hit-background= #000000\012' [line 38]: 'stdout-foreground= blue\012' [line 39]: 'stderr-foreground= red\012' [line 40]: 'console-foreground= #770000\012' [line 41]: 'error-background= #ff7777\012' [line 42]: 'cursor-background= black\012' [line 59]: 'enable= 0\012' [line 60]: 'style= expression\012' [line 61]: 'flash-delay= 500\012' [line 62]: 'bell= 1\012' [line 63]: 'hilite-foreground= black\012' [line 64]: 'hilite-background= #43cd80\012'
I wrote:
Caused by _sre perhaps?
ConfigParser.ParsingError: File contains parsing errors: Tools/idle/config.txt [line 21]: 'width= 80\012'
probably; I'll dig into this.
confirmed. SRE implements $ exactly as described in the library reference, RE doesn't ;-) patch coming within 30 minutes. </F>
confirmed. SRE implements $ exactly as described in the library reference, RE doesn't ;-)
All this is done to match what Perl does. :-(
patch coming within 30 minutes.
Saw it. Thanks! But I still get warnings in IDLE: Failed to load extension 'ParenMatch' Traceback (most recent call last): File "../Tools/idle/EditorWindow.py", line 529, in load_standard_extensions self.load_extension(name) File "../Tools/idle/EditorWindow.py", line 539, in load_extension mod = __import__(name, globals(), locals(), []) File "/projects/python/develop/guido/src/Tools/idle/ParenMatch.py", line 15, in ? import PyParse File "/projects/python/develop/guido/src/Tools/idle/PyParse.py", line 14, in ? _synchre = re.compile(r""" File "./../Lib/sre.py", line 54, in compile return _compile(pattern, flags) File "./../Lib/sre.py", line 86, in _compile p = sre_compile.compile(pattern, flags) File "./../Lib/sre_compile.py", line 217, in compile _compile(code, p.data, flags) File "./../Lib/sre_compile.py", line 121, in _compile emit(ATCODES[AT_MULTILINE[av]]) KeyError: at_boundary --Guido van Rossum (home page: http://www.python.org/~guido/)
guido wrote:
confirmed. SRE implements $ exactly as described in the library reference, RE doesn't ;-)
All this is done to match what Perl does. :-(
guess we have to update the docs; I'll take care of that when I've recovered from all this...
emit(ATCODES[AT_MULTILINE[av]]) KeyError: at_boundary
sigh. with ~1000 patterns in my collection of test scripts, one could have hoped I'd seen it all. but that's a new one. patch coming within 30 minutes (when will I ever sleep?) </F>
KeyError: at_boundary
sigh. with ~1000 patterns in my collection of test scripts, one could have hoped I'd seen it all. but that's a new one.
umm. I'm not sure I want to check this one in. of all stupid bugs... I really gotta do something about that regression test suite. (don't worry, the patch is on its way. unfortunately, my setup is botched, so I cannot test drive IDLE myself. or to put it another way, I cannot guarantee that this is the last problem with IDLE+SRE...) </F>
"FL" == Fredrik Lundh <effbot@telia.com> writes:
FL> (don't worry, the patch is on its way. unfortunately, my FL> setup is botched, so I cannot test drive IDLE myself. or FL> to put it another way, I cannot guarantee that this is the FL> last problem with IDLE+SRE...) Go ahead and check it in. I'll run idle and see wot hoppens. -B
barry wrote:
Go ahead and check it in. I'll run idle and see wot hoppens.
well? can I go to sleep now? please?
Yes. Thanks! --Guido van Rossum (home page: http://www.python.org/~guido/)
"FL" == Fredrik Lundh <effbot@telia.com> writes:
>> Go ahead and check it in. I'll run idle and see wot hoppens. FL> well? can I go to sleep now? please? Sorry, I was off-line for a while. I see Guido gave the word, but just to follow up, yes Idle works for me too. Thanks!
Fredrik Lundh writes:
guess we have to update the docs; I'll take care of that when I've recovered from all this...
The docs are frozen & published for this release, so next week is fine. ** THANKS! **
patch coming within 30 minutes (when will I ever sleep?)
You sleep??? -Fred -- Fred L. Drake, Jr. <fdrake at beopen.com> BeOpen PythonLabs Team Member
when's the 2.0 deadline?
In a couple of hours. --Guido van Rossum (home page: http://www.python.org/~guido/)
participants (5)
-
bwarsaw@beopen.com
-
Fred L. Drake, Jr.
-
Fredrik Lundh
-
Guido van Rossum
-
Neil Schemenauer