[Python-Dev] New PEP: 319

Greg Ewing greg@cosc.canterbury.ac.nz
Wed, 18 Jun 2003 11:17:51 +1200 (NZST)


> Note that this same problem turns up with Greg's "synchronised class"
> idea: if the language makes locking easy people will overuse it and it
> will come back to bite you

I don't think that should be used as a reason not to provide
higher-level facilities such as synchronised classes. It just
means we need to keep clearly in mind that they're not a
magical solution that enables people to write threaded code
without understanding the issues.

They will be tools for knowledgable users, not substitutes
for said knowledge, and they should be documented as such.

Greg Ewing, Computer Science Dept, +--------------------------------------+
University of Canterbury,	   | A citizen of NewZealandCorp, a	  |
Christchurch, New Zealand	   | wholly-owned subsidiary of USA Inc.  |
greg@cosc.canterbury.ac.nz	   +--------------------------------------+