• Raymond Hettinger's avatar
    Improvements to set.py: · 6a180127
    Raymond Hettinger yazdı
    * 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.
    
    * Deprecated 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.
    
    Will backport to Py2.3.1 so that the interface remains consistent
    across versions.  The deprecation of update() will be changed to
    a FutureWarning.
    6a180127
Adı
Son kayıt (commit)
Son güncelleme
..
api Loading commit data...
dist Loading commit data...
doc Loading commit data...
ext Loading commit data...
html Loading commit data...
info Loading commit data...
inst Loading commit data...
isilo Loading commit data...
lib Loading commit data...
mac Loading commit data...
paper-a4 Loading commit data...
paper-letter Loading commit data...
perl Loading commit data...
ref Loading commit data...
templates Loading commit data...
texinputs Loading commit data...
tools Loading commit data...
tut Loading commit data...
whatsnew Loading commit data...
.cvsignore Loading commit data...
ACKS Loading commit data...
Makefile Loading commit data...
Makefile.deps Loading commit data...
README Loading commit data...
TODO Loading commit data...
python-docs.txt Loading commit data...