This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author sferic
Recipients
Date 2006-01-24.02:05:51
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
Today's update of my Cygwin installation caused a long
running Python/Tkinter application to fail to start. 
Further investigation shows it hanging on a closed of a
popened file object.  The problem seems associated with
importing Tkinter:

===========FILE START=====
#! /usr/bin/python

from Tkinter import *
from os import popen

print "Here"
#grab a calander in case we need it
calpipe = popen("/usr/bin/cal -3")
caltext = calpipe.read(1000)
print "Middle"
calpipe.close()
print "There"

print caltext
==========FILE END=====

prints "Here" and "Middle" and then hangs.  Windows
task manager shows sh.exe and a copy of Python2.4.exe
sharing most of the CPU time.  If I kill those two
processes, the program finishes its output normally.

If I comment out the from Tkinter line, everthing works
fine.

Cygcheck info attached
History
Date User Action Args
2007-08-23 14:37:27adminlinkissue1413379 messages
2007-08-23 14:37:27admincreate