[issue40012] Avoid Python 2 documentation to appear in Web search results

2020-03-19 Thread Peter Bittner
New submission from Peter Bittner : Currently, when you do a Web search (e.g. using Google, Bing, Yahoo!, DuckDuckGo, et al.) for a Python module or function call you'll find a link to the related Python 2 documentation first. How to reproduce: 1. Search for simply "os.enviro

[issue39383] Mention Darwin as a potential value for platform.system()

2020-01-18 Thread Peter Bittner
New submission from Peter Bittner : The platform module's documentation mentions 'Linux', 'Windows' and 'Java' explicitly as values for `platform.system()`. https://docs.python.org/3/library/platform.html#platform.system Given the popularity of mac

[issue38623] Python documentation should mention how to find site-packages

2020-01-07 Thread Peter Bittner
Peter Bittner added the comment: Python learners deserve to know about "site-packages" and (optionally) "dist-packages". This is a "random note", it's an explanation that is missing in the tutorial. - Site-packages "is the target directory of manual

[issue38623] Python documentation should mention how to find site-packages

2020-01-06 Thread Peter Bittner
Peter Bittner added the comment: There is a specific question this change attempts to answer: "Where is the module I imported located in the file system?" I suspect this comes up a lot because developers want to inspect or mess with installed modules, add debug output and th

[issue38623] Python documentation should mention how to find site-packages

2019-10-28 Thread Peter Bittner
Change by Peter Bittner : -- keywords: +patch pull_requests: +16500 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16974 ___ Python tracker <https://bugs.python.org/issu

[issue38623] Python documentation should mention how to find site-packages

2019-10-28 Thread Peter Bittner
New submission from Peter Bittner : A popular question on StackOverflow is, "How do I find the location of my Python site-packages directory?" [1] While this may hint at a deeper problem that needs to be solved, a user suggested [2] the accepted answer to be added to Python&