Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #16377: fix missed test due to incorrect indentation in test_bisect. ↵ | Mark Dickinson | 2012-10-31 | 1 | -1/+1 |
| | | | | Thanks Yury Selivanov. | ||||
* | Issue #14829: Fix bisect issues under 64-bit Windows. | Antoine Pitrou | 2012-05-16 | 1 | -3/+44 |
| | |||||
* | Skip test under 64-bit Windows | Antoine Pitrou | 2012-05-16 | 1 | -1/+4 |
| | |||||
* | Issue 13496: Fix bisect.bisect overflow bug for large collections. | Mark Dickinson | 2012-04-15 | 1 | -0/+7 |
| | |||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -9/+9 |
| | |||||
* | #3935: properly support list subclasses in the C impl. of bisect. | Georg Brandl | 2008-10-08 | 1 | -0/+11 |
| | | | | Patch reviewed by Raymond. | ||||
* | Issue 3301: Bisect functions behaved badly when lo was negative. | Raymond Hettinger | 2008-07-10 | 1 | -0/+8 |
| | |||||
* | In test_heapq and test_bisect, test both the Python and the C implementation. | Georg Brandl | 2008-02-23 | 1 | -110/+155 |
| | | | | Originally written for GHOP by Josip Dzolonga, heavily patched by me. | ||||
* | SF #1313496: bisect C replacement doesn't accept named args | Raymond Hettinger | 2005-10-05 | 1 | -0/+10 |
| | |||||
* | Rename test for comparision errors. | Raymond Hettinger | 2004-09-27 | 1 | -1/+1 |
| | |||||
* | Beef-up tests for greater coverage and refcount checking. | Raymond Hettinger | 2004-09-27 | 1 | -1/+59 |
| | |||||
* | * Move collections.deque() in from the sandbox | Raymond Hettinger | 2004-01-29 | 1 | -17/+0 |
| | | | | | | * Add unittests, newsitem, and whatsnew * Apply to Queue.py mutex.py threading.py pydoc.py and shlex.py * Docs are forthcoming | ||||
* | SF Patch #864863: Bisect C implementation | Raymond Hettinger | 2004-01-05 | 1 | -15/+12 |
| | | | | (Contributed by Dmitry Vasiliev.) | ||||
* | Combine the functionality of test_support.run_unittest() | Walter Dörwald | 2003-05-01 | 1 | -2/+1 |
| | | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807. | ||||
* | Factor out common boilerplate for test_support | Raymond Hettinger | 2003-04-27 | 1 | -12/+2 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2003-02-19 | 1 | -1/+0 |
| | |||||
* | Let test_random cover the endpoints. | Raymond Hettinger | 2003-01-16 | 1 | -9/+20 |
| | | | | | Strengthen slicing tests. Improved variable names. | ||||
* | Test optional slice arguments. | Raymond Hettinger | 2003-01-16 | 1 | -4/+14 |
| | | | | Add backwards compatibility test. | ||||
* | Added doctest for examples in the library reference. | Raymond Hettinger | 2003-01-16 | 1 | -0/+60 |
| | | | | Added random test from bisect to augment the finite precomputed checks. | ||||
* | Convert to unittest format so that more tests can be added cleanly. | Raymond Hettinger | 2003-01-16 | 1 | -118/+127 |
| | |||||
* | Complete the absolute import patch for the test suite. All relative | Barry Warsaw | 2002-07-30 | 1 | -1/+1 |
| | | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed. | ||||
* | Fred, THIS NEEDS DOCS! The function docstrings tell the tale. | Tim Peters | 2000-12-29 | 1 | -0/+127 |
Christmas present to myself: the bisect module didn't define what happened if the new element was already in the list. It so happens that it inserted the new element "to the right" of all equal elements. Since it wasn't defined, among other bad implications it was a mystery how to use bisect to determine whether an element was already in the list (I've seen code that *assumed* "to the right" without justification). Added new methods bisect_left and insort_left that insert "to the left" instead; made the old names bisect and insort aliases for the new names bisect_right and insort_right; beefed up docstrings to explain what these actually do; and added a std test for the bisect module. |