Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Clarify that example in comment is about fromkeys() (GH-8141) | Raymond Hettinger | 2018-07-06 | 1 | -1/+1 |
| | |||||
* | Add more detail to the Counter.fromkeys() comment block (GH-8124) | Raymond Hettinger | 2018-07-05 | 1 | -2/+7 |
| | |||||
* | Code beautification using f-strings (#5618) | Raymond Hettinger | 2018-02-11 | 1 | -2/+1 |
| | |||||
* | bpo-32792: Preserve mapping order in ChainMap() (GH-5586) | Raymond Hettinger | 2018-02-11 | 1 | -1/+4 |
| | |||||
* | bpo-25988: Emit a warning when use or import ABCs from 'collections'. (#5460) | Serhiy Storchaka | 2018-01-31 | 1 | -21/+27 |
| | |||||
* | bpo-25988: Deprecate exposing collections.abc in collections GH-5414 | Raymond Hettinger | 2018-01-29 | 1 | -3/+7 |
| | |||||
* | bpo-32677: Add .isascii() to str, bytes and bytearray (GH-5342) | INADA Naoki | 2018-01-27 | 1 | -0/+1 |
| | |||||
* | bpo-32320: Add default value support to collections.namedtuple() (#4859) | Raymond Hettinger | 2018-01-11 | 1 | -3/+17 |
| | |||||
* | bpo-28638: Optimize namedtuple() creation time by minimizing use of exec() ↵ | Raymond Hettinger | 2017-09-10 | 1 | -77/+85 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (#3454) * Working draft without _source * Re-use itemgetter() instances * Speed-up calls to __new__() with a pre-bound tuple.__new__() * Add note regarding string interning * Remove unnecessary create function wrappers * Minor sync-ups with PR-2736. Mostly formatting and f-strings * Bring-in qualname/__module fix-ups from PR-2736 * Formally remove the verbose flag and _source attribute * Restore a test of potentially problematic field names * Restore kwonly_args test but without the verbose option * Adopt Inada's idea to reuse the docstrings for the itemgetters * Neaten-up a bit * Add news blurb * Serhiy pointed-out the need for interning * Jelle noticed as missing f on an f-string * Add whatsnew entry for feature removal * Accede to request for dict literals instead keyword arguments * Leave the method.__module__ attribute pointing the actual location of the code * Improve variable names and add a micro-optimization for an non-public helper function * Simplify by in-lining reuse_itemgetter() * Arrange steps in more logical order * Save docstring in local cache instead of interning | ||||
* | bpo-30662: fixed OrderedDict.__init__ docstring re PEP 468 (#2179) | Jonathan Eunice | 2017-09-05 | 1 | -3/+1 |
| | | | | | | | | | | | | * fixed OrderedDict.__init__ docstring re PEP 468 * tightened comment and mirrored to C impl * added space after period per marco-buttu * preserved substituted for stable * drop references to Python 3.6 and PEP 468 | ||||
* | Issues #29311, #29289: Fixed and improved docstrings for dict and OrderedDict | Serhiy Storchaka | 2017-01-24 | 1 | -10/+9 |
| | | | | methods. | ||||
* | merge | Raymond Hettinger | 2016-12-31 | 1 | -2/+5 |
|\ | |||||
| * | Issue #29119: Fix weakref in OrderedDict.move_to_end(). Work by Andra Bogildea. | Raymond Hettinger | 2016-12-31 | 1 | -2/+5 |
| | | |||||
* | | Issue #17941: Add a *module* parameter to collections.namedtuple() | Raymond Hettinger | 2016-09-12 | 1 | -6/+10 |
| | | |||||
* | | Remove main section that was only used during testing and development | Raymond Hettinger | 2016-08-22 | 1 | -38/+0 |
| | | |||||
* | | Minor readability tweak | Raymond Hettinger | 2016-08-17 | 1 | -1/+1 |
| | | |||||
* | | Issue #25628: Make namedtuple "rename" and "verbose" parameters keyword-only. | Raymond Hettinger | 2016-08-16 | 1 | -1/+1 |
| | | |||||
* | | Issue #27125: Merge typo fixes from 3.5 | Martin Panter | 2016-05-29 | 1 | -1/+2 |
|\ \ | |/ | | | | | Also merge changes from Issue #27117; no actual code changes to 3.6. | ||||
| * | Issue #27125: Fix various errors like “will [be] inherited” | Martin Panter | 2016-05-29 | 1 | -1/+2 |
| | | |||||
* | | Issue #27076: Merge spelling from 3.5 | Martin Panter | 2016-05-26 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -1/+1 |
| | | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | | Fix out-of-date comment | Raymond Hettinger | 2016-02-25 | 1 | -1/+1 |
| | | |||||
* | | merge | Raymond Hettinger | 2015-11-24 | 1 | -1/+1 |
|\ \ | |/ | |||||
| * | Fix non-ascii character | Raymond Hettinger | 2015-11-24 | 1 | -1/+1 |
| | | |||||
* | | merge | Raymond Hettinger | 2015-11-24 | 1 | -0/+16 |
|\ \ | |/ | |||||
| * | Add a missing docstring | Raymond Hettinger | 2015-11-24 | 1 | -0/+16 |
| | | |||||
* | | Issue #22609: Constructor of collections.UserDict now accepts the self keyword | Serhiy Storchaka | 2015-09-29 | 1 | -1/+16 |
|\ \ | |/ | | | | | argument. | ||||
| * | Issue #22609: Constructor of collections.UserDict now accepts the self keyword | Serhiy Storchaka | 2015-09-29 | 1 | -1/+16 |
| |\ |/ / | | | | | argument. | ||||
| * | Issue #22609: Constructor of collections.UserDict now accepts the self keyword | Serhiy Storchaka | 2015-09-29 | 1 | -1/+16 |
| | | | | | | | | argument. | ||||
* | | merge | Raymond Hettinger | 2015-09-08 | 1 | -3/+2 |
|\ \ | |/ | |||||
| * | Fix whitespace in comment. | Raymond Hettinger | 2015-09-08 | 1 | -3/+2 |
| | | |||||
* | | merge | Raymond Hettinger | 2015-08-30 | 1 | -10/+1 |
|\ \ | |/ | |||||
| * | Issue #24931: Resolve __dict__ conflict in namedtuple subclasses. | Raymond Hettinger | 2015-08-30 | 1 | -10/+1 |
| | | |||||
* | | Issue #23509: Speed up Counter operators | Raymond Hettinger | 2015-05-30 | 1 | -2/+10 |
| | | | | | | | | (Based on patch by Serhiy Storchaka.) | ||||
* | | Issue #16991: Add a C implementation of collections.OrderedDict. | Eric Snow | 2015-05-30 | 1 | -2/+19 |
| | | |||||
* | | Issue 22189: Add missing methods to UserString | Raymond Hettinger | 2015-05-22 | 1 | -0/+10 |
| | | |||||
* | | Issue 23704: Add index(), copy(), and insert() to deques. Register deques ↵ | Raymond Hettinger | 2015-03-21 | 1 | -0/+2 |
| | | | | | | | | as a MutableSequence. | ||||
* | | Issue #23326: Removed __ne__ implementations. Since fixing default __ne__ | Serhiy Storchaka | 2015-01-31 | 1 | -5/+0 |
| | | | | | | | | implementation in issue #21408 they are redundant. | ||||
* | | Issue #22609: Revert changes in UserDict. They conflicted with existing tests. | Serhiy Storchaka | 2014-11-27 | 1 | -8/+1 |
|\ \ | |/ | |||||
| * | Issue #22609: Revert changes in UserDict. They conflicted with existing tests. | Serhiy Storchaka | 2014-11-27 | 1 | -8/+1 |
| | | |||||
* | | Issue #22609: Constructors and update methods of mapping classes in the | Serhiy Storchaka | 2014-11-27 | 1 | -8/+39 |
|\ \ | |/ | | | | | collections module now accept the self keyword argument. | ||||
| * | Issue #22609: Constructors and update methods of mapping classes in the | Serhiy Storchaka | 2014-11-27 | 1 | -8/+39 |
| | | | | | | | | collections module now accept the self keyword argument. | ||||
* | | merge | Raymond Hettinger | 2014-06-24 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | Issue 21832: Require named tuple inputs to be exact strings | Raymond Hettinger | 2014-06-24 | 1 | -0/+3 |
| | | |||||
* | | Issue #19414: Have the OrderedDict mark deleted links as unusable. | Raymond Hettinger | 2014-05-04 | 1 | -0/+2 |
| | | | | | | | | | | This gives an earlier and more visible failure if a link is deleted during iteration. | ||||
* | | Issue #19505: The items, keys, and values views of OrderedDict now support | Serhiy Storchaka | 2014-04-04 | 1 | -3/+30 |
|/ | | | | reverse iteration using reversed(). | ||||
* | Clean-up docstring | Raymond Hettinger | 2014-03-20 | 1 | -3/+1 |
| | |||||
* | whitespace cleanup | Christian Heimes | 2013-10-13 | 1 | -1/+0 |
| | |||||
* | Issue #19218: Add facade collections.abc | Christian Heimes | 2013-10-13 | 1 | -0/+3 |
| | |||||
* | Issue #19218: Rename collections.abc to _collections_abc in order to speed ↵ | Christian Heimes | 2013-10-13 | 2 | -731/+3 |
| | | | | up interpreter start |