Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
3a5e1afb922fb8438f19345ae858515b20d6fd43
/
Lib
/
collections
/
__init__.py
62bc321
Fix out-of-date comment
by Raymond Hettinger
· 9 years ago
2831b38
merge
by Raymond Hettinger
· 9 years ago
c3f7d17
Fix non-ascii character
by Raymond Hettinger
· 9 years ago
a89013d
merge
by Raymond Hettinger
· 9 years ago
c9c3dd8
Add a missing docstring
by Raymond Hettinger
· 9 years ago
5527cf1
Issue #22609: Constructor of collections.UserDict now accepts the self keyword
by Serhiy Storchaka
· 9 years ago
f4ee1c2
Issue #22609: Constructor of collections.UserDict now accepts the self keyword
by Serhiy Storchaka
· 9 years ago
68f5ef2
Issue #22609: Constructor of collections.UserDict now accepts the self keyword
by Serhiy Storchaka
· 9 years ago
3ada93f
merge
by Raymond Hettinger
· 9 years ago
8ba03cf
Fix whitespace in comment.
by Raymond Hettinger
· 9 years ago
9157545
merge
by Raymond Hettinger
· 9 years ago
7a3602e
Issue #24931: Resolve __dict__ conflict in namedtuple subclasses.
by Raymond Hettinger
· 9 years ago
4c97a62
Issue #23509: Speed up Counter operators (Based on patch by Serhiy Storchaka.)
by Raymond Hettinger
· 9 years ago
96c6af9
Issue #16991: Add a C implementation of collections.OrderedDict.
by Eric Snow
· 9 years ago
573b44c
Issue 22189: Add missing methods to UserString
by Raymond Hettinger
· 9 years ago
32ea165
Issue 23704: Add index(), copy(), and insert() to deques. Register deques as a MutableSequence.
by Raymond Hettinger
· 9 years ago
08448a1
Issue #23326: Removed __ne__ implementations. Since fixing default __ne__
by Serhiy Storchaka
· 10 years ago
f51f713
Issue #22609: Revert changes in UserDict. They conflicted with existing tests.
by Serhiy Storchaka
· 10 years ago
a86700a
Issue #22609: Revert changes in UserDict. They conflicted with existing tests.
by Serhiy Storchaka
· 10 years ago
8943ecf
Issue #22609: Constructors and update methods of mapping classes in the
by Serhiy Storchaka
· 10 years ago
ae5cb21
Issue #22609: Constructors and update methods of mapping classes in the
by Serhiy Storchaka
· 10 years ago
f2bbb65
merge
by Raymond Hettinger
· 10 years ago
bc00050
Issue 21832: Require named tuple inputs to be exact strings
by Raymond Hettinger
· 10 years ago
53d2c41
Issue #19414: Have the OrderedDict mark deleted links as unusable.
by Raymond Hettinger
· 10 years ago
578c921
Issue #19505: The items, keys, and values views of OrderedDict now support
by Serhiy Storchaka
· 10 years ago
d852e99
Clean-up docstring
by Raymond Hettinger
· 10 years ago
f1dc3ee
Issue #19218: Rename collections.abc to _collections_abc in order to speed up interpreter start
by Christian Heimes
· 11 years ago
a7e7497
#18466: merge with 3.3.
by Ezio Melotti
· 11 years ago
85a8629
#18466: fix more typos. Patch by Févry Thibault.
by Ezio Melotti
· 11 years ago
cd171c8
Issue #18200: Back out usage of ModuleNotFoundError (8d28d44f3a9a)
by Brett Cannon
· 11 years ago
0a14066
Issue #18200: Update the stdlib (except tests) to use ModuleNotFoundError.
by Brett Cannon
· 11 years ago
587d3bf
Update docstring for _asdict() to indicate it is obsolete.
by Raymond Hettinger
· 11 years ago
b37706f
Remove unnecessary exception handler.
by Raymond Hettinger
· 11 years ago
3ee6dab
Issue #17900: Allowed pickling of recursive OrderedDicts. Decreased pickled
by Serhiy Storchaka
· 11 years ago
163e982
Undo the deprecation of _asdict().
by Raymond Hettinger
· 11 years ago
4e0172f
Deprecate nametuple._asdict()
by Raymond Hettinger
· 11 years ago
8c03d83
merge
by Raymond Hettinger
· 11 years ago
5c71079
merge
by Raymond Hettinger
· 11 years ago
7a3dae0
Issue #15528: Add weakref.finalize to support finalization using
by Richard Oudkerk
· 11 years ago
4072875
merge
by Raymond Hettinger
· 11 years ago
b98dcc1
Issue #15535: Fix pickling of named tuples.
by Raymond Hettinger
· 11 years ago
325dc88
Backport improved dict comparison logic
by Raymond Hettinger
· 11 years ago
a35e281
Merge
by Raymond Hettinger
· 12 years ago
4f4ba16
Issue #17331: Use isidentifier() instead of isalnum() to check for valid identifiers.
by Raymond Hettinger
· 12 years ago
1ba81ee
Closes #16613: Added optional mapping argument to ChainMap.new_child.
by Vinay Sajip
· 12 years ago
527507d
Improve OrderedDict equality test.
by Raymond Hettinger
· 12 years ago
1c2018c
Small cleanup and optimization
by Raymond Hettinger
· 12 years ago
80ed4d4
Minor reformatting (wrap fat lines, etc.) and create an __main__ file
by Raymond Hettinger
· 12 years ago
4fd3f0c
Merge
by Raymond Hettinger
· 13 years ago
f1182cd
Merge
by Raymond Hettinger
· 13 years ago
becd568
Issue #13121: Support in-place math operators for collections.Counter().
by Raymond Hettinger
· 13 years ago
d8b509b
#13012: use splitlines(keepends=True/False) instead of splitlines(0/1).
by Ezio Melotti
· 13 years ago
c92f622
add ChainMap to __all__ (closes #12959)
by Benjamin Peterson
· 13 years ago
fcb393c
Add support for unary plus and unary minus to collections.Counter()
by Raymond Hettinger
· 13 years ago
22cc118
merge
by Raymond Hettinger
· 13 years ago
1c7b7f7
Userlist.copy() wasn't returning a UserList.
by Raymond Hettinger
· 13 years ago
a82aa55
Minor clean-ups to docstrings, comments, and var names.
by Raymond Hettinger
· 13 years ago
4f438b7
Minor text rearrangement.
by Raymond Hettinger
· 13 years ago
f48ac30
Issue #11875: Alter the previous fix to work better with subclasses
by Raymond Hettinger
· 13 years ago
98c850a
Issue 11875: Keep OrderedDict's __reduce__ from temporarily mutating the object.
by Raymond Hettinger
· 13 years ago
90375bc
Rework multiset methods to use less memory and to make fewer calls to __hash__.
by Raymond Hettinger
· 13 years ago
b5a40d4
Fix minor subclassing issue with collections.Counter
by Raymond Hettinger
· 13 years ago
f6d3e8e
Add tests for _source to importable and exec'able.
by Raymond Hettinger
· 13 years ago
15d0c1d
Minor clean-ups.
by Raymond Hettinger
· 13 years ago
2ebea41
Expose the namedtuple source with a _source attribute.
by Raymond Hettinger
· 13 years ago
843a751
Move namespace setup inside the template.
by Raymond Hettinger
· 13 years ago
b2d0945
Minor named tuple clean-ups.
by Raymond Hettinger
· 13 years ago
fef8546
Factor-out named tuple class definition template strings.
by Raymond Hettinger
· 13 years ago
74b015e
Clean-up whitespace.
by Raymond Hettinger
· 13 years ago
3e82ae0
Replace **locals() with explicit field names.
by Raymond Hettinger
· 13 years ago
9a3f4cb
Simplify the named tuple template by using the new string format syntax.
by Raymond Hettinger
· 13 years ago
50105d3
Improve readability by replacing '\n' in template with real newlines.
by Raymond Hettinger
· 13 years ago
3730892
#11515: Merge with 3.2.
by Ezio Melotti
· 13 years ago
d032131
Add __bool__ method. Add tests. Fix-up broken test.
by Raymond Hettinger
· 14 years ago
9fe1ccf
Issue #11297: Add collections.ChainMap()
by Raymond Hettinger
· 14 years ago
cbbaa96
Issue #10516: adding list.clear() and list.copy() methods
by Eli Bendersky
· 14 years ago
499e193
Add tests for the _ChainMap helper class.
by Raymond Hettinger
· 14 years ago
c942310
Factor-out common code for helper classes.
by Raymond Hettinger
· 14 years ago
158c9c2
Issue #11085: Moved collections abstract base classes into a separate module
by Raymond Hettinger
· 14 years ago
[Renamed (98%) from Lib/collections.py]
ddb5240
Issue #11089: Fix performance issue limiting the use of ConfigParser()
by Raymond Hettinger
· 14 years ago
ff72816
Supply a reduce method for pickling.
by Raymond Hettinger
· 14 years ago
00d43fd
Fix doctest to not rely on order of dictionary entries.
by Raymond Hettinger
· 14 years ago
345c49b
Fix OrderedDic.pop() to work for subclasses that define __missing__().
by Raymond Hettinger
· 14 years ago
32062e9
Make it easier to extend OrderedDict without breaking it.
by Raymond Hettinger
· 14 years ago
a673b1f
Fix OrderedDict.setdefault() to work for subclasses that define __missing__().
by Raymond Hettinger
· 14 years ago
96f3410
Issue 10667: Fast path for collections.Counter
by Raymond Hettinger
· 14 years ago
35c87f2
Issue 9865: add __sizeof__ to OrderedDict.
by Raymond Hettinger
· 14 years ago
c1cc0d0
Remove unneeded exception chaining.
by Raymond Hettinger
· 14 years ago
f7328d0
Improve iteration speed by only proxying back links.
by Raymond Hettinger
· 14 years ago
98a5f3f
Issue 9840: Add reprlib.recursive_repr(), a decorator for handling recursive calls to __repr__ methods.
by Raymond Hettinger
· 14 years ago
f172529
Put tests in more logical order.
by Raymond Hettinger
· 14 years ago
c5c29c0
Use weakrefs for both forward and backward links.
by Raymond Hettinger
· 14 years ago
dc08a14
Issue #9826: Handle recursive repr in collections.OrderedDict.
by Raymond Hettinger
· 14 years ago
fa11db0
Issue #9825: Replace OrderedDict.__del__() with weakrefs.
by Raymond Hettinger
· 14 years ago
bd88802
Revert r84700 which had an unfortunate performance cost.
by Raymond Hettinger
· 14 years ago
22b46e0
Separate positional arguments from localized globals.
by Raymond Hettinger
· 14 years ago
f45abc9
Add method to OrderedDict for repositioning keys to the ends.
by Raymond Hettinger
· 14 years ago
7babc1b
Better method name. Tighten inner-loop with bound methods.
by Raymond Hettinger
· 14 years ago
331722d
Make OrderedDict.popitem() a bit smarter and faster
by Raymond Hettinger
· 14 years ago
38d17e3
Speed-up cache updates
by Raymond Hettinger
· 14 years ago
Next »