2 ms·
The global interpreter lock is the price paid for being able to monkey-patch code and objects from one thread while they are being used in another. That falls
by Animats 11y ago
The global interpreter lock is the price paid for being able to monkey-patch code and objects from one thread while they are being used in another. That falls out of the original CPython interpreter, which is a naive interpreter in which everything is a dictionary. It would be "un-Pythonic" to change that.
- catnaroek 11y ago> The global interpreter lock is the price paid for being able to monkey-patch code and objects from one thread while they are being used in another. So, in other words, “we don't trust our users to do concurrency correctly, and we need to keep our system safe in spite of that”?