[pywin32-bugs] [ pywin32-Bugs-3562998 ] Python won't exit if win32ui is imported
OLD project page for the Python extensions for Windows
Brought to you by:
mhammond
From: SourceForge.net <no...@so...> - 2012-08-29 21:09:37
|
Bugs item #3562998, was opened at 2012-08-29 14:09 Message generated for change (Tracker Item Submitted) made by series8217 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3562998&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: Series8217 (series8217) Assigned to: Nobody/Anonymous (nobody) Summary: Python won't exit if win32ui is imported Initial Comment: Environment: Windows 7 64-bit, Python 2.7.3 32-bit, PyWin32-217 This is a weird one. If you run the attached script (you'll need to manually close the file chooser), you'll find that Python does not exit when the script is done. However, if you remove win32ui from the list of imports, the script exits just fine. Also, if the script consists solely of "import win32gui, win32ui", it exits cleanly. I printed a list of threads and it's just the main thread in both cases. Another user on Stack Overflow found that this problem is reproducible by creating and destroying a GTK Window instead of opening a file chooser like I did. See: http://stackoverflow.com/questions/10467225/why-script-doesnt-quit-when-win32ui-is-imported-and-gtk-quits ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=551954&aid=3562998&group_id=78018 |