FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

gh-152587: Make name and value required in tkinter variable methods by serhiy-storchaka · Pull Request #152595 · python/cpython · GitHub

Repository navigation

gh-152587: Make name and value required in tkinter variable methods - #152595

Merged
serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-152587-require-name
Jun 29, 2026
Merged

serhiy-storchaka merged 1 commit into
python:mainfrom
serhiy-storchaka:gh-152587-require-name

Conversation

Copy link
Copy Markdown
Member

The name parameter of Misc.wait_variable(), setvar() and getvar() and the value parameter of setvar() no longer have default values.
The former defaults ('PY_VAR' and '1') were not meaningful, and calling these methods without the arguments was almost always a bug.

The documentation was already updated separately (and backported); this is the code change, for the main branch only.

…hods

The name parameter of Misc.wait_variable(), setvar() and getvar() and the
value parameter of setvar() no longer have default values, which were not
meaningful ('PY_VAR' and '1').

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>

Copy link
Copy Markdown

Documentation build overview

📚 cpython-previews | 🛠️ Build #33356211 | 📁 Comparing f8cdd38 against main (b19839b)

  🔍 Preview build  

2 files changed
± whatsnew/3.16.html
± whatsnew/changelog.html

serhiy-storchaka enabled auto-merge (squash) June 29, 2026 14:05
serhiy-storchaka merged commit 9751e1d into python:main Jun 29, 2026
53 checks passed
serhiy-storchaka deleted the gh-152587-require-name branch July 1, 2026 16:47
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant


Back | FazBrowse Home | New Git URL