[Python-checkins] python/dist/src/Misc NEWS,1.831.4.15,1.831.4.16

rhettinger at users.sourceforge.net rhettinger at users.sourceforge.net
Sun Aug 17 16:09:01 EDT 2003


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

Modified Files:
      Tag: release23-maint
	NEWS 
Log Message:
Backport improvements to set.py so that the interface will remain
consistent across versions. 

* Relaxed the argument restrictions for non-operator methods.  They now
  allow any iterable instead of requiring a set.  This makes the module
  a little easier to use and paves the way for an efficient C 
  implementation which can take better advantage of iterable arguments
  while screening out immutables.

* Added a PendingDeprecationWarning for Set.update() because it now 
  duplicates Set.union_update()

* Adapted the tests and docs to include the above changes.

* Added more test coverage including testing identities and checking
  to make sure non-restartable generators work as arguments.



Index: NEWS
===================================================================
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.831.4.15
retrieving revision 1.831.4.16
diff -C2 -d -r1.831.4.15 -r1.831.4.16
*** NEWS	15 Aug 2003 21:14:50 -0000	1.831.4.15
--- NEWS	17 Aug 2003 22:08:58 -0000	1.831.4.16
***************
*** 28,32 ****
  -------
  
! - sets.py can now run under Py2.2
  
  - Bug #778964:  random.seed() now uses fractional seconds so that
--- 28,35 ----
  -------
  
! - sets.py now runs under Py2.2.  In addition, the argument restrictions
!   for most set methods (but not the operators) have been relaxed to
!   allow any iterable.  Also the Set.update() has been deprecated because
!   it duplicates Set.union_update().
  
  - Bug #778964:  random.seed() now uses fractional seconds so that





More information about the Python-checkins mailing list