On Fri, May 29, 2020 at 02:44:40PM -0400, tritium-l...@sdamon.com wrote:

> These are things that a runtime implementer has to decide on.  These are
> also thing that a runtime use gets to complain about.  "Don't share data
> amongst threads" is not advice to the cpython user to get truly parallel
> thread execution, its gaslighting them on what the GIL does and when.  Its
> actively harmful to people who read that and don't know any better.

Please don't accuse others of gaslighting because you don't like the 
advice they give. Gaslighting is an expecially serious, malicious form 
of pyschological abuse. It doesn't mean "I disagree with your opinion",  
or "you're factually wrong", or even "you're lying".


As for being "actively harmful", I think that the advice not to share 
mutable data between threads isn't harmful at all, but pretty close to 
essential. If you want to avoid deadlocks, livelocks and race 
conditions, you should avoid mutable data as much as possible.

-- 
Steven
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/I43TEDSGSL7Z4ASOFBZB2KFZ7JLJDHNL/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to