Serhiy Storchaka
282e831a5a
Issue #25616 : Tests for OrderedDict are extracted from test_collections
...
into separate file test_ordered_dict.
2015-11-25 17:19:27 +02:00
Raymond Hettinger
1a7c3571c7
Issue #24286 : Register dict views with the MappingView ABCs.
2015-05-26 01:35:54 -07:00
Serhiy Storchaka
20994f1e27
Issue #22609 : Constructors and update methods of mapping classes in the
...
collections module now accept the self keyword argument.
2014-11-27 19:02:56 +02:00
Victor Stinner
749022da36
Issue #22340 : Fix test_collections if the sets module was already imported
2014-09-05 21:41:25 +02:00
Victor Stinner
a3acea3e07
Issue #22340 : Fix Python 3 warnings in Python 2 tests
2014-09-05 21:05:05 +02:00
Raymond Hettinger
f643b9a9c7
Issue 8743: Improve interoperability between sets and the collections.Set abstract base class.
2014-05-25 22:13:41 -07:00
Serhiy Storchaka
7c573857c7
Issue #16373 : Prevent infinite recursion for ABC Set class comparisons.
2013-12-06 23:23:15 +02:00
Raymond Hettinger
7393c69d6d
Issue #18015 : Fix unpickling of 2.7.3 and 2.7.4 namedtuples.
2013-05-27 10:58:55 -07:00
Raymond Hettinger
0801d73b1b
Issue #15535 : Fix regression in pickling of named tuples.
2013-05-03 00:59:20 -07:00
Raymond Hettinger
45b082935d
Fix named tuples to work with vars().
2011-06-02 20:40:35 -07:00
Raymond Hettinger
37c0fe56b9
Fix minor subclassing issue with collections.Counter
2011-04-15 13:12:21 -07:00
Raymond Hettinger
8ebebd8f7e
Raymond-Hettingers-MacBook-Pro:py27 raymondhettinger$ cat svn-commit.tmp
...
Backport r87594 r87611 and r87612 so that OrderedDict subclassing behavior
better matches dict subclassing (i.e. adding __missing__ works and
extending/overriding the update() methods doesn't break __init__()).
2011-01-02 01:03:26 +00:00
Alexander Belopolsky
1fea5c4472
Merged revisions 86857 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86857 | raymond.hettinger | 2010-11-28 22:56:12 -0500 (Sun, 28 Nov 2010) | 1 line
Issue #10565 : Iterator ABC should require both __next__ and __iter__.
........
2010-11-30 01:18:17 +00:00
Ezio Melotti
2623a37852
Merged revisions 86596 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r86596 | ezio.melotti | 2010-11-20 21:04:17 +0200 (Sat, 20 Nov 2010) | 1 line
#9424 : Replace deprecated assert* methods in the Python test suite.
........
2010-11-21 13:34:58 +00:00
Raymond Hettinger
74f869eb94
Issue 9826: OrderedDict.__repr__ did not play well with self-referencing dicts.
2010-09-13 22:14:36 +00:00
Daniel Stutzbach
9128732de6
Merged revisions 84301 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r84301 | daniel.stutzbach | 2010-08-24 15:49:57 -0500 (Tue, 24 Aug 2010) | 1 line
Issue 8750: Fixed MutableSet's methods to correctly handle reflexive operations, namely x -= x and x ^= x
........
2010-08-24 21:09:30 +00:00
Raymond Hettinger
a54b2dac90
Issue #9626 : Fix views in collections.OrderedDict().
2010-08-17 19:03:06 +00:00
Mark Dickinson
42add99f77
Merged revisions 82821 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82821 | mark.dickinson | 2010-07-11 19:53:06 +0100 (Sun, 11 Jul 2010) | 3 lines
Issue #9137 : Fix issue in MutableMapping.update, which incorrectly
treated keyword arguments called 'self' or 'other' specially.
........
2010-07-11 19:17:28 +00:00
Benjamin Peterson
eb318d3b16
return NotImplemented from Mapping when comparing to a non-mapping #8729
2010-05-21 20:51:45 +00:00
Raymond Hettinger
34c35b2788
Add subtract() method to collections.Counter() objects.
2010-04-03 10:22:00 +00:00
Florent Xicluna
47627d5164
#7624 : Fix isinstance(foo(), collections.Callable) for old-style classes.
2010-03-08 15:20:28 +00:00
R. David Murray
f28fd24c36
Issue 6292: for the moment at least, the test suite passes if run
...
with -OO. Tests requiring docstrings are skipped. Patch by
Brian Curtin, thanks to Matias Torchinsky for helping review and
improve the patch.
2010-02-23 00:24:49 +00:00
Georg Brandl
a4f46e1292
Remove unused imports in test modules.
2010-02-07 17:03:15 +00:00
Ezio Melotti
b0f5adc3f4
use assert[Not]IsInstance where appropriate
2010-01-24 16:58:36 +00:00
Ezio Melotti
aa98058cc4
use assert[Not]In where appropriate
2010-01-23 23:04:36 +00:00