Files
cpython/Lib
Raymond Hettinger 27ea5783b3 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.
2003-08-17 22:08:58 +00:00
..
2003-08-09 09:53:51 +00:00
2002-06-11 06:22:31 +00:00
2002-11-23 12:09:28 +00:00
2003-07-21 20:47:11 +00:00
2003-02-14 01:13:01 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-06-29 05:46:54 +00:00
2003-02-19 02:35:07 +00:00
2003-02-02 23:08:27 +00:00
2003-01-16 11:02:43 +00:00
2003-05-05 14:16:41 +00:00
2003-03-07 17:30:48 +00:00
2003-02-27 00:05:31 +00:00
2003-02-27 20:14:51 +00:00
2003-02-05 21:35:07 +00:00
2002-11-13 14:38:17 +00:00
2003-02-27 20:14:51 +00:00
2003-06-29 04:21:43 +00:00
2003-06-29 05:46:54 +00:00
2003-06-29 16:59:43 +00:00
2003-02-27 23:18:46 +00:00
2003-04-24 16:02:54 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-06-15 23:26:30 +00:00
2003-06-29 16:59:59 +00:00
2002-06-01 16:07:16 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 23:18:46 +00:00
2003-07-01 05:34:27 +00:00
2003-01-31 00:35:58 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00
2003-05-27 06:30:52 +00:00
2003-06-29 04:19:37 +00:00
2003-07-18 17:45:33 +00:00
2003-04-24 16:02:54 +00:00
2003-02-27 20:14:51 +00:00
2003-06-15 15:37:18 +00:00
2003-06-29 04:18:15 +00:00
2003-02-27 20:14:51 +00:00
2002-08-15 14:59:02 +00:00
2003-05-16 01:46:51 +00:00
2002-11-25 17:25:04 +00:00
2003-02-27 20:14:51 +00:00
2003-02-27 20:14:51 +00:00