summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_set.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-37219: Remove erroneous optimization for differencing an empty set ↵Raymond Hettinger2019-06-111-0/+6
| | | | | | (GH-13965)
* Remove unused imports.Serhiy Storchaka2016-12-161-1/+0
|
* Issue #26163: Disable periodically failing test which was overly demanding ↵Raymond Hettinger2016-11-221-4/+1
| | | | of the frozenset hash function effectiveness
* MergeRaymond Hettinger2016-09-081-0/+15
|
* Issue #27076: Merge spelling from 3.5Martin Panter2016-05-261-1/+1
|\
| * Issue #27076: Doc, comment and tests spelling fixesMartin Panter2016-05-261-1/+1
| | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
* | Issue #23277: Remove more unused sys and os imports.Serhiy Storchaka2016-04-241-1/+0
| |
* | Issue #26494: Fixed crash on iterating exhausting iterators.Serhiy Storchaka2016-03-301-0/+3
|\ \ | |/ | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
| * Issue #26494: Fixed crash on iterating exhausting iterators.Serhiy Storchaka2016-03-301-0/+3
| | | | | | | | | | | | Affected classes are generic sequence iterators, iterators of str, bytes, bytearray, list, tuple, set, frozenset, dict, OrderedDict, corresponding views and os.scandir() iterator.
* | Add more tests of hash effectiveness.Raymond Hettinger2015-08-091-0/+24
|/
* Issue #24583: Fix crash when set is mutated while being updated.Raymond Hettinger2015-07-161-0/+13
|
* Added regression test for issue24581.Serhiy Storchaka2015-07-081-0/+11
|\
| * Added regression test for issue24581.Serhiy Storchaka2015-07-081-0/+11
| |
* | Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-23/+25
|\ \ | |/
| * Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-23/+25
| |
* | fix the description of bytes testsPhilip Jenvey2014-04-181-1/+1
|/
* Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-4/+4
|
* Merge 3.3 into default.Tim Peters2013-09-061-1/+1
|\ | | | | | | | | | | | | Issue 18944: fix a 1-character typo in test_set.py. The error caused test_inline_methods() to test much less than intended. Caught (& fixed) by Armin Rigo.
| * Issue 18944: fix a 1-character typo in test_set.py.Tim Peters2013-09-061-1/+1
| | | | | | | | | | The error caused test_inline_methods() to test much less than intended. Caught (& fixed) by Armin Rigo.
* | #17790: merge with 3.3.Ezio Melotti2013-04-191-84/+31
|\ \ | |/
| * #17790: test_set now works with unittest test discovery. Patch by Zachary Ware.Ezio Melotti2013-04-191-84/+31
| |
* | Issue #16148: implemented PEP 424Armin Ronacher2012-10-061-2/+0
|/
* Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson2012-04-031-0/+21
|
* Merge from 3.1: Issue #13703: add a way to randomize the hash values of ↵Georg Brandl2012-02-201-3/+20
|\ | | | | | | | | | | | | | | | | basic types (str, bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| * Issue #13703: add a way to randomize the hash values of basic types (str, ↵Georg Brandl2012-02-201-3/+20
| | | | | | | | | | | | | | | | | | bytes, datetime) in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated. The environment variable PYTHONHASHSEED and the new command line flag -R control this behavior.
| * Fix obscure set crashers (#8420). Backport of d56b3cafb1e6, reviewed by ↵Éric Araujo2011-03-231-0/+34
| | | | | | | | Raymond.
* | #11515: Merge with 3.1.Ezio Melotti2011-03-151-1/+1
|\ \ | |/
| * #11515: fix several typos. Patch by Piotr Kasprzyk.Ezio Melotti2011-03-151-1/+1
| |
| * Merged revisions 83385-83389,83391 via svnmerge fromGeorg Brandl2010-08-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r83385 | georg.brandl | 2010-08-01 08:42:45 +0200 (So, 01 Aug 2010) | 1 line #8773: mailbox.py does not need to be executable. ........ r83386 | georg.brandl | 2010-08-01 08:44:46 +0200 (So, 01 Aug 2010) | 1 line #8768: name test method properly so that it gets executed. ........ r83387 | georg.brandl | 2010-08-01 08:53:28 +0200 (So, 01 Aug 2010) | 1 line #8735: better explain semantics of *values* argument for parse(). ........ r83388 | georg.brandl | 2010-08-01 09:48:43 +0200 (So, 01 Aug 2010) | 1 line #7395: fix traceback in do_add() when no stats are loaded. Apply same fix for do_sort() and do_reverse(). ........ r83389 | georg.brandl | 2010-08-01 09:57:47 +0200 (So, 01 Aug 2010) | 1 line Small improvements to pstats browser: do not crash on reading invalid file, and actually do a reload when executing "read" as intended. ........ r83391 | georg.brandl | 2010-08-01 10:10:08 +0200 (So, 01 Aug 2010) | 1 line Add another news entry. ........
| * Issue 8436: set.__init__ accepts keyword argsRaymond Hettinger2010-04-181-0/+1
| |
| * Merged revisions 73715 via svnmerge fromGeorg Brandl2009-08-131-59/+59
| | | | | | | | | | | | | | | | | | | | svn+ssh://svn.python.org/python/branches/py3k ........ r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line convert old fail* assertions to assert* ........
| * Issue 6573: Fix set.union() for cases where self is in the argument chain.Raymond Hettinger2009-07-271-0/+4
| |
* | Fix accidental suppression in r84537v3.2a2Éric Araujo2010-09-051-1/+1
| |
* | Make naming consistentÉric Araujo2010-09-051-3/+3
| |
* | Issue 8420: Fix obscure set crashers.Raymond Hettinger2010-09-031-0/+34
| |
* | #8768: name test method properly so that it gets executed.Georg Brandl2010-08-011-1/+1
| |
* | Issue 8436: set.__init__ accepts keyword argsRaymond Hettinger2010-04-181-0/+1
| |
* | Clean up the warnings filter use in test_set.Brett Cannon2010-03-201-2/+3
| |
* | Merged revisions 78093 via svnmerge fromGeorg Brandl2010-03-141-1/+0
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78093 | georg.brandl | 2010-02-07 18:03:15 +0100 (So, 07 Feb 2010) | 1 line Remove unused imports in test modules. ........
* | Merged revisions 78886 via svnmerge fromVictor Stinner2010-03-131-1/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r78886 | victor.stinner | 2010-03-13 01:13:22 +0100 (sam., 13 mars 2010) | 2 lines Issue #7818: set().test_c_api() doesn't expect a set('abc'), modify the set. ........
* | use assert[Not]In where appropriateBenjamin Peterson2010-01-191-31/+31
| | | | | | | | A patch from Dave Malcolm.
* | Issue 6573: Fix set.union() for cases where self is in the argument chain.Raymond Hettinger2009-07-271-0/+4
| |
* | convert old fail* assertions to assert*Benjamin Peterson2009-06-301-59/+59
|/
* Issue #1717: Remove cmp. Stage 1: remove all uses of cmp and __cmp__ fromMark Dickinson2009-01-271-10/+0
| | | | the standard library and tests.
* Merged revisions 68128 via svnmerge fromAntoine Pitrou2009-01-011-2/+15
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r68128 | antoine.pitrou | 2009-01-01 15:11:22 +0100 (jeu., 01 janv. 2009) | 3 lines Issue #3680: Reference cycles created through a dict, set or deque iterator did not get collected. ........
* Issue #4740: Use HIGHEST_PROTOCOL in pickle test. This enables test for ↵Hirokazu Yamamoto2008-12-271-1/+1
| | | | | | protocol 3 (== HIGHEST_PROTOCOL in 3.x)
* Issue #1721812: Binary operations and copy operations on set/frozensetRaymond Hettinger2008-11-161-4/+9
| | | | subclasses need to return the base type, not the subclass itself.
* remove some more references to __cmp__ #1717Benjamin Peterson2008-10-161-3/+0
|
* merge from trunkBenjamin Peterson2008-10-111-0/+11
|
* Fix a potential NameError.Thomas Heller2008-07-151-1/+1
|