-
-
Notifications
You must be signed in to change notification settings - Fork 956
Add free-threaded to style guide (#1353) #1722
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Add free-threaded to style guide (#1353) #1722
Conversation
Documentation build overview
Show files changed (5 files in total): 📝 5 modified | ➕ 0 added | ➖ 0 deleted
|
Co-authored-by: Hugo van Kemenade <[email protected]>
ab0e75a to
1012e06
Compare
1012e06 to
b943f69
Compare
| @@ -1,4 +1,4 @@ | |||
| .. _style-guide: | |||
| .. _style-guide: | |||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why the unrelated change?
documentation/style-guide.rst
Outdated
|
|
||
| CPU | ||
| Central processing unit. No need to spell out. | ||
| Central processing unit. No need to spell out. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you revert the unrelated changes?
documentation/style-guide.rst
Outdated
| The preferred term for the build mode that makes the global interpreter | ||
| lock (GIL) optional (per :pep:`703`). Avoid using "No-GIL" to prevent | ||
| double negatives (for example, "non-no-GIL"). |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The indentation is incorrect.
documentation/style-guide.rst
Outdated
|
|
||
| free-threaded | ||
| The preferred term for the build mode that makes the global interpreter | ||
| lock (GIL) optional (per :pep:`703`). Avoid using "No-GIL" to prevent |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| lock (GIL) optional (per :pep:`703`). Avoid using "No-GIL" to prevent | |
| lock (GIL) optional (per :pep:`703`). Avoid using "No-GIL" to avoid |
A little suggestion, "prevent" seems a little odd here.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@StanFromIreland I've applied all your feedback. The PR has been updated with the fixes.
- Correct CPU indentation to 3 spaces - Correct free-threaded indentation to 3 spaces - Change 'prevent' to 'avoid' as suggested by reviewer
Closes #1353
Added 'free-threaded' to the style guide as the preferred term for PEP 703 to avoid double-negatives.