New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PythonCmd in Modules/_tkinter.c should use the given "interp" parameter #49042
Comments
Right now PythonCmd is using the Tcl interpreter stored in self->interp, To reproduce this I needed a debug build and also needed to run the
There are other ways to reproduce this but I can't remember them The patch could be expanded to remove the use of "self" in |
Another way to reproduce it (tested using debug build): Python 2.7a0 (trunk:69375:69376M, Feb 6 2009, 20:27:09)
[GCC 4.3.2] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import Tkinter
>>> Tkinter.Tk()
<Tkinter.Tk instance at 0xb79c8edc>
>>> Tkinter.Tk()
<Tkinter.Tk instance at 0xb79cb06c> # close both windows now, get a segfault |
I will be committing this but I'm afraid a test won't be added for it. So if someone can find another way to reproduce the problem you are |
Fixed in r70219. |
Merges: r70220, r70221, r70222 |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: