New submission from Daniel Preston <[email protected]>:
I am using Tkinter in my program, and at a point I use a button to open a file
by running a function with the following code:
def UploadAction(event=None):
global filename
filename = filedialog.askopenfilename()
filename = [filename]
return filename
However, when I run this function, it causes Python to freeze. Apparently there
have been bugs like this before in previous versions, and this wasn't a problem
on 3.7, which makes me suspect that this is a bug rather than a fault on my
end. Would you be able to release an update to fix this bug? Thanks.
----------
components: Windows
messages: 357819
nosy: Daniel Preston, paul.moore, steve.dower, tim.golden, zach.ware
priority: normal
severity: normal
status: open
title: using filedialog.askopenfilename() freezes python 3.8
versions: Python 3.8
_______________________________________
Python tracker <[email protected]>
<https://bugs.python.org/issue38974>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com