]> granicus.if.org Git - python/commit
Fix some logic in PythonCmd() -- if the AsString() call failed, we'd
authorGuido van Rossum <guido@python.org>
Thu, 9 Aug 2007 21:42:19 +0000 (21:42 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 9 Aug 2007 21:42:19 +0000 (21:42 +0000)
commit516f41e032e612e5bc6b7093ac31215abbe8f31d
tree725a182e2e0ae2eeaec74b1e3e9433fbac245119
parent9ce8e3809906a0e7a01b548883b85d0e323d2f6d
Fix some logic in PythonCmd() -- if the AsString() call failed, we'd
be calling LEAVE_PYTHON twice (once in PythonCmd_Error() and once in
PythonCmd() itself).

This fix doesn't fix the IDLE problems, but at least makes them more
debuggable by getting rid of the segfault.

Will backport.
Modules/_tkinter.c