This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steve.dower
Recipients mdk, ned.deily, paul.moore, steve.dower, terry.reedy, tim.golden, zach.ware
Date 2022-03-22.22:06:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1647986801.61.0.267069224357.issue47086@roundup.psfhosted.org>
In-reply-to
Content
For the registry key, reading the default value from key "HKCU\Software\Python\PythonCore\{sys.winver}\Help\Main Python Documentation" (or HKLM - no need to worry about the Wow6432Node bit here) and passing it to os.startfile() will work for all active releases.

If the key is missing, so are the local docs, so falling back to the web docs is a fine option.
History
Date User Action Args
2022-03-22 22:06:41steve.dowersetrecipients: + steve.dower, terry.reedy, paul.moore, tim.golden, ned.deily, zach.ware, mdk
2022-03-22 22:06:41steve.dowersetmessageid: <1647986801.61.0.267069224357.issue47086@roundup.psfhosted.org>
2022-03-22 22:06:41steve.dowerlinkissue47086 messages
2022-03-22 22:06:41steve.dowercreate