使用IDLE在Python中在3200行之后添加新代码时出错

时间:2013-06-26 07:09:04

标签: python tkinter python-idle

我有一个python程序,工作正常,有3200行代码。当我尝试在其中添加新的代码行时,会出现以下错误:

Exception in Tkinter callback
Traceback (most recent call last):
  File "C:\Python24\lib\lib-tk\Tkinter.py", line 1345, in __call__
    return self.func(*args)
  File "C:\Python24\lib\idlelib\ScriptBinding.py", line 142, in run_module_event
    code = self.checksyntax(filename)
  File "C:\Python24\lib\idlelib\ScriptBinding.py", line 101, in checksyntax
    return compile(source, filename, "exec")
SystemError: com_backpatch: offset too large

0 个答案:

没有答案