You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Update link to Tcl/Tk 8.6 man pages in tkinter.rst #77461
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee=Noneclosed_at=<Date2018-04-26.14:06:28.021>created_at=<Date2018-04-14.20:12:42.294>labels= ['3.7', '3.8', 'type-feature', 'expert-tkinter', 'docs']
title='Update link to Tcl/Tk 8.6 man pages in tkinter.rst'updated_at=<Date2018-04-26.14:10:13.680>user='https://github.com/andresdelfino'
IMHO, it's important to provide the link of the specific version of Tcl/Tk that Python actually uses. Otherwise, when 8.7 users might read the wrong documentation.
Different builds of Python can use different versions of Tcl/Tk (as well as other external libraries). Tkinter supports features added in versions newer than minimal.
Now we mention that python -m tkinter shows the installed Tcl/Tk version so users can read the right man pages.
Only mention the link to documentation page (sadly, there doesn't seem to exist an "Archived man pages", and mentioning 8.5/8.4 man pages doesn't seem right).
I have merged the two "See also" sections of the page, separating Tkinter-specific documentation from Tcl/Tk general documentation.
Activity
andresdelfino commentedon Apr 14, 2018
There are two links to the Tcl/Tk documentation on tkinter.rst. One of them points to 8.5 man pages.
serhiy-storchaka commentedon Apr 15, 2018
I suggest to just remove the version suffix "8.6".
andresdelfino commentedon Apr 15, 2018
Replaces msg315327:
IMHO, it's important to provide the link of the specific version of Tcl/Tk that Python actually uses. Otherwise, when 8.7 users might read the wrong documentation.
Perhaps I didn't get your comment?
serhiy-storchaka commentedon Apr 15, 2018
Different builds of Python can use different versions of Tcl/Tk (as well as other external libraries). Tkinter supports features added in versions newer than minimal.
andresdelfino commentedon Apr 15, 2018
Perhaps a comment in the lines of:
---
You can find the relevant Tk man pages by checking what version is installed in your system:
python -c "import tkinter; print(tkinter.TkVersion)"
---
at the top of the page, and then removing all version suffixes as you suggested?
andresdelfino commentedon Apr 22, 2018
I have updated the PR:
Now we mention that python -m tkinter shows the installed Tcl/Tk version so users can read the right man pages.
Only mention the link to documentation page (sadly, there doesn't seem to exist an "Archived man pages", and mentioning 8.5/8.4 man pages doesn't seem right).
I have merged the two "See also" sections of the page, separating Tkinter-specific documentation from Tcl/Tk general documentation.
serhiy-storchaka commentedon Apr 25, 2018
New changeset 67a8f4f by Serhiy Storchaka (Andrés Delfino) in branch 'master':
bpo-33280: Reorganize external Tcl/Tk references. (GH-6473)
67a8f4f
miss-islington commentedon Apr 25, 2018
New changeset 53d36cc by Miss Islington (bot) in branch '3.7':
bpo-33280: Reorganize external Tcl/Tk references. (GH-6473)
53d36cc
serhiy-storchaka commentedon Apr 26, 2018
New changeset 1c6c851 by Serhiy Storchaka (Andrés Delfino) in branch '2.7':
[2.7] bpo-33280: Reorganize external Tcl/Tk references. (GH-6473). (GH-6607)
1c6c851
andresdelfino commentedon Apr 26, 2018
There's still an open PR to backport this to 3.6:
#6602
serhiy-storchaka commentedon Apr 26, 2018
New changeset 4533494 by Serhiy Storchaka (Andrés Delfino) in branch '3.6':
[3.6] bpo-33280: Reorganize external Tcl/Tk references. (GH-6473). (bpo-6602)
4533494