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 terry.reedy
Recipients Brian.Gernhardt, Cody.C, amaury.forgeotdarc, gpolo, roger.serwy, terry.reedy
Date 2012-06-07.02:04:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339034657.55.0.952407697977.issue12988@psf.upfronthosting.co.za>
In-reply-to
Content
I closed #14996 as a duplicate of this. The OP there claimed that behavior changed between 3.2.1 and 3.2.3 and that she had same problem with 32 bit installation. It is hard to know the exact circumstances of the problem until we find its cause.

Looking further, I am sure this is a tk and/or Win7 problem.
tkinter.filedialog.asksaveasfile() calls SaveAs(**options).show()
SaveAs sets command = "tk_getSaveFile" and inherits _Dialog which inherits commondialog.Dialog. The show method of that calls
tk.call(self.command, *w._options(self.options)). Since the test call has no options, self.options is an empty dict and I presume the serialized form w._options() is also. So the call amounts to
tk.call("tk_getSaveFile"), which suspends python until the dialog returns.

That said, 3.3.0a4 was released a week ago with tcl/tk upgraded, in the Windows installer, from 8.5.9 to 8.5.11. So I retried the previous test and the problem is gone. Can someone else verify? If so, we can close this as fixed. (I believe that the same upgrade will appear in future 3.2 and 2.7 releases, but I am not sure.)
History
Date User Action Args
2012-06-07 02:04:17terry.reedysetrecipients: + terry.reedy, amaury.forgeotdarc, gpolo, roger.serwy, Brian.Gernhardt, Cody.C
2012-06-07 02:04:17terry.reedysetmessageid: <1339034657.55.0.952407697977.issue12988@psf.upfronthosting.co.za>
2012-06-07 02:04:17terry.reedylinkissue12988 messages
2012-06-07 02:04:16terry.reedycreate