Your message dated Mon, 28 Mar 2005 16:24:21 -0500
with message-id <[EMAIL PROTECTED]>
and subject line Bug#283537: fixed in python-qt3 3.14.1-1
has caused the attached Bug report to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere. Please contact me immediately.)
Debian bug tracking system administrator
(administrator, Debian Bugs database)
--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Nov 2004 18:38:25 +0000
>From [EMAIL PROTECTED] Mon Nov 29 10:38:25 2004
Return-path: <[EMAIL PROTECTED]>
Received: from master.debian.org [146.82.138.7]
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CYqPp-0008VY-00; Mon, 29 Nov 2004 10:38:25 -0800
Received: from cat2ppp-96.uc.infovia.com.ar ([192.168.1.2]) [209.13.207.96]
by master.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1CYqPo-0006Cc-00; Mon, 29 Nov 2004 12:38:24 -0600
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
From: Nahuel Greco <[EMAIL PROTECTED]>
To: Debian Bug Tracking System <[EMAIL PROTECTED]>
Subject: python2.3-qt3: QApplication.enter_loop seems to not release the GIL
Bcc: Nahuel Greco <[EMAIL PROTECTED]>
X-Mailer: reportbug 2.61
Date: Mon, 29 Nov 2004 15:28:36 -0300
Message-Id: <[EMAIL PROTECTED]>
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2004_03_25
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_PACKAGE,
OUR_MTA_MSGID autolearn=no version=2.60-bugs.debian.org_2004_03_25
X-Spam-Level:
Package: python2.3-qt3
Version: 3.12-3
Severity: normal
Using Twisted Matrix qtreactor (the Twisted Qt event loop wrapper) I noted that
when you call QApplication.enter_loop() python threads seems to stop, but that
doesn't happen if you use QApplication.exec_loop(). The enter_loop() method is
rarely used, but Twisted needs it. It seems that when you call enter_loop the
Python GIL isn't never released. Check this example:
#######
import threading, sys, time, qt
class SimpleThread(threading.Thread):
def run(self):
d = 0
while 1:
print d
if d == 15:
# to avoid killing it externally
sys.exit(1)
time.sleep(0.5)
d+=1
app = qt.QApplication([])
w = qt.QDialog()
app.setMainWidget(w)
w.show()
t = SimpleThread()
t.start()
time.sleep(2)
print "Executing QT Main Loop"
app.exec_loop()
#app.enter_loop()
#########
If you use exec_loop(), the SimpleThread continues to print the numbers
after the "Executing QT Main Loop Message", but if you use enter_loop,
the thread stops and no more numbers are printed after the previous
message.
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i586)
Kernel: Linux 2.6.8nah1-k6
Locale: LANG=C, LC_CTYPE=C
Versions of packages python2.3-qt3 depends on:
ii libc6 2.3.2.ds1-18 GNU C Library: Shared libraries an
ii libfontconfig1 2.2.2-2 generic font configuration library
ii libgcc1 1:3.4.1-5 GCC support library
ii libice6 4.3.0.dfsg.1-5 Inter-Client Exchange library
ii libpng12-0 1.2.7-1 PNG library - runtime
ii libqt3c102-mt 3:3.3.3-4 Qt GUI Library (Threaded runtime v
ii libsm6 4.3.0.dfsg.1-5 X Window System Session Management
ii libstdc++5 1:3.3.4-11 The GNU Standard C++ Library v3
ii libx11-6 4.3.0.dfsg.1-6 X Window System protocol client li
ii libxext6 4.3.0.dfsg.1-6 X Window System miscellaneous exte
ii libxmu6 4.3.0.dfsg.1-5 X Window System miscellaneous util
ii python2.3 2.3.4-1 An interactive high-level object-o
ii python2.3-sip4-qt3 4.0.1-1 Python/C++ bindings generator - Py
ii xlibmesa3-gl [libgl1] 4.2.1-16 Mesa 3D graphics library [XFree86]
ii xlibmesa3-glu [libglu1] 4.2.1-16 Mesa OpenGL utility library [XFree
ii xlibs 4.3.0.dfsg.1-8 X Window System client libraries m
ii zlib1g 1:1.2.1.1-3 compression library - runtime
-- no debconf information
---------------------------------------
Received: (at 283537-close) by bugs.debian.org; 28 Mar 2005 21:40:22 +0000
>From [EMAIL PROTECTED] Mon Mar 28 13:40:22 2005
Return-path: <[EMAIL PROTECTED]>
Received: from newraff.debian.org [208.185.25.31] (mail)
by spohr.debian.org with esmtp (Exim 3.35 1 (Debian))
id 1DG1yA-0002OW-00; Mon, 28 Mar 2005 13:40:22 -0800
Received: from joerg by newraff.debian.org with local (Exim 3.35 1 (Debian))
id 1DG1if-0002Lp-00; Mon, 28 Mar 2005 16:24:21 -0500
From: Torsten Marek <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
X-Katie: lisa $Revision: 1.30 $
Subject: Bug#283537: fixed in python-qt3 3.14.1-1
Message-Id: <[EMAIL PROTECTED]>
Sender: Joerg Jaspert <[EMAIL PROTECTED]>
Date: Mon, 28 Mar 2005 16:24:21 -0500
Delivered-To: [EMAIL PROTECTED]
X-Spam-Checker-Version: SpamAssassin 2.60-bugs.debian.org_2005_01_02
(1.212-2003-09-23-exp) on spohr.debian.org
X-Spam-Status: No, hits=-6.0 required=4.0 tests=BAYES_00,HAS_BUG_NUMBER
autolearn=no version=2.60-bugs.debian.org_2005_01_02
X-Spam-Level:
X-CrossAssassin-Score: 3
Source: python-qt3
Source-Version: 3.14.1-1
We believe that the bug you reported is fixed in the latest version of
python-qt3, which is due to be installed in the Debian FTP archive:
pyqt-tools_3.14.1-1_i386.deb
to pool/main/p/python-qt3/pyqt-tools_3.14.1-1_i386.deb
python-qt-dev_3.14.1-1_all.deb
to pool/main/p/python-qt3/python-qt-dev_3.14.1-1_all.deb
python-qt3-doc_3.14.1-1_all.deb
to pool/main/p/python-qt3/python-qt3-doc_3.14.1-1_all.deb
python-qt3-gl_3.14.1-1_all.deb
to pool/main/p/python-qt3/python-qt3-gl_3.14.1-1_all.deb
python-qt3_3.14.1-1.diff.gz
to pool/main/p/python-qt3/python-qt3_3.14.1-1.diff.gz
python-qt3_3.14.1-1.dsc
to pool/main/p/python-qt3/python-qt3_3.14.1-1.dsc
python-qt3_3.14.1-1_all.deb
to pool/main/p/python-qt3/python-qt3_3.14.1-1_all.deb
python-qt3_3.14.1.orig.tar.gz
to pool/main/p/python-qt3/python-qt3_3.14.1.orig.tar.gz
python-qtext_3.14.1-1_all.deb
to pool/main/p/python-qt3/python-qtext_3.14.1-1_all.deb
python2.3-qt3-gl_3.14.1-1_i386.deb
to pool/main/p/python-qt3/python2.3-qt3-gl_3.14.1-1_i386.deb
python2.3-qt3_3.14.1-1_i386.deb
to pool/main/p/python-qt3/python2.3-qt3_3.14.1-1_i386.deb
python2.3-qtext_3.14.1-1_i386.deb
to pool/main/p/python-qt3/python2.3-qtext_3.14.1-1_i386.deb
python2.4-qt3-gl_3.14.1-1_i386.deb
to pool/main/p/python-qt3/python2.4-qt3-gl_3.14.1-1_i386.deb
python2.4-qt3_3.14.1-1_i386.deb
to pool/main/p/python-qt3/python2.4-qt3_3.14.1-1_i386.deb
python2.4-qtext_3.14.1-1_i386.deb
to pool/main/p/python-qt3/python2.4-qtext_3.14.1-1_i386.deb
pyuic3_3.14.1-1_all.deb
to pool/main/p/python-qt3/pyuic3_3.14.1-1_all.deb
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [EMAIL PROTECTED],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Torsten Marek <[EMAIL PROTECTED]> (supplier of updated python-qt3 package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [EMAIL PROTECTED])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Format: 1.7
Date: Sun, 6 Mar 2005 23:33:28 +0100
Source: python-qt3
Binary: python2.3-qt3 python-qt3-doc python2.3-qtext python-qt3-gl
python-qt-dev pyuic3 python-qtext python2.3-qt3-gl python2.4-qt3-gl python-qt3
python2.4-qtext pyqt-tools python2.4-qt3
Architecture: source all i386
Version: 3.14.1-1
Distribution: unstable
Urgency: low
Maintainer: [EMAIL PROTECTED]
Changed-By: Torsten Marek <[EMAIL PROTECTED]>
Description:
pyqt-tools - pyuic and pylupdate for Qt3
python-qt-dev - Qt bindings for Python - Development files
python-qt3 - Qt3 bindings for Python (default version)
python-qt3-doc - Qt bindings for Python - Documentation and examples
python-qt3-gl - Qt3 OpenGL bindings for Python (default version)
python-qtext - Qt extensions for PyQt (default version)
python2.3-qt3 - Qt3 bindings for Python 2.3
python2.3-qt3-gl - Qt3 OpenGL bindings for Python 2.3
python2.3-qtext - Qt extensions for PyQt
python2.4-qt3 - Qt3 bindings for Python 2.3
python2.4-qt3-gl - Qt3 OpenGL bindings for Python 2.4
python2.4-qtext - Qt extensions for PyQt
pyuic3 - pyuic for Qt3 - dummy package
Closes: 283537 289212 293087 301660
Changes:
python-qt3 (3.14.1-1) unstable; urgency=low
.
* New upstream release
* QApplication::enter_loop now releases the GIL (Closes: #283537)
* Added myself to uploaders
* Added packages for Python 2.4
* The PyQt build system has been tweaked to allow parrallel
builds for different versions of Python
* Build dependencies on sgmltools-lite, dpatch and
xlibmesa-dev removed, python2.4-dev and python2.4-sip4-dev
added
* Standards version updated to 3.6.1.0
* pyqtconfig.py is now included in python2.x-qt3 instead of
python-qt-dev
* QDomDocument.setContent now works properly (Closes: #289212)
* Solves some memory leaks (Closes: #293087)
* Works (in fact needs) with sip4 >= 4.2 (Closes: #301660)
Files:
3ddc450f40ffa768f5d1862e2f15fd8e 1049 python optional python-qt3_3.14.1-1.dsc
bf6d939ec77e48a2db7561e7bac61d19 782274 python optional
python-qt3_3.14.1.orig.tar.gz
86e6f6bec5f5b470f241751eaace0441 9947 python optional
python-qt3_3.14.1-1.diff.gz
0010215f0e2ca956380abb47ef7c8e6d 40664 python optional
python-qt3_3.14.1-1_all.deb
3c58a41c38979401e782f9b8cd79eead 30272 python optional
python-qt3-gl_3.14.1-1_all.deb
32db1b3b482c9d6d583119afd572ebaa 30242 python optional
python-qtext_3.14.1-1_all.deb
a253abf7dcd7fa4983add01f14517d20 30182 python optional pyuic3_3.14.1-1_all.deb
eb1a844ec5736b15fc4ea71a30159395 205818 python optional
python-qt-dev_3.14.1-1_all.deb
dde1e17353acc8c201909a0f15541b11 299366 doc optional
python-qt3-doc_3.14.1-1_all.deb
dc0fb8f370fb1b75f6cb53b034b58f9f 2568170 python optional
python2.3-qt3_3.14.1-1_i386.deb
01ad01320549eb5a762c347de394a4eb 2567990 python optional
python2.4-qt3_3.14.1-1_i386.deb
fc7e33766e7e6213206826af97e36161 121850 python optional
python2.3-qt3-gl_3.14.1-1_i386.deb
f81a5d7a9dfe629940cb1b7268abd5ed 121850 python optional
python2.4-qt3-gl_3.14.1-1_i386.deb
e61e12940ad0c8a740f10a9f0fe3ac94 240384 python optional
python2.3-qtext_3.14.1-1_i386.deb
5140d16b58e78786a4cad233c318c680 240384 python optional
python2.4-qtext_3.14.1-1_i386.deb
3845f8d14193aee4230d6bef1d11e4b0 220930 python optional
pyqt-tools_3.14.1-1_i386.deb
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)
iD8DBQFCSFWCHkQIZYcutOURAiFIAJ9/ik8xRvWRRYyd/PlSA9VrVM+/AgCgi6QX
z0PlyBNy00FJjcK/1BvjEdo=
=A2kJ
-----END PGP SIGNATURE-----
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]