Staging
v0.8.1
https://github.com/python/cpython
Revision 27ea5783b33b55a2dbce2bb2dd74904de4032f4d authored by Raymond Hettinger on 17 August 2003, 22:08:58 UTC, committed by Raymond Hettinger on 17 August 2003, 22:08:58 UTC
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.
1 parent fcc69f1
History
Tip revision: 27ea5783b33b55a2dbce2bb2dd74904de4032f4d authored by Raymond Hettinger on 17 August 2003, 22:08:58 UTC
Backport improvements to set.py so that the interface will remain
Tip revision: 27ea578
File Mode Size
Demo
Doc
Grammar
Include
Lib
Mac
Misc
Modules
Objects
PC
PCbuild
Parser
Python
RISCOS
Tools
.cvsignore -rw-r--r-- 109 bytes
.hgtags -rw-r--r-- 2.2 KB
LICENSE -rw-r--r-- 12.6 KB
Makefile.pre.in -rw-r--r-- 31.0 KB
README -rw-r--r-- 47.8 KB
configure -rwxr-xr-x 514.5 KB
configure.in -rw-r--r-- 80.8 KB
install-sh -rwxr-xr-x 7.0 KB
pyconfig.h.in -rw-r--r-- 24.4 KB
setup.py -rw-r--r-- 49.9 KB

README

back to top