[issue11875] OrderedDict.__reduce__ not threadsafe

2011-04-19 Thread Mario Juric
New submission from Mario Juric mju...@ias.edu: The implementation of OrderedDict.__reduce__() in Python 2.7.1 is not thread safe because of the following four lines: tmp = self.__map, self.__root del self.__map, self.__root inst_dict = vars(self).copy() self

[issue11875] OrderedDict.__reduce__ not threadsafe

2011-04-19 Thread Mario Juric
Mario Juric mju...@ias.edu added the comment: Hi Raymond, Excellent! Many thanks for such a quick fix, this has been bugging us for months! -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue11875