[pypy-dev] Thinking about the GIL

Benjamin Peterson benjamin at python.org
Mon Mar 14 20:28:39 CET 2011


2011/3/14 Timothy Baldridge <tbaldridge at gmail.com>:
> They may not be thread-safe, but as far as a program goes, do we
> really care? If I have two threads adding items to the same list,
> should I really be expecting the interpreter to keep things straight?
> What's wrong with forcing the user to lock structures before editing
> them? This is something that Java, and C#, and C++ all require.

Yes, the Python interpreter should never crash because of user mistakes.



-- 
Regards,
Benjamin



More information about the Pypy-dev mailing list