Issue735205

classification
Title: PyStringMap#setdefault not synchronized
Type: Severity: normal
Components: Core Versions:
Milestone:
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: zyasoft
Priority: low Keywords:

Created on 2003-05-09.12:36:27 by anonymous, last changed 2009-03-08.04:38:14 by zyasoft.

Messages
msg839 (view) Author: Nobody/Anonymous (nobody) Date: 2003-05-09.12:36:27
Hi,

org.python.core.PyStringMap#setdefault(PyObject key,
PyObject failobj)

should be synchronized.

I'm not sure about 
org.python.core.PyDictionary#setdefault(PyObject key,
PyObject failobj).

Anselm Kruis

email: A.Kruis@science-computing.de
msg4189 (view) Author: Jim Baker (zyasoft) Date: 2009-03-08.04:38:13
Fixed in r6085, using putIfAbsent (instead of synchronized).
History
Date User Action Args
2009-03-08 04:38:14zyasoftsetstatus: open -> closed
nosy: + zyasoft
messages: + msg4189
2003-05-09 12:36:27anonymouscreate