<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/weakref.py, branch v3.9.5</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-36144: Add union operators to WeakValueDictionary584 (#19127)</title>
<updated>2020-03-25T01:51:29+00:00</updated>
<author>
<name>Curtis Bucher</name>
<email>cpbucher5@gmail.com</email>
</author>
<published>2020-03-25T01:51:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8f1ed21ecf57cc8b8095d9d1058af2b9b3ed0413'/>
<id>8f1ed21ecf57cc8b8095d9d1058af2b9b3ed0413</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36144: Add union operators to WeakKeyDictionary (#19106)</title>
<updated>2020-03-23T20:49:46+00:00</updated>
<author>
<name>Curtis Bucher</name>
<email>cpbucher5@gmail.com</email>
</author>
<published>2020-03-23T20:49:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=25e580a73c163f472fdeb5489bebef85da21655c'/>
<id>25e580a73c163f472fdeb5489bebef85da21655c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38761: Register WeakSet as a MutableSet (GH-17104)</title>
<updated>2019-11-11T04:12:04+00:00</updated>
<author>
<name>Raymond Hettinger</name>
<email>rhettinger@users.noreply.github.com</email>
</author>
<published>2019-11-11T04:12:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=84ac4376587e35d16b4d0977c4f330d9d04b690a'/>
<id>84ac4376587e35d16b4d0977c4f330d9d04b690a</id>
<content type='text'>

</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>

</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-38006: Avoid closure in weakref.WeakValueDictionary (GH-15641)</title>
<updated>2019-09-09T14:55:58+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-09-09T14:55:58+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=a2af05a0d3f0da06b8d432f52efa3ecf29038532'/>
<id>a2af05a0d3f0da06b8d432f52efa3ecf29038532</id>
<content type='text'>
weakref.WeakValueDictionary defines a local remove() function used as
callback for weak references. This function was created with a
closure.  Modify the implementation to avoid the closure.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
weakref.WeakValueDictionary defines a local remove() function used as
callback for weak references. This function was created with a
closure.  Modify the implementation to avoid the closure.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37685: Fixed __eq__, __lt__ etc implementations in some classes. (GH-14952)</title>
<updated>2019-08-08T05:42:54+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-08-08T05:42:54+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=662db125cddbca1db68116c547c290eb3943d98e'/>
<id>662db125cddbca1db68116c547c290eb3943d98e</id>
<content type='text'>
They now return NotImplemented for unsupported type of the other operand.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
They now return NotImplemented for unsupported type of the other operand.
</pre>
</div>
</content>
</entry>
<entry>
<title>[3.9] bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-12620)</title>
<updated>2019-06-05T15:22:31+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-06-05T15:22:31+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=142566c028720934325f0b7fe28680afd046e00f'/>
<id>142566c028720934325f0b7fe28680afd046e00f</id>
<content type='text'>
Turn deprecation warnings added in 3.8 into TypeError.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Turn deprecation warnings added in 3.8 into TypeError.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37116: Use PEP 570 syntax for positional-only parameters. (GH-13700)</title>
<updated>2019-06-01T08:00:15+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-06-01T08:00:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2085bd0877e17ad4d98a4586d5eabb6faecbb190'/>
<id>2085bd0877e17ad4d98a4586d5eabb6faecbb190</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36542: Allow to overwrite the signature for Python functions. (GH-12705)</title>
<updated>2019-05-06T19:40:27+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-05-06T19:40:27+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d53cf99dca4605ace4b81b1e585616b3e1b74fa6'/>
<id>d53cf99dca4605ace4b81b1e585616b3e1b74fa6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36492: Deprecate passing some arguments as keyword arguments. (GH-12637)</title>
<updated>2019-04-01T06:16:35+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-04-01T06:16:35+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=42a139ed88c487f325a241c6ee8b308b3c045975'/>
<id>42a139ed88c487f325a241c6ee8b308b3c045975</id>
<content type='text'>
Deprecated passing the following arguments as keyword arguments:

- "func" in functools.partialmethod(), weakref.finalize(),
  profile.Profile.runcall(), cProfile.Profile.runcall(),
  bdb.Bdb.runcall(), trace.Trace.runfunc() and
  curses.wrapper().
- "function" in unittest.addModuleCleanup() and
  unittest.TestCase.addCleanup().
- "fn" in the submit() method of concurrent.futures.ThreadPoolExecutor
  and concurrent.futures.ProcessPoolExecutor.
- "callback" in contextlib.ExitStack.callback(),
  contextlib.AsyncExitStack.callback() and
  contextlib.AsyncExitStack.push_async_callback().
- "c" and "typeid" in the create() method of multiprocessing.managers.Server
  and multiprocessing.managers.SharedMemoryServer.
- "obj" in weakref.finalize().

Also allowed to pass arbitrary keyword arguments (even "self" and "func")
if the above arguments are passed as positional argument.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Deprecated passing the following arguments as keyword arguments:

- "func" in functools.partialmethod(), weakref.finalize(),
  profile.Profile.runcall(), cProfile.Profile.runcall(),
  bdb.Bdb.runcall(), trace.Trace.runfunc() and
  curses.wrapper().
- "function" in unittest.addModuleCleanup() and
  unittest.TestCase.addCleanup().
- "fn" in the submit() method of concurrent.futures.ThreadPoolExecutor
  and concurrent.futures.ProcessPoolExecutor.
- "callback" in contextlib.ExitStack.callback(),
  contextlib.AsyncExitStack.callback() and
  contextlib.AsyncExitStack.push_async_callback().
- "c" and "typeid" in the create() method of multiprocessing.managers.Server
  and multiprocessing.managers.SharedMemoryServer.
- "obj" in weakref.finalize().

Also allowed to pass arbitrary keyword arguments (even "self" and "func")
if the above arguments are passed as positional argument.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35615: Fix crashes when copying a Weak{Key,Value}Dictionary. (GH-11384)</title>
<updated>2019-02-07T19:51:59+00:00</updated>
<author>
<name>Fish</name>
<email>ltfish@users.noreply.github.com</email>
</author>
<published>2019-02-07T19:51:59+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=96d37dbcd23e65a7a57819aeced9034296ef747e'/>
<id>96d37dbcd23e65a7a57819aeced9034296ef747e</id>
<content type='text'>
Protect dict iterations by wrapping them with _IterationGuard in the
following methods:

- WeakValueDictionary.copy()
- WeakValueDictionary.__deepcopy__()
- WeakKeyDictionary.copy()
- WeakKeyDictionary.__deepcopy__()
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Protect dict iterations by wrapping them with _IterationGuard in the
following methods:

- WeakValueDictionary.copy()
- WeakValueDictionary.__deepcopy__()
- WeakKeyDictionary.copy()
- WeakKeyDictionary.__deepcopy__()
</pre>
</div>
</content>
</entry>
</feed>
