Raymond Hettinger
a67619ec5f
merge
2016-12-31 12:02:42 -07:00
Raymond Hettinger
b46ea90343
Issue #29119 : Fix weakref in OrderedDict.move_to_end(). Work by Andra Bogildea.
2016-12-31 12:01:59 -07:00
Raymond Hettinger
0d5048cb21
Issue #17941 : Add a *module* parameter to collections.namedtuple()
2016-09-12 00:18:31 -07:00
Raymond Hettinger
8579a8fd63
Minor readability tweak
2016-08-17 00:46:48 -07:00
Raymond Hettinger
6538b430cf
Issue #25628 : Make namedtuple "rename" and "verbose" parameters keyword-only.
2016-08-16 10:55:43 -07:00
Martin Panter
e501a93c18
Issue #27125 : Merge typo fixes from 3.5
...
Also merge changes from Issue #27117 ; no actual code changes to 3.6.
2016-05-29 09:05:06 +00:00
Martin Panter
8d56c026a5
Issue #27125 : Fix various errors like “will [be] inherited”
2016-05-29 04:13:35 +00:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Raymond Hettinger
62bc321819
Fix out-of-date comment
2016-02-25 00:25:45 -08:00
Raymond Hettinger
2831b383e9
merge
2015-11-23 21:04:53 -08:00
Raymond Hettinger
c3f7d1753f
Fix non-ascii character
2015-11-23 21:03:09 -08:00
Raymond Hettinger
a89013d930
merge
2015-11-23 20:43:56 -08:00
Raymond Hettinger
c9c3dd87c1
Add a missing docstring
2015-11-23 20:43:28 -08:00
Serhiy Storchaka
5527cf119d
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:38:34 +03:00
Serhiy Storchaka
f4ee1c23e8
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:37:09 +03:00
Serhiy Storchaka
68f5ef226e
Issue #22609 : Constructor of collections.UserDict now accepts the self keyword
...
argument.
2015-09-29 23:36:06 +03:00
Raymond Hettinger
3ada93fc86
merge
2015-09-08 00:36:56 -04:00
Raymond Hettinger
8ba03cf33f
Fix whitespace in comment.
2015-09-08 00:36:29 -04:00
Raymond Hettinger
9157545c11
merge
2015-08-30 09:15:36 -07:00
Raymond Hettinger
7a3602e7cf
Issue #24931 : Resolve __dict__ conflict in namedtuple subclasses.
2015-08-30 09:13:48 -07:00
Raymond Hettinger
4c97a62ae3
Issue #23509 : Speed up Counter operators
...
(Based on patch by Serhiy Storchaka.)
2015-05-29 22:14:07 -07:00
Eric Snow
96c6af9b20
Issue #16991 : Add a C implementation of collections.OrderedDict.
2015-05-29 22:21:39 -06:00
Raymond Hettinger
573b44c18f
Issue 22189: Add missing methods to UserString
2015-05-22 16:56:32 -07:00
Raymond Hettinger
32ea16577d
Issue 23704: Add index(), copy(), and insert() to deques. Register deques as a MutableSequence.
2015-03-21 01:37:37 -07:00
Serhiy Storchaka
08448a1f4d
Issue #23326 : Removed __ne__ implementations. Since fixing default __ne__
...
implementation in issue #21408 they are redundant.
2015-01-31 12:05:05 +02:00
Serhiy Storchaka
f51f713f30
Issue #22609 : Revert changes in UserDict. They conflicted with existing tests.
2014-11-27 17:46:15 +02:00
Serhiy Storchaka
a86700ae87
Issue #22609 : Revert changes in UserDict. They conflicted with existing tests.
2014-11-27 17:45:44 +02:00
Serhiy Storchaka
8943ecfab2
Issue #22609 : Constructors and update methods of mapping classes in the
...
collections module now accept the self keyword argument.
2014-11-27 16:35:26 +02:00
Serhiy Storchaka
ae5cb214d2
Issue #22609 : Constructors and update methods of mapping classes in the
...
collections module now accept the self keyword argument.
2014-11-27 16:25:51 +02:00
Raymond Hettinger
f2bbb651a8
merge
2014-06-24 15:21:24 -07:00
Raymond Hettinger
bc000509e8
Issue 21832: Require named tuple inputs to be exact strings
2014-06-24 15:20:55 -07:00
Raymond Hettinger
53d2c41f77
Issue #19414 : Have the OrderedDict mark deleted links as unusable.
...
This gives an earlier and more visible failure if a link is deleted
during iteration.
2014-05-03 21:58:45 -07:00
Serhiy Storchaka
578c9211d6
Issue #19505 : The items, keys, and values views of OrderedDict now support
...
reverse iteration using reversed().
2014-04-04 15:19:36 +03:00
Raymond Hettinger
d852e997f4
Clean-up docstring
2014-03-20 06:42:31 -07:00
Christian Heimes
f1dc3ee16d
Issue #19218 : Rename collections.abc to _collections_abc in order to speed up interpreter start
2013-10-13 02:04:20 +02:00
Ezio Melotti
a7e7497d88
#18466 : merge with 3.3.
2013-08-17 16:58:13 +03:00
Ezio Melotti
85a8629d21
#18466 : fix more typos. Patch by Févry Thibault.
2013-08-17 16:57:41 +03:00
Brett Cannon
cd171c8e92
Issue #18200 : Back out usage of ModuleNotFoundError (8d28d44f3a9a)
2013-07-04 17:43:24 -04:00
Brett Cannon
0a140668fa
Issue #18200 : Update the stdlib (except tests) to use
...
ModuleNotFoundError.
2013-06-13 20:57:26 -04:00
Raymond Hettinger
587d3bf78a
Update docstring for _asdict() to indicate it is obsolete.
...
Use the cleaner looking @property style for __dict__.
Move _replace() to be just after make() to indicate that
it is a core method on named tuples.
2013-05-17 16:43:14 -07:00
Raymond Hettinger
b37706f306
Remove unnecessary exception handler.
2013-05-17 02:28:33 -07:00
Serhiy Storchaka
3ee6dabf5b
Issue #17900 : Allowed pickling of recursive OrderedDicts. Decreased pickled
...
size and pickling time.
2013-05-21 12:47:57 +03:00
Raymond Hettinger
163e9821b4
Undo the deprecation of _asdict().
...
Backed out changeset c4ca39bece9d
2013-05-18 00:05:20 -07:00
Raymond Hettinger
4e0172fd9a
Deprecate nametuple._asdict()
2013-05-17 17:14:27 -07:00
Raymond Hettinger
8c03d832b3
merge
2013-05-17 16:43:58 -07:00
Raymond Hettinger
5c71079d06
merge
2013-05-17 02:29:27 -07:00
Richard Oudkerk
7a3dae056d
Issue #15528 : Add weakref.finalize to support finalization using
...
weakref callbacks.
This is 2e446e87ac5b except that collections/__init__.py has been
modified to import proxy from _weakref instead of weakref. This
eliminates an import cycle which seems to cause a problem on Unix but
not Windows.
2013-05-05 23:05:00 +01:00
Raymond Hettinger
4072875dcb
merge
2013-05-03 02:41:02 -07:00
Raymond Hettinger
b98dcc1f53
Issue #15535 : Fix pickling of named tuples.
2013-05-03 02:24:15 -07:00