Victor Stinner
05df063ad8
gh-120417: Fix "imported but unused" linter warnings ( #120461 )
...
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
2024-06-14 20:39:50 +02:00
Alex Waygood
c527eb1c2a
gh-91896: Revert some very noisy DeprecationWarnings for `ByteString` ( #104424 )
2023-05-13 09:55:35 +01:00
Alex Waygood
f0f5bb3204
gh-91896: Improve visibility of `ByteString` deprecation warnings ( #104294 )
2023-05-11 23:01:31 -07:00
kj
463c7d3d14
bpo-42195: Ensure consistency of Callable's __args__ in collections.abc and typing (GH-23060)
2020-12-13 10:38:24 -08:00
Christian Heimes
5703cd58ca
whitespace cleanup
2013-10-13 02:27:22 +02:00
Christian Heimes
52c5e57dbc
Issue #19218 : Add facade collections.abc
2013-10-13 02:04:50 +02: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
Nick Coghlan
45163ccce4
Close #18690 : register memoryview with Sequence ABC
2013-10-02 22:31:47 +10:00
Guido van Rossum
840c310a25
Fix typo on MutableSequence docstring.
2013-07-25 11:55:41 -07:00
Raymond Hettinger
bb25b6fc94
merge
2013-03-24 15:21:57 -07:00
Raymond Hettinger
153866ea9a
Add missing docstrings to the collections ABCs
2013-03-24 15:20:29 -07:00
Andrew Svetlov
73ee816d05
Merge issue #16373 : Prevent infinite recursion for ABC Set class operations.
...
Patch by Serhiy Storchaka.
2012-11-01 13:31:31 +02:00
Andrew Svetlov
b904e4256e
Merge issue #16373 : Prevent infinite recursion for ABC Set class operations.
...
Patch by Serhiy Storchaka.
2012-11-01 13:31:12 +02:00
Philip Jenvey
4993cc0a5b
utilize yield from
2012-10-01 12:53:43 -07:00
Victor Stinner
7b17a4e117
Close #14386 : Register types.MappingProxyType as a Mapping
2012-04-20 01:41:36 +02:00
Raymond Hettinger
02184282c7
Clarify that the purpose of computing all the miscellaneous collection types is to register them with the appropriate ABCs.
2012-04-05 13:31:12 -07:00
Raymond Hettinger
c46759ad0b
Issue #11333 : Add __slots__ to the collections ABCs.
2011-03-22 11:46:25 -07:00
Eli Bendersky
9479d1ade8
Issue #11388 : Added a clear() method to MutableSequence
2011-03-04 05:34:58 +00:00
Raymond Hettinger
158c9c26fc
Issue #11085 : Moved collections abstract base classes into a separate module
...
called collections.abc, following the pattern used by importlib.abc. For
backwards compatibility, the names continue to also be imported into the
collections module.
2011-02-22 00:41:50 +00:00