You seem to be worried that writing to part of a structure somehow "dirties" the rest so it's no longer thread-safe. That's not how it works, a structure is really just some data laid out contiguously ...
Free-threaded Python is now officially supported, though using it remains optional. Here are four tips for developers getting started with true parallelism in Python. Until recently, Python threads ...