[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-11-07 Thread Éric Araujo
Éric Araujo added the comment: I think that second PR was linked using the GitHub PR link field present in the bug comment form. -- ___ Python tracker ___

[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-11-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: PR-29419 solves the issue in #45717 of not giving a link for _* modules with no doc. It does not solve this issue of giving the proper link for module that need non-standard links, which typically need a '#' suffix, as in

[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-11-07 Thread Zachary Ware
Change by Zachary Ware : -- pull_requests: +27713 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/29459 ___ Python tracker ___

[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-11-05 Thread Zachary Ware
Zachary Ware added the comment: This actually turned out to be less effort than I expected (though I still should have been asleep 2 hours ago), so I've gone ahead and opened GH-29419 to implement what I suggested. -- stage: patch review -> test needed

[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-11-05 Thread Zachary Ware
Change by Zachary Ware : -- keywords: +patch pull_requests: +27672 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/29419 ___ Python tracker

[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-11-04 Thread Joshua
Joshua added the comment: I think that option 4 would work best but instead of putting any logic in (Lib/pydoc_data/topics.py)[https://github.com/python/cpython/blob/main/Lib/pydoc_data/topics.py] we could put the logic for working with private modules as well and other edge cases in

[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-11-04 Thread Zachary Ware
Zachary Ware added the comment: Option 4: generate a list of modules (or a mapping of module names to documentation files) that have documentation when generating Lib/pydoc_data/topics.py, and teach pydoc.help to not include the link when it knows the module doesn't have documentation.

[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-10-22 Thread Éric Araujo
Éric Araujo added the comment: Option 3 seems simple and ok to me. -- nosy: +eric.araujo ___ Python tracker ___ ___

[issue40051] Give proper link in help(idlelib/turtledemo/tkinter.sub/test_*/?)

2021-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: As the title suggested, this is a generic help(module) issue that involves several library modules, including idlelib. It just happened to be reported for 2to3. For example, the generated text for import idlelib; help(idlelib) includes MODULE