[issue5527] multiprocessing won't work with Tkinter (under Linux)

2009-04-03 Thread Jani Hakala
Jani Hakala jahak...@iki.fi added the comment: You can do something like import gui gui.start() in your Panel.draw() and 'from Tkinter import *' in the gui module which should contain your GUI-related code. Or you could just do 'from Tkconstants import *' in your tk_test.py

[issue5527] multiprocessing won't work with Tkinter (under Linux)

2009-04-02 Thread Jani Hakala
Jani Hakala jahak...@iki.fi added the comment: The script tk_test.py produces the window with one button after one removes the line 'from Tkinter import *' and adds line 'from Tkinter import Tk, Button' inside Panel.draw() as a first line. So importing Tkinter after the fork seems to solve

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-02-20 Thread Jani Hakala
New submission from Jani Hakala jahak...@iki.fi: The implementation in python 2.6 expects the cmd argument to be a string. The documentation - help(os.popen3) - states that the cmd argument can be a sequence on Unix. This difference may cause programs that work with python 2.5 to fail

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-02-20 Thread Jani Hakala
Changes by Jani Hakala jahak...@iki.fi: -- type: - behavior ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5329 ___ ___ Python-bugs-list mailing

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-02-20 Thread Jani Hakala
Changes by Jani Hakala jahak...@iki.fi: Added file: http://bugs.python.org/file13141/os-popen.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5329

[issue5329] os.popen2 and os.popen3 in python 2.6 incompatible with os.popen* in python 2.5

2009-02-20 Thread Jani Hakala
Changes by Jani Hakala jahak...@iki.fi: Removed file: http://bugs.python.org/file13140/os-popen.diff ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue5329