commit | 516f41e032e612e5bc6b7093ac31215abbe8f31d | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Thu Aug 09 21:42:19 2007 +0000 |
committer | Guido van Rossum <guido@python.org> | Thu Aug 09 21:42:19 2007 +0000 |
tree | 725a182e2e0ae2eeaec74b1e3e9433fbac245119 | |
parent | 9ce8e3809906a0e7a01b548883b85d0e323d2f6d [diff] |
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.