`nogil`'s Strictest Rule: No Python Objects Allowed

`nogil` blocks strictly forbid direct access to Python objects, including built-in types like lists and dictionaries, requiring explicit conversion to C-compatible types like C arrays or `memoryviews`.

Sources

Open the full topic