Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-98512: Add more tests for `ValuesView` (#98515) | Nikita Sobolev | 2022-11-03 | 1 | -0/+3 |
| | |||||
* | gh-96408: Test set operation on items dict view. (GH-96438) | Filip Łajszczak | 2022-08-30 | 1 | -0/+18 |
| | |||||
* | bpo-38202: Fix a crash in dict_view & non-itearble. (GH-16241) | Zackery Spytz | 2019-10-13 | 1 | -0/+19 |
| | |||||
* | test_dictviews: Add testcase for dictviews_sub (GH-16660) | Dong-hee Na | 2019-10-08 | 1 | -0/+2 |
| | |||||
* | bpo-38210: Fix intersection operation with dict view and iterator. (GH-16602) | Dong-hee Na | 2019-10-06 | 1 | -0/+11 |
| | |||||
* | bpo-27575: port set intersection logic into dictview intersection (GH-7696) | Forest Gregg | 2019-08-26 | 1 | -0/+14 |
| | |||||
* | bpo-18533: Avoid RecursionError from repr() of recursive dictview (#4823) | bennorth | 2018-01-26 | 1 | -0/+15 |
| | | | | | | | | | | | | | | | | | dictview_repr(): Use a Py_ReprEnter() / Py_ReprLeave() pair to check for recursion, and produce "..." if so. test_recursive_repr(): Check for the string rather than a RecursionError. (Test cannot be any tighter as contents are implementation-dependent.) test_deeply_nested_repr(): Add new test, replacing the original test_recursive_repr(). It checks that a RecursionError is raised in the case of a non-recursive but deeply nested structure. (Very similar to what test_repr_deep() in test/test_dict.py does for a normal dict.) OrderedDictTests: Add new test case, to test behavior on OrderedDict instances containing their own values() or items(). | ||||
* | bpo-30144: Import collections ABC from collections.abc rather than ↵ | Serhiy Storchaka | 2017-04-24 | 1 | -18/+18 |
| | | | | collections. (#1263) | ||||
* | merge | Raymond Hettinger | 2016-09-19 | 1 | -0/+26 |
| | |||||
* | merge 3.5 (closes #26478) | Benjamin Peterson | 2016-03-04 | 1 | -0/+4 |
|\ | |||||
| * | merge 3.4 (closes #26478) | Benjamin Peterson | 2016-03-04 | 1 | -0/+4 |
| |\ | |||||
| | * | properly use the ObjArgs variant of CallMethod in dictview binary operations ↵ | Benjamin Peterson | 2016-03-04 | 1 | -0/+4 |
| | | | | | | | | | | | | (closes #26478) | ||||
* | | | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now | Serhiy Storchaka | 2015-11-12 | 1 | -0/+18 |
|\ \ \ | |/ / | | | | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types. | ||||
| * | | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now | Serhiy Storchaka | 2015-11-12 | 1 | -0/+18 |
| |\ \ | | |/ | | | | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types. | ||||
| | * | Issue #22995: Default implementation of __reduce__ and __reduce_ex__ now | Serhiy Storchaka | 2015-11-12 | 1 | -0/+18 |
| | | | | | | | | | | | | | | | rejects builtin types with not defined __new__. Added tests for non-pickleable types. | ||||
* | | | Merge 3.5 (Issue #19235) | Yury Selivanov | 2015-07-03 | 1 | -1/+1 |
|\ \ \ | |/ / | |||||
| * | | Issue #19235: Add new RecursionError exception. Patch by Georg Brandl. | Yury Selivanov | 2015-07-03 | 1 | -1/+1 |
| | | | |||||
| * | | Reverting my previous commit. | Yury Selivanov | 2015-05-30 | 1 | -22/+0 |
|/ / | | | | | | | Something went horribly wrong when I was doing `hg rebase`. | ||||
* | | Issue #24286: Forward port dict view abstract base class tests. | Raymond Hettinger | 2015-05-26 | 1 | -0/+22 |
| | | |||||
* | | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 | 1 | -5/+1 |
|/ | | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run. | ||||
* | #18357: add tests for dictview set difference. Patch by Fraser Tweedale. | Ezio Melotti | 2013-08-08 | 1 | -0/+14 |
| | |||||
* | add recursive repr test | Benjamin Peterson | 2013-05-20 | 1 | -0/+5 |
| | |||||
* | Issue #9212: Added the missing isdisjoint method to the dict_keys and | Daniel Stutzbach | 2010-09-02 | 1 | -0/+35 |
| | | | | | dict_items views. The method is required by the collections.Set ABC, which the views register as supporting. | ||||
* | Forward port unit tests for set operation and repr. | Alexandre Vassalotti | 2010-05-04 | 1 | -0/+76 |
| | | | | Patch by Alexander Belopolsky. | ||||
* | use assert[Not]In where appropriate | Benjamin Peterson | 2010-01-19 | 1 | -11/+11 |
| | | | | A patch from Dave Malcolm. | ||||
* | convert old fail* assertions to assert* | Benjamin Peterson | 2009-06-30 | 1 | -11/+11 |
| | |||||
* | #2621 rename test.test_support to test.support | Benjamin Peterson | 2008-05-20 | 1 | -2/+2 |
| | |||||
* | Make dict.keys() and dict.items() comparable to sets, using == and !=. | Guido van Rossum | 2007-02-12 | 1 | -2/+28 |
| | | | | | (PEP 3106 requires subset comparisons too, those will come later if someone really wants them. :-) | ||||
* | - PEP 3106: dict.iterkeys(), .iteritems(), .itervalues() are now gone; | Guido van Rossum | 2007-02-11 | 1 | -6/+6 |
| | | | | | | | | | | and .keys(), .items(), .values() return dict views. The dict views aren't fully functional yet; in particular, they can't be compared to sets yet. but they are useful as "iterator wells". There are still 27 failing unit tests; I expect that many of these have fairly trivial fixes, but there are so many, I could use help. | ||||
* | Implement __contains__ for dict_keys and dict_items. | Guido van Rossum | 2007-02-10 | 1 | -0/+22 |
| | | | | | (Not for dict_values, where it can't be done faster than the default implementation which just iterates the elements.) | ||||
* | Endow dict views with a proper length method. | Guido van Rossum | 2007-02-10 | 1 | -0/+3 |
| | |||||
* | Very preliminary work on dict views. | Guido van Rossum | 2007-02-10 | 1 | -0/+25 |