Daniel Dittmar wrote:

> Dictionaries (and probably most other Python types that are implemented 
> in C) are inherently thread safe.

That sounds like a dangerous assumption to me.

Are you relying on the Global Interpreter Lock?
Is is guaranteed?
Does that safety transfer to Jython?
How can I tell if any particular object is thread-safe?

I don't know the answers to these questions, and I have the 
feeling that it is probably best to play safe and always use your 
own explicit locking.

The Cog
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to