GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | |||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | |||||
GeezerVison is showing github.com — Windows command line does not support single quotes. by BruceLee569 · Pull Request #91856 · python/cpython Conversation
|
|
The following commit authors need to sign the Contributor License Agreement: |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Yes, you're correct. However, powershell does not require double quotes. Powershell is like a simulation of |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
On Unix, single quotes are better because double quotes may do variable substitution. I'm not familiar enough with Windows to opine on what quotes are better there. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
|
Maybe just say "single or double quotes"? This is a hint for people who are both new to terminals and new to Python, but it isn't really our responsibility to go too deep into how to use every single terminal in the world. In general, Windows and cmd don't care about quotes, but the apps themselves do the splitting and might care. PowerShell expands variables within double quotes, but not within single quotes, but it's hard to say which may be preferred in any given case. So basically, "it's complicated," and we should probably just avoid having too strong an opinion. |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
There was an error while loading. Please reload this page.
Closes python#91856. On Windows double quotes are sometimes better, on Unix usually single quotes. It's not our place to explain that, so just don't.
|
Opened #98204 because of the CLA issues on this one. (The change we ended up with is distinct enough from @BruceLee569's original change that I don't think there's an issue with the new PR.) |
Sorry, something went wrong.
There was an error while loading. Please reload this page.
Closes #91856. On Windows double quotes are sometimes better, on Unix usually single quotes. It's not our place to explain that, so just don't.
Closes pythonGH-91856. On Windows double quotes are sometimes better, on Unix usually single quotes. It's not our place to explain that, so just don't. (cherry picked from commit 5f8ca1b) Co-authored-by: Jelle Zijlstra <[email protected]>
Closes pythonGH-91856. On Windows double quotes are sometimes better, on Unix usually single quotes. It's not our place to explain that, so just don't. (cherry picked from commit 5f8ca1b) Co-authored-by: Jelle Zijlstra <[email protected]>
Closes GH-91856. On Windows double quotes are sometimes better, on Unix usually single quotes. It's not our place to explain that, so just don't. (cherry picked from commit 5f8ca1b) Co-authored-by: Jelle Zijlstra <[email protected]>
Closes GH-91856. On Windows double quotes are sometimes better, on Unix usually single quotes. It's not our place to explain that, so just don't. (cherry picked from commit 5f8ca1b) Co-authored-by: Jelle Zijlstra <[email protected]>
Closes GH-91856. On Windows double quotes are sometimes better, on Unix usually single quotes. It's not our place to explain that, so just don't. (cherry picked from commit 5f8ca1b) Co-authored-by: Jelle Zijlstra <[email protected]>
There was an error while loading. Please reload this page.
Successfully merging this pull request may close these issues.
There was an error while loading. Please reload this page.