[Python-checkins] python/dist/src/Misc NEWS,1.876,1.877

aleax at users.sourceforge.net aleax at users.sourceforge.net
Sat Oct 25 09:03:00 EDT 2003


Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1:/tmp/cvs-serv5132

Modified Files:
	NEWS 
Log Message:
document the performance fix to builtin_sum().



Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.876
retrieving revision 1.877
diff -C2 -d -r1.876 -r1.877
*** NEWS	24 Oct 2003 08:45:22 -0000	1.876
--- NEWS	25 Oct 2003 13:02:57 -0000	1.877
***************
*** 24,27 ****
--- 24,30 ----
    records with equal keys is unchanged).
  
+ - Added a list.copysort() method that returns a copy of the sorted list
+   while leaving the original intact.
+ 
  - Added test whether wchar_t is signed or not. A signed wchar_t is not
    usable as internal unicode type base for Py_UNICODE since the
***************
*** 44,47 ****
--- 47,53 ----
  - obj.__contains__() now returns True/False instead of 1/0.  SF patch
    820195.
+ 
+ - builtin_sum() now uses PyNumber_InPlaceAdd, fixing a previous
+   performance bug for sum(list_of_lists) and similar cases.
  
  Extension modules





More information about the Python-checkins mailing list