summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_set.py
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* Merged revisions ↵Amaury Forgeot d'Arc2008-06-171-0/+20
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 64089,64098,64100-64102,64113,64115-64116,64118,64120,64132,64342 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r64089 | armin.ronacher | 2008-06-10 22:37:02 +0200 (mar., 10 juin 2008) | 3 lines Fix a formatting error in the ast documentation. ........ r64098 | raymond.hettinger | 2008-06-11 02:25:29 +0200 (mer., 11 juin 2008) | 6 lines Mini-PEP: Simplifying numbers.py * Convert binary methods in Integral to mixin methods * Remove three-arg __pow__ as a required method * Make __int__ the root method instead of __long__. ........ r64100 | raymond.hettinger | 2008-06-11 02:28:51 +0200 (mer., 11 juin 2008) | 1 line Update numbers doc for the Integral simplification. ........ r64101 | raymond.hettinger | 2008-06-11 02:44:47 +0200 (mer., 11 juin 2008) | 3 lines Handle the case with zero arguments. ........ r64102 | benjamin.peterson | 2008-06-11 03:31:28 +0200 (mer., 11 juin 2008) | 4 lines convert test_struct to a unittest thanks to Giampaolo Rodola I had to disable one test because it was functioning incorrectly, see #1530559 I also removed the debugging prints ........ r64113 | thomas.heller | 2008-06-11 09:10:43 +0200 (mer., 11 juin 2008) | 2 lines Fix markup. Document the new 'offset' parameter for the 'ctypes.byref' function. ........ r64115 | raymond.hettinger | 2008-06-11 12:30:54 +0200 (mer., 11 juin 2008) | 1 line Multi-arg form for set.difference() and set.difference_update(). ........ r64116 | raymond.hettinger | 2008-06-11 14:06:49 +0200 (mer., 11 juin 2008) | 1 line Issue 3051: Let heapq work with either __lt__ or __le__. ........ r64118 | raymond.hettinger | 2008-06-11 14:39:09 +0200 (mer., 11 juin 2008) | 1 line Optimize previous checkin for heapq. ........ r64120 | raymond.hettinger | 2008-06-11 15:14:50 +0200 (mer., 11 juin 2008) | 1 line Add test for heapq using both __lt__ and __le__. ........ r64132 | gregory.p.smith | 2008-06-11 20:00:52 +0200 (mer., 11 juin 2008) | 3 lines Correct an incorrect comment about our #include of stddef.h. (see Doug Evans' comment on python-dev 2008-06-10) ........ r64342 | guido.van.rossum | 2008-06-17 19:38:02 +0200 (mar., 17 juin 2008) | 3 lines Roll back Raymond's -r64098 while we think of something better. (See issue 3056 -- we're close to a resolution but need unittests.) ........