Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-143526: tkinter.filedialog crashes when filetypes=None#145618

Closed
BlackBeardsoul wants to merge 2 commits intopython:mainfrom
BlackBeardsoul:fix/tkinter-filedialog-filetypes-none
Closed

gh-143526: tkinter.filedialog crashes when filetypes=None#145618
BlackBeardsoul wants to merge 2 commits intopython:mainfrom
BlackBeardsoul:fix/tkinter-filedialog-filetypes-none

Conversation

@BlackBeardsoul
Copy link

@BlackBeardsoulBlackBeardsoul commentedMar 7, 2026
edited by bedevere-appbot
Loading

The filedialog was crashing with TypeError when filetypes=None was passed, despite the docs stating None is acceptable. This fix adds a guard to only convert to tuple if filetypes is not None.

The filedialog was crashing with TypeError when filetypes=None was passed,despite the docs stating None is acceptable. This fix adds a guard toonly convert to tuple if filetypes is not None.
@bedevere-app
Copy link

Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply theskip news label instead.

@bedevere-app
Copy link

Most changes to Pythonrequire a NEWS entry. Add one using theblurb_it web app or theblurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply theskip news label instead.

@picnixzpicnixz changed the titleFix #143526: tkinter.filedialog crashes when filetypes=Nonegh-143526: tkinter.filedialog crashes when filetypes=NoneMar 7, 2026
@picnixz
Copy link
Member

The issue was closed.

@picnixzpicnixz closed thisMar 7, 2026
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

No reviews

Assignees

No one assigned

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

2 participants

@BlackBeardsoul@picnixz

[8]ページ先頭

©2009-2026 Movatter.jp