I'm trying to make use of the with statement that will be standard in future releases of Python. For 2.5, you should be able to do a from __future__ import with to get it. However, whenever I type the word with and then a space, the IDE crashes. Sometimes when I'm using the with statement (as opposed to importing it) it'll just give me a warning that with will become a reserved word in 2.6. However, without fail when I import with, the editor crashes. If I run SPE from a terminal, then the error message I get when this happens is:
The error was 'BadIDChoice (invalid resource ID chosen for this connection)'.
(Details: serial 129367 error_code 14 request_code 53 minor_code 0)
(Note to programmers: normally, X errors are reported asynchronously;
that is, you will receive the error a while after causing it.
To debug your program, run it with the --sync command line
option to change this behavior. You can then get a meaningful
backtrace from your debugger if you break on the gdk_x_error() function.)
Segmentation fault (core dumped)
Thanks for any help you can provide.