[pywin32-bugs] [ pywin32-Bugs-3611243 ] Importing win32ui causes hang on exit
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2013-04-17 23:54:52
|
Bugs item #3611243, was opened at 2013-04-17 16:49 Message generated for change (Comment added) made by bloominator You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3611243&group_id=78018 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: win32 Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Gary Bloom (bloominator) Assigned to: Nobody/Anonymous (nobody) Summary: Importing win32ui causes hang on exit Initial Comment: Importing win32ui in a simple .py program causes a hang on exit with pywin32-218. This hang occurs under Python 2.6.7, 2.7.4, and 3.1.4. It does not occur under 3.2.4 and 3.3.1. I currently only test using 32-bit Python. The last-known good pywin32 version on Py2.6 was pywin32-212. Some regression was introduced in pywin32-213 and has existed since then (still in pywin32-218), causing this system hang on exit on Python builds 2.6 and 2.7. Testing Python 3, I see that the issue exists in Pythons 3.0 and 3.1 but goes away in 3.2 and 3.3. The following Python code snippet demonstrates a hang on exit: ################################# import Tkinter import win32ui #including this library causes hang on exit master = Tkinter.Tk() #Label not needed to reproduce hang Tkinter.Label(text=" Will hang on exit if win32ui has been imported").pack() master.mainloop() ################################# This bug is preventing me from upgrading my build to Python 2.7, because: 1) I need pywin32, 2) pywin32-212 is the last version that does not have the hang regression, and 3) pywin32-212 Windows builds stop at Python 2.6. ---------------------------------------------------------------------- >Comment By: Gary Bloom (bloominator) Date: 2013-04-17 16:54 Message: I should mention that I only have tested running 32-bit Python on 64-bit Windows 7. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3611243&group_id=78018 |