[issue46586] In documentation contents enum.property erroneously links to built-in property

2022-02-18 Thread Meer Suri
Change by Meer Suri : -- pull_requests: +29564 pull_request: https://github.com/python/cpython/pull/31429 ___ Python tracker <https://bugs.python.org/issue46

[issue46586] In documentation contents enum.property erroneously links to built-in property

2022-02-14 Thread Meer Suri
Meer Suri added the comment: https://docs.python.org/3.11/library/io.html?highlight=io#text-i-o - The easiest way to create a text stream is with open(), optionally specifying an encoding: https://docs.python.org/3.11/library/io.html?highlight=io#binary-i-o - The easiest way to create a

[issue46586] In documentation contents enum.property erroneously links to built-in property

2022-02-13 Thread Meer Suri
Meer Suri added the comment: Looks like another one - https://docs.python.org/3.11/library/fileinput.html#fileinput.hook_encoded Deprecated since version 3.10: This function is deprecated since input() and FileInput now have encoding and errors parameters. The input() here points to

[issue46586] In documentation contents enum.property erroneously links to built-in property

2022-02-13 Thread Meer Suri
Meer Suri added the comment: Also this one?- https://docs.python.org/3.11/library/urllib.request.html?highlight=urllib%20request#urllib.request.OpenerDirector.open Arguments, return values and exceptions raised are the same as those of urlopen() (which simply calls the open() method on the

[issue46586] In documentation contents enum.property erroneously links to built-in property

2022-02-13 Thread Meer Suri
Meer Suri added the comment: Thanks Jelle for the cool idea of the script to look for more instances of this problem. I've been working on this script and am still refining it, but one of the candidates that my program returned is in zipfile.rst - https://docs.python.org/3.11/li

[issue46586] In documentation contents enum.property erroneously links to built-in property

2022-02-10 Thread Meer Suri
Meer Suri added the comment: Can someone guide me on why I'm getting a no-new-line at end of file error for the NEWS entry when I didnt change this file in the last commit and it passed the Azure checks earlier Error: [1] ../Misc/NEWS.d/next/Documentation/2022-02-08-15-38-1

[issue46586] In documentation contents enum.property erroneously links to built-in property

2022-02-10 Thread Meer Suri
Meer Suri added the comment: It took me some time to figure out how to prevent the creation of a reference/hyperlink using the ! prefix. I've made the change to remove the references to the max and min attributes of sys.float_info and pushed. How do I find other instances of this pr

[issue46494] Mention typing_extensions in the typing documentation

2022-02-10 Thread Meer Suri
Change by Meer Suri : -- keywords: +patch pull_requests: +29426 stage: -> patch review pull_request: https://github.com/python/cpython/pull/31260 ___ Python tracker <https://bugs.python.org/issu

[issue46494] Mention typing_extensions in the typing documentation

2022-02-09 Thread Meer Suri
Meer Suri added the comment: (First time contributor looking for guidance) Is this diff okay? I'm not sure if the package name should be typing-extensions, or if the formatting is okay diff --git a/Doc/library/typing.rst b/Doc/library/typing.rst index 94a46b01a1..c0fe656c1c 100644 ---

[issue46586] In documentation contents enum.property erroneously links to built-in property

2022-02-09 Thread Meer Suri
Meer Suri added the comment: I looked through the sys.float_info docs and I guess that you are referring to the max and min attributes of sys.float_info that are linking to the built-in max() and min() functions? In that case as there is no documentation for the max and min attributes of

[issue46586] In documentation contents enum.property erroneously links to built-in property

2022-02-06 Thread Meer Suri
Meer Suri added the comment: (First time contributor here seeking guidance) I see that this problem of automatically linking to the unintended page has occurred in other parts of the docs and has been handled in another way - In Doc/library/functions.rst, local targets are used with