3 ms·
> how are they going to do this while making sure programs are still correct? So much existing multithreaded Python code is written in an unsafe manner. a) It
by usrbinbash 3y ago
> how are they going to do this while making sure programs are still correct? So much existing multithreaded Python code is written in an unsafe manner.
a) It isn't a language maintainers job to make sure unsafe code written by someone else in that language runs correctly.
b) The GIL doesn't prevent data races. It keeps the internal running of the interpreter sane, that's it's only job. There is a reason the threading library has a plethora of lock-classes