<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/weakref.py, branch berkerpeksag-update-codeowners</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-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>
<entry>
<title>bpo-30152: Reduce the number of imports for argparse. (#1269)</title>
<updated>2017-09-25T21:55:55+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-09-25T21:55:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=81108375d9b2ccd0add1572da745311d4dfac505'/>
<id>81108375d9b2ccd0add1572da745311d4dfac505</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-30144: Import collections ABC from collections.abc rather than collections. (#1263)</title>
<updated>2017-04-24T06:05:00+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-04-24T06:05:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2e576f5aec1f8f23f07001e2eb3db9276851a4fc'/>
<id>2e576f5aec1f8f23f07001e2eb3db9276851a4fc</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix #29519: weakref spewing exceptions during interp finalization</title>
<updated>2017-02-10T08:14:55+00:00</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2017-02-10T08:14:55+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9cd7e17640a49635d1c1f8c2989578a8fc2c1de6'/>
<id>9cd7e17640a49635d1c1f8c2989578a8fc2c1de6</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #28427: old keys should not remove new values from</title>
<updated>2016-12-27T13:19:20+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2016-12-27T13:19:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e10ca3a0fe10d825689179e9958c70aef01f4230'/>
<id>e10ca3a0fe10d825689179e9958c70aef01f4230</id>
<content type='text'>
WeakValueDictionary when collecting from another thread.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
WeakValueDictionary when collecting from another thread.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #19542: Fix bugs in WeakValueDictionary.setdefault() and WeakValueDictionary.pop()</title>
<updated>2016-12-19T09:56:40+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2016-12-19T09:56:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c1ee488962f0a20c2814b14a4c29d6082dd38add'/>
<id>c1ee488962f0a20c2814b14a4c29d6082dd38add</id>
<content type='text'>
when a GC collection happens in another thread.

Original patch and report by Armin Rigo.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
when a GC collection happens in another thread.

Original patch and report by Armin Rigo.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22958: Constructor and update method of weakref.WeakValueDictionary</title>
<updated>2015-09-29T20:52:42+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-09-29T20:52:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f1c780870a455c36b03a9076d2b7457f8667088c'/>
<id>f1c780870a455c36b03a9076d2b7457f8667088c</id>
<content type='text'>
now accept the self and the dict keyword arguments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
now accept the self and the dict keyword arguments.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #22958: Constructor and update method of weakref.WeakValueDictionary</title>
<updated>2015-09-29T20:52:09+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2015-09-29T20:52:09+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b5102e3550a589084bf33fae15bf131f47d51b0b'/>
<id>b5102e3550a589084bf33fae15bf131f47d51b0b</id>
<content type='text'>
now accept the self and the dict keyword arguments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
now accept the self and the dict keyword arguments.
</pre>
</div>
</content>
</entry>
<entry>
<title>Closes #21173: Fix len() on a WeakKeyDictionary when .clear() was called with an iterator alive.</title>
<updated>2014-10-05T18:04:06+00:00</updated>
<author>
<name>Antoine Pitrou</name>
<email>solipsis@pitrou.net</email>
</author>
<published>2014-10-05T18:04:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=414e15a88d461be37e8f29c7a2158b5d32b9ef9c'/>
<id>414e15a88d461be37e8f29c7a2158b5d32b9ef9c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
