COMMITS
/ Lib/collections/__init__.py March 30, 2026
S
gh-145056: Add support for merging collections.UserDict and frozendict (GH-146465)
Serhiy Storchaka committed
S
gh-145056: Fix merging of collections.OrderedDict and frozendict (GH-146466)
Serhiy Storchaka committed
February 21, 2026
R
Use `lazy` imports in `collections` (gh-145054)
Raymond Hettinger committed
November 25, 2025
K
gh-140911: Ensure that UserString.index() and UserString.rindex() accept UserString as argument (GH-140945)
Krishna Chaitanya committed
September 26, 2025
R
gh-138682: Add symmetric difference to Counter (gh-138766)
Raymond Hettinger committed
July 11, 2025
R
Minor edit: Improve comment readability and ordering (gh-136557)
Raymond Hettinger committed
February 20, 2025
R
Fix outdated reference link in collections module (gh-130349)
Redddy committed
December 3, 2024
R
Speed-up lazy heapq import in collections (gh-127538)
Raymond Hettinger committed
October 24, 2024
S
gh-125245: Fix race condition when importing `collections.abc` (#125415)
Sam Gross committed
June 13, 2024
V
gh-120417: Add #noqa to used imports in the stdlib (#120421)
Victor Stinner committed
May 11, 2024
D
gh-118932: ChainMap.__contains__ performance improvement (gh-118946)
d.grigonis committed
April 3, 2024
R
gh-117215 Make the fromskey() signature match dict.fromkeys(). (gh-117493)
Raymond Hettinger committed
March 31, 2024
R
gh-117387 Remove hash mark from introductory text (#117409)
Raymond Hettinger committed
March 8, 2024
V
gh-116485: Fixed the typo (#116486)
Varun Gole committed
December 4, 2023
S
gh-110275: Named tuple's __replace__() now raises TypeError for invalid arguments (GH-110299)
Serhiy Storchaka committed
September 6, 2023
S
gh-108751: Add copy.replace() function (GH-108752)
Serhiy Storchaka committed
August 21, 2023
R
gh-105736: Sync pure python version of OrderedDict with the C version (#108098)
Raymond Hettinger committed
April 12, 2023
E
gh-103092: Isolate `_collections` (#103093)
Erlend E. Aasland committed
February 8, 2023
N
gh-101446: Change `repr` of `collections.OrderedDict` (#101661)
Nikita Sobolev committed
January 13, 2023
S
gh-86682: Adds sys._getframemodulename as an alternative to using _getframe (GH-99520)
Steve Dower committed
November 1, 2022
R
GH-98766: Modest speed-up from ChainMap.__iter__ (GH-98946)
Raymond Hettinger committed
May 10, 2022
B
bpo-39264: Fix UserDict.get() to account for __missing__() (GH-17910)
Bar Harel committed
April 6, 2022
S
bpo-26579: Add object.__getstate__(). (GH-2821)
Serhiy Storchaka committed
February 2, 2022
R
Fix minor details in the Counter docs (GH-31029)
Raymond Hettinger committed
January 23, 2022
R
Minor code rearrangement to group related methods together. (GH-30813)
Raymond Hettinger committed
August 3, 2021
S
bpo-27275: Change popitem() and pop() methods of collections.OrderedDict (GH-27530)
Serhiy Storchaka committed
May 3, 2021
R
bpo-25478: Add total() method to collections.Counter (GH-25829)
Raymond Hettinger committed
March 14, 2021
K
bpo-43245: Add keyword argument support to ChainMap.new_child() (GH-24788)
Kamil Turek committed
February 26, 2021
B
bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)
Brandt Bucher committed
February 4, 2021
R
bpo-43102: Set namedtuple __new__'s internal builtins to a dict. (GH-24439)
Raymond Hettinger committed
January 12, 2021
H
bpo-37324: Remove ABC aliases from collections (GH-23754)
Hugo van Kemenade committed
November 30, 2020
A
bpo-42487: don't call __getitem__ of underlying maps in ChainMap.__iter__ (GH-23534)
Andreas Poehlmann committed
September 27, 2020
A
Revert "Fix all Python Cookbook links (#22205)" (GH-22424)
Andre Delfino committed
September 15, 2020
A
Fix all Python Cookbook links (#22205)
Andre Delfino committed
June 17, 2020
V
bpo-41006: collections imports lazily heap (GH-20940)
Victor Stinner committed
June 11, 2020
R
Collections module reformatting and minor code refactoring (GH-20772)
Raymond Hettinger committed
June 8, 2020
R
Minor improvement to the namedtuple implementation (GH-20741)
Raymond Hettinger committed
R
Deny eval() direct access to builtins (GH-20713)
Raymond Hettinger committed
June 6, 2020
R
Update comments to reflect the current API (GH-20682)
Raymond Hettinger committed
May 31, 2020
R
bpo-40755: Add rich comparisons to Counter (GH-20548)
Raymond Hettinger committed
May 28, 2020
R
bpo-40755: Add missing multiset operations to Counter() (GH-20339)
Raymond Hettinger committed
May 26, 2020
R
Simplify creation of the __new__ method in namedtuple() (GH-20361)
Raymond Hettinger committed
April 24, 2020
R
Expand the implementation comments (GH-19699)
Raymond Hettinger committed
April 22, 2020
S
bpo-39939: Add str.removeprefix and str.removesuffix (GH-18939)
sweeneyde committed
March 23, 2020
C
bpo-36144: Add PEP 584 operators to collections.ChainMap (#18832)
Curtis Bucher committed
March 13, 2020
B
bpo-36144: OrderedDict Union (PEP 584) (#18967)
Brandt Bucher committed
February 25, 2020
B
bpo-36144: Dictionary Union (PEP 584) (#12088)
Brandt Bucher committed
February 18, 2020
October 20, 2019
R
bpo-36321: Fix misspelled attribute name in namedtuple() (GH-16858)
Raymond Hettinger committed
October 7, 2019
S
bpo-25988: Do not expose abstract collection classes in the collections module. (GH-10596)
Serhiy Storchaka committed