From owner-freebsd-ports Wed Jun 28 19:10: 8 2000 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0995837C3BA for ; Wed, 28 Jun 2000 19:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id TAA52604; Wed, 28 Jun 2000 19:10:02 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from ns.itga.com.au (ns.itga.com.au [202.53.40.210]) by hub.freebsd.org (Postfix) with ESMTP id 5837C37BAD0 for ; Wed, 28 Jun 2000 19:00:10 -0700 (PDT) (envelope-from gnb@itga.com.au) Received: from lightning.itga.com.au (lightning.itga.com.au [192.168.71.20]) by ns.itga.com.au (8.9.3/8.9.3) with ESMTP id MAA10482 for ; Thu, 29 Jun 2000 12:00:07 +1000 (EST) (envelope-from gnb@itga.com.au) Received: from hellcat.itga.com.au (hellcat.itga.com.au [192.168.71.163]) by lightning.itga.com.au (8.9.3/8.9.3) with ESMTP id MAA04771; Thu, 29 Jun 2000 12:00:07 +1000 (EST) Received: (from gnb@localhost) by hellcat.itga.com.au (8.9.3/8.9.3) id MAA03614; Thu, 29 Jun 2000 12:00:06 +1000 (EST) (envelope-from gnb@itga.com.au) Message-Id: <200006290200.MAA03614@hellcat.itga.com.au> Date: Thu, 29 Jun 2000 12:00:06 +1000 (EST) From: Gregory Bond To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/19571: python/Tkinter busy-waits Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 19571 >Category: ports >Synopsis: python/TKinter busy waits >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Jun 28 19:10:01 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Gregory Bond >Release: FreeBSD 4.0-STABLE i386 >Organization: ITG Australia Limited >Environment: 4.0-Stable Python 1.5.2 installed from the package on the 4.0 CD Tkinter >Description: The attached simple Tkinter script busy-waits on FreeBSD. The same script does not busy-wait on Solaris. >How-To-Repeat: Save the following script to a file t.py Run "python t.py & p=$! && sleep 2 && truss -p $p" watch the output! [Why not just "truss python t.py"?? Dunno, truss gets confused somehow.] Run the same script on Solaris and see it do the right thing with poll() The equivalent wish script (which is /dev/null) also doesn't busy-wait on either Solaris or FreeBSD. ----- #! /usr/local/bin/python from Tkinter import * root = Tk() root.mainloop() ----- >Fix: Not known. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message