Are atomic operations thread safe in Python? Can immutable objects, such as, strings, be created on one thread and then accessed by another thread, without using locks? Such operations are not guaranteed thread safe in Java due to caching optimizations. If someone could point me to reference documentation on this, that would be great.