Skip to content

Conversation

@hauntsaninja
Copy link
Collaborator

Since we're adding this to our contribution guidelines in
#5205

Since we're adding this to our contribution guidelines in
python#5205
@JelleZijlstra
Copy link
Member

Thanks for putting in all the work here! Clearly the convention isn't as universal as I thought; maybe it's not worth standardizing?

@hauntsaninja
Copy link
Collaborator Author

I'd say it's pretty predominant, I reckon this is a fraction of sys.version checks (maybe 10%). "worth it" is really subjective for this kind of thing, but I do prefer it / consciously phrase if-statements this way in my PRs (many of which introduce sys.version checks)

@JelleZijlstra JelleZijlstra merged commit fa9d5a5 into python:master Apr 11, 2021
SergeyZh pushed a commit to JetBrains/intellij-community that referenced this pull request Apr 28, 2021
Temporarily exclude python/typeshed#4987
Temporarily exclude python/typeshed#5206 from `collections/__init__.pyi`

GitOrigin-RevId: 78775cc6c09fd8d867d8f46bf9908bd5cdbb05f6
@hauntsaninja hauntsaninja deleted the futurefirst branch May 2, 2021 04:40
SergeyZh pushed a commit to JetBrains/intellij-community that referenced this pull request May 27, 2021
…10, PY-44548, PY-46355, PY-48948, PY-48958)

Temporarily exclude python/typeshed#4987
Temporarily exclude python/typeshed#5206 from `collections/__init__.pyi`

GitOrigin-RevId: 1bf4e6120ecd5927a113716878e503239ba33873
SergeyZh pushed a commit to JetBrains/intellij-community that referenced this pull request Aug 18, 2021
Temporarily exclude python/typeshed#4987
Temporarily exclude python/typeshed#5206 from `collections/__init__.pyi`

GitOrigin-RevId: 6146af923d749b0cff56e823101b8f2b8525383d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants