<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/collections, branch main</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>gh-91896: Revert some very noisy DeprecationWarnings for `ByteString` (#104424)</title>
<updated>2023-05-13T08:55:35+00:00</updated>
<author>
<name>Alex Waygood</name>
<email>Alex.Waygood@Gmail.com</email>
</author>
<published>2023-05-13T08:55:35+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c527eb1c2a473df01c19195b378f780e9180fd1c'/>
<id>c527eb1c2a473df01c19195b378f780e9180fd1c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-91896: Improve visibility of `ByteString` deprecation warnings (#104294)</title>
<updated>2023-05-12T06:01:31+00:00</updated>
<author>
<name>Alex Waygood</name>
<email>Alex.Waygood@Gmail.com</email>
</author>
<published>2023-05-12T06:01:31+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f0f5bb32043e1223d8c413e763cd93061d4f9fac'/>
<id>f0f5bb32043e1223d8c413e763cd93061d4f9fac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-103092: Isolate `_collections` (#103093)</title>
<updated>2023-04-12T12:51:28+00:00</updated>
<author>
<name>Erlend E. Aasland</name>
<email>erlend.aasland@protonmail.com</email>
</author>
<published>2023-04-12T12:51:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=52f96d3ea39fea4c16e26b7b10bd2db09726bd7c'/>
<id>52f96d3ea39fea4c16e26b7b10bd2db09726bd7c</id>
<content type='text'>
Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-authored-by: Kumar Aditya &lt;59607654+kumaraditya303@users.noreply.github.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>gh-101446: Change `repr` of `collections.OrderedDict` (#101661)</title>
<updated>2023-02-08T02:01:10+00:00</updated>
<author>
<name>Nikita Sobolev</name>
<email>mail@sobolevn.me</email>
</author>
<published>2023-02-08T02:01:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=790ff6bc6a56b4bd6e403aa43a984b99f7171dd7'/>
<id>790ff6bc6a56b4bd6e403aa43a984b99f7171dd7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-86682: Adds sys._getframemodulename as an alternative to using _getframe (GH-99520)</title>
<updated>2023-01-13T11:31:06+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@python.org</email>
</author>
<published>2023-01-13T11:31:06+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b5d4347950399800c6703736d716f08761b29245'/>
<id>b5d4347950399800c6703736d716f08761b29245</id>
<content type='text'>
Also updates calls in collections, doctest, enum, and typing modules to use _getframemodulename first when available.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Also updates calls in collections, doctest, enum, and typing modules to use _getframemodulename first when available.</pre>
</div>
</content>
</entry>
<entry>
<title>GH-98766: Modest speed-up from ChainMap.__iter__ (GH-98946)</title>
<updated>2022-11-01T04:44:40+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2022-11-01T04:44:40+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f5afb7f2331efa8f64080576a75517c3a96442b9'/>
<id>f5afb7f2331efa8f64080576a75517c3a96442b9</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-39264: Fix UserDict.get() to account for __missing__() (GH-17910)</title>
<updated>2022-05-10T21:23:45+00:00</updated>
<author>
<name>Bar Harel</name>
<email>bar.harel@biocatch.com</email>
</author>
<published>2022-05-10T21:23:45+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=30a43586f0d1776d25beb71b92f9880be7997e1b'/>
<id>30a43586f0d1776d25beb71b92f9880be7997e1b</id>
<content type='text'>
Here's the patch according to the discussion at the [Python-Dev mailing list](https://mail.python.org/archives/list/python-dev@python.org/thread/SDXOEMAEM6KQ3CQCJVBVRT5QNSPAVU6X/).
UserDict.get() will match dict's behavior and not call `__missing__`.

Automerge-Triggered-By: GH:rhettinger</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Here's the patch according to the discussion at the [Python-Dev mailing list](https://mail.python.org/archives/list/python-dev@python.org/thread/SDXOEMAEM6KQ3CQCJVBVRT5QNSPAVU6X/).
UserDict.get() will match dict's behavior and not call `__missing__`.

Automerge-Triggered-By: GH:rhettinger</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-26579: Add object.__getstate__(). (GH-2821)</title>
<updated>2022-04-06T17:00:14+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2022-04-06T17:00:14+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=884eba3c76916889fd6bff3b37b8552bfb4f9566'/>
<id>884eba3c76916889fd6bff3b37b8552bfb4f9566</id>
<content type='text'>
Copying and pickling instances of subclasses of builtin types
bytearray, set, frozenset, collections.OrderedDict, collections.deque,
weakref.WeakSet, and datetime.tzinfo now copies and pickles instance attributes
implemented as slots.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Copying and pickling instances of subclasses of builtin types
bytearray, set, frozenset, collections.OrderedDict, collections.deque,
weakref.WeakSet, and datetime.tzinfo now copies and pickles instance attributes
implemented as slots.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix minor details in the Counter docs (GH-31029)</title>
<updated>2022-02-02T04:18:11+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2022-02-02T04:18:11+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=f77beacf015e9bf8762e9b9a9a631396b05d4d9a'/>
<id>f77beacf015e9bf8762e9b9a9a631396b05d4d9a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Minor code rearrangement to group related methods together. (GH-30813)</title>
<updated>2022-01-23T00:47:22+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2022-01-23T00:47:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=bcacab47bf9e8bee58f6f248638e229ae8ea7992'/>
<id>bcacab47bf9e8bee58f6f248638e229ae8ea7992</id>
<content type='text'>
* Make example more focused with math.prod()
* Move comparison tests to the multiset operations section</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Make example more focused with math.prod()
* Move comparison tests to the multiset operations section</pre>
</div>
</content>
</entry>
</feed>
