python / cpython

The Python programming language
https://www.python.org
Other
62.75k stars 30.07k forks source link

Documentation for PowerShell instructions #77526

Open 6f9d6bd7-2986-405c-9fe3-d0ae5d5d04af opened 6 years ago

6f9d6bd7-2986-405c-9fe3-d0ae5d5d04af commented 6 years ago
BPO 33345
Nosy @pfmoore, @tjguk, @zware, @zooba, @stevepiercy

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: ```python assignee = None closed_at = None created_at = labels = ['3.8', 'type-feature', '3.7', 'OS-windows', 'docs'] title = 'Documentation for PowerShell instructions' updated_at = user = 'https://github.com/stevepiercy' ``` bugs.python.org fields: ```python activity = actor = 'stevepiercy' assignee = 'docs@python' closed = False closed_date = None closer = None components = ['Documentation', 'Windows'] creation = creator = 'stevepiercy' dependencies = [] files = [] hgrepos = [] issue_num = 33345 keywords = [] message_count = 2.0 messages = ['315690', '315722'] nosy_count = 6.0 nosy_names = ['paul.moore', 'tim.golden', 'docs@python', 'zach.ware', 'steve.dower', 'stevepiercy'] pr_nums = [] priority = 'normal' resolution = None stage = None status = 'open' superseder = None type = 'enhancement' url = 'https://bugs.python.org/issue33345' versions = ['Python 3.6', 'Python 3.7', 'Python 3.8'] ```

6f9d6bd7-2986-405c-9fe3-d0ae5d5d04af commented 6 years ago

Effective 2017-11-20, PowerShell is now the default command shell on Windows 10, and possibly other versions. Command Prompt (cmd.exe) is still present, just no longer the default.

https://support.microsoft.com/en-us/help/4027690/windows-powershell-is-replacing-command-prompt

Current instructions for installing and configuring Python on Windows reference only Command Prompt. There may be other places.

https://docs.python.org/3/using/windows.html#configuring-python

FYI, we're in the process of updating our documentation for Pyramid where we have both PowerShell and Command Prompt. At some point in the future, we may drop the latter.

https://github.com/Pylons/pyramid/issues/3260

Let me know what y'all think is the best way to proceed, even if that is no action.

6f9d6bd7-2986-405c-9fe3-d0ae5d5d04af commented 6 years ago

After reviewing PowerShell syntax, I found it is impractical to support in Pyramid's documentation. The discussion we had may be useful.

https://github.com/Pylons/pyramid/issues/3260