• 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
Demo Loading commit data...
Doc Loading commit data...
Grammar Loading commit data...
Include Loading commit data...
Lib Loading commit data...
Mac Loading commit data...
Misc Loading commit data...
Modules Loading commit data...
Objects Loading commit data...
PC Loading commit data...
PCbuild Loading commit data...
Parser Loading commit data...
Python Loading commit data...
RISCOS Loading commit data...
Tools Loading commit data...
.cvsignore Loading commit data...
.hgtags Loading commit data...
LICENSE Loading commit data...
Makefile.pre.in Loading commit data...
README Loading commit data...
configure Loading commit data...
configure.in Loading commit data...
install-sh Loading commit data...
pyconfig.h.in Loading commit data...
setup.py Loading commit data...