Skip to content

[3.14] gh-86726: Document tkinter method-name conflicts (GH-151917)#151933

Merged
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-4de5683-3.14
Jun 23, 2026
Merged

[3.14] gh-86726: Document tkinter method-name conflicts (GH-151917)#151933
serhiy-storchaka merged 1 commit into
python:3.14from
serhiy-storchaka:backport-4de5683-3.14

Conversation

@serhiy-storchaka

@serhiy-storchaka serhiy-storchaka commented Jun 22, 2026

Copy link
Copy Markdown
Member

Document where widget methods shadow inherited Misc, geometry-manager and Wm methods, correct the inaccurate "size/bbox is an alias of grid_size/grid_bbox" claims, and add "# overrides X" comments at the definitions.

Also document the geometry-manager ambiguity: the short names forget, info, slaves and propagate are defined by Pack, Place and Grid but resolve to the pack variant.

Cross-reference the window-manager methods grid, forget and state with the same-named grid geometry manager, Pack.forget and ttk.Widget.state.

(cherry picked from commit 4de5683)

…GH-151917)

Document where widget methods shadow inherited Misc, geometry-manager and
Wm methods, correct the inaccurate "size/bbox is an alias of
grid_size/grid_bbox" claims, and add "# overrides X" comments at the
definitions.

Also document the geometry-manager ambiguity: the short names forget, info,
slaves, content and propagate are defined by Pack, Place and Grid but
resolve to the pack variant.

Cross-reference the window-manager methods grid, forget and state with the
same-named grid geometry manager, Pack.forget and ttk.Widget.state.

(cherry picked from commit 4de5683)

Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
Co-authored-by: Claude Opus 4.8 <noreply@anthropic.com>
@serhiy-storchaka serhiy-storchaka merged commit 62245c9 into python:3.14 Jun 23, 2026
88 of 90 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant