>This definitely slows Python down. If an object is known to be visible to >only one thread, then you can avoid the atomic inc/dec. But that leads to >madness :-) I would much rather see the language extended to indicate that a particular variable is "shared" across free-threaded interpreters. The hit of taking a mutex on every incref/decref is way bad.