python / devguide

The Python developer's guide
https://devguide.python.org/
Creative Commons Zero v1.0 Universal
1.84k stars 760 forks source link

Disallow "No-GIL" from the glossary of specific words #1353

Open hugovk opened 1 month ago

hugovk commented 1 month ago

The Steering Council, on accepting PEP 703 (Making the Global Interpreter Lock Optional in CPython), said:

We want to avoid negatives in terms and flags and such, so we won’t get into double-negative terrain (like we do when we talk about ‘non no-GIL’). We’d like a positive, clear term to talk about the no-GIL build, and we’re suggesting ‘free-threaded’. (Relatedly, that’s why the build mode/ABI letter is ‘t’ and not ‘n’; that change was already made.)

"No-GIL" comes up regularly; shall we add this to the style guide so we have something to point to beyond the lengthy acceptance message?

picnixz commented 1 month ago

By the way, do we have a tool checking for such strings actually? because we could run a simple grep on the files as a GH action so that it's automatic.

hugovk commented 1 month ago

We don't, and we wouldn't want to fail on things like https://github.com/python/cpython/blob/bd3d31f380cd451a4ab6da5fbfde463fed95b5b5/Misc/NEWS.d/3.13.0a2.rst?plain=1#L1493

picnixz commented 1 month ago

You could have a tool in Python with an ignore file including the lines to ignore (having a tool could help people that do not know about bad words but I don't know how much of ignored lines we will need to have...)