Re: Local variables and thread safety

2015-09-19 Thread dieter
Saint Desmond writes: > Dear Team, > Kindly advise if variables declared within a function are thread safe. In general, yes. However, there are exceptions. First of all, "variable" is not the optimal term to use in this context. In Python, a "variable" is nothing more than the binding of a name

Local variables and thread safety

2015-09-19 Thread Saint Desmond
Dear Team, Kindly advise if variables declared within a function are thread safe. I would like to share a snippet with you if you wouldn’t mind. Thanks. -- https://mail.python.org/mailman/listinfo/python-list