Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | gh-125245: Fix race condition when importing `collections.abc` (#125415) | Sam Gross | 2024-10-24 | 1 | -3/+0 |
| | | | | | | If multiple threads concurrently imported `collections.abc`, some of the threads might incorrectly see the "shim" `Lib/collections/abc.py` module instead of the correct `Lib/_collections_abc.py` module. This affected both the free threading build and the default GIL-enabled build. | ||||
* | gh-123339: Fix cases of inconsistency of __module__ and __firstlineno__ in ↵ | Serhiy Storchaka | 2024-09-28 | 1 | -3/+3 |
| | | | | | | | | | | | | | classes (GH-123613) * Setting the __module__ attribute for a class now removes the __firstlineno__ item from the type's dict. * The _collections_abc and _pydecimal modules now completely replace the collections.abc and decimal modules after importing them. This allows to get the source of classes and functions defined in these modules. * inspect.findsource() now checks whether the first line number for a class is out of bound. | ||||
* | gh-120417: Fix "imported but unused" linter warnings (#120461) | Victor Stinner | 2024-06-14 | 1 | -2/+2 |
| | | | | | | | | | | | Add __all__ to the following modules: importlib.machinery, importlib.util and xml.sax. Add also "# noqa: F401" in collections.abc, subprocess and xml.sax. * Sort __all__; remove collections.abc.__all__; remove private names * Add tests | ||||
* | gh-91896: Revert some very noisy DeprecationWarnings for `ByteString` (#104424) | Alex Waygood | 2023-05-13 | 1 | -9/+0 |
| | |||||
* | gh-91896: Improve visibility of `ByteString` deprecation warnings (#104294) | Alex Waygood | 2023-05-12 | 1 | -0/+9 |
| | |||||
* | bpo-42195: Ensure consistency of Callable's __args__ in collections.abc and ↵ | kj | 2020-12-13 | 1 | -0/+1 |
| | | | | typing (GH-23060) | ||||
* | 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 | 1 | -728/+0 |
| | | | | up interpreter start | ||||
* | Close #18690: register memoryview with Sequence ABC | Nick Coghlan | 2013-10-02 | 1 | -0/+1 |
| | |||||
* | Fix typo on MutableSequence docstring. | Guido van Rossum | 2013-07-25 | 1 | -1/+1 |
| | |||||
* | merge | Raymond Hettinger | 2013-03-24 | 1 | -0/+68 |
|\ | |||||
| * | Add missing docstrings to the collections ABCs | Raymond Hettinger | 2013-03-24 | 1 | -0/+68 |
| | | |||||
* | | Merge issue #16373: Prevent infinite recursion for ABC Set class operations. | Andrew Svetlov | 2012-11-01 | 1 | -2/+2 |
|\ \ | |/ | | | | | Patch by Serhiy Storchaka. | ||||
| * | Merge issue #16373: Prevent infinite recursion for ABC Set class operations. | Andrew Svetlov | 2012-11-01 | 1 | -2/+2 |
| | | | | | | | | Patch by Serhiy Storchaka. | ||||
* | | utilize yield from | Philip Jenvey | 2012-10-01 | 1 | -2/+1 |
|/ | |||||
* | Close #14386: Register types.MappingProxyType as a Mapping | Victor Stinner | 2012-04-19 | 1 | -1/+3 |
| | |||||
* | Clarify that the purpose of computing all the miscellaneous collection types ↵ | Raymond Hettinger | 2012-04-05 | 1 | -3/+7 |
| | | | | is to register them with the appropriate ABCs. | ||||
* | Issue #11333: Add __slots__ to the collections ABCs. | Raymond Hettinger | 2011-03-22 | 1 | -0/+26 |
| | |||||
* | Issue #11388: Added a clear() method to MutableSequence | Eli Bendersky | 2011-03-04 | 1 | -0/+7 |
| | |||||
* | Issue #11085: Moved collections abstract base classes into a separate module | Raymond Hettinger | 2011-02-22 | 1 | -0/+621 |
called collections.abc, following the pattern used by importlib.abc. For backwards compatibility, the names continue to also be imported into the collections module. |