Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions pep-0703.rst
Original file line number Diff line number Diff line change
Expand Up @@ -474,7 +474,7 @@ field.
Default (``0b00``)
""""""""""""""""""

Objects are intitially created in the default state. This is the only
Objects are initially created in the default state. This is the only
state that allows for the quick deallocation code path. Otherwise, the
thread must merge the local and shared reference count fields, which
requires an atomic compare-and-swap.
Expand Down Expand Up @@ -1311,7 +1311,7 @@ The ``PYTHONGIL=0`` override is important because extensions that are
not thread-safe can still be useful in multi-threaded applications. For
example, one may want to use the extension from only a single thread or
guard access by locks. For context, there are already some extensions
that aren not thread-safe even with the GIL, and users already have to
that are not thread-safe even with the GIL, and users already have to
take these sorts of steps.

The ``PYTHONGIL=1`` override is sometimes useful for debugging.
Expand Down