[Python-checkins] python/dist/src/Misc NEWS,1.337.2.4.2.85,1.337.2.4.2.86
tim_one@users.sourceforge.net
tim_one@users.sourceforge.net
Thu, 29 May 2003 12:31:19 -0700
Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv17377/misc
Modified Files:
Tag: release22-maint
NEWS
Log Message:
Typo repair.
Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.337.2.4.2.85
retrieving revision 1.337.2.4.2.86
diff -C2 -d -r1.337.2.4.2.85 -r1.337.2.4.2.86
*** NEWS 29 May 2003 19:26:06 -0000 1.337.2.4.2.85
--- NEWS 29 May 2003 19:31:15 -0000 1.337.2.4.2.86
***************
*** 15,19 ****
- Backport SF 742860: new, improved __delitem__ for WeakKeyDictionary.
! This old __delitem__ wasn't threadsafe, was very inefficient (expected
time O(len(dict)) instead of O(1)), and could raise a spurious
RuntimeError if another thread mutated the dict during __delitem__, or if
--- 15,19 ----
- Backport SF 742860: new, improved __delitem__ for WeakKeyDictionary.
! The old __delitem__ wasn't threadsafe, was very inefficient (expected
time O(len(dict)) instead of O(1)), and could raise a spurious
RuntimeError if another thread mutated the dict during __delitem__, or if
***************
*** 25,29 ****
narrow the search to those keys with the same hash code. All of these
are considered to be bugs. A new implementation of __delitem__ repairs
! all that, but note that fixing these bugs may change visible behavior
in code relying (whether intentionally or accidentally) on old behavior.
--- 25,29 ----
narrow the search to those keys with the same hash code. All of these
are considered to be bugs. A new implementation of __delitem__ repairs
! all that, but note that fixing these bugs may change visible behavior
in code relying (whether intentionally or accidentally) on old behavior.