Re:Data races in Python, despite the Global Interpreter Lock
by jasonhansel on Monday February 21, 2022 @05:57PM
(#30421832)
In general, "+=" probably needs to be non-atomic to support "__add__" overloading; Python wouldn't be able to call arbitrary "__add__" methods in a way that could guarantee atomicity.
[ Parent
| on HN ]
There are no comments on this comment yet.