3 ms·
You can list.append from 2 threads without worrying about crashing, although I would not recommend it. It's possible to do without the GIL, but up to now, it's
by sametmax 8y ago
You can list.append from 2 threads without worrying about crashing, although I would not recommend it.
It's possible to do without the GIL, but up to now, it's been a damn to way of doing that.
- int_19h 8y agoI don't think that's guaranteed, though.
- jlokier 8y agoloeg says, "programs rely on this". Guarantee or not, it constrains whether something is usable as a drop-in replacement interpreter, especially if people can't tell which programs will break, and doubly so if the breakage is a subtle data corruption race that doesn't show up in tests.