Do you think a Python dictionary is thread safe?

PythonProgramming

Yes, a Python dictionary is thread safe. Actually, all built-ins in python are thread safe. You can read moreabout this in the documentation: https://docs.python.org/3/glossary.html#term-global-interpreter-lock

raja
Updated on 30-Jul-2019 22:30:22

Advertisements