[Python-checkins] gh-97816: Remove unused variables in `mutliprocessing.managers.Server` (#97817)

gpshead webhook-mailer at python.org
Tue Oct 4 01:29:55 EDT 2022


https://github.com/python/cpython/commit/27e59afa2ad98e6bfe26c6b2b7f6294fa561680c
commit: 27e59afa2ad98e6bfe26c6b2b7f6294fa561680c
branch: main
author: Koki Saito <49419225+saito828koki at users.noreply.github.com>
committer: gpshead <greg at krypto.org>
date: 2022-10-03T22:29:17-07:00
summary:

gh-97816: Remove unused variables in `mutliprocessing.managers.Server` (#97817)

Remove unused local variables.

files:
M Lib/multiprocessing/managers.py
M Misc/ACKS

diff --git a/Lib/multiprocessing/managers.py b/Lib/multiprocessing/managers.py
index 3f6479b7e3a6..b6534939b4d9 100644
--- a/Lib/multiprocessing/managers.py
+++ b/Lib/multiprocessing/managers.py
@@ -433,7 +433,6 @@ def incref(self, c, ident):
                     self.id_to_refcount[ident] = 1
                     self.id_to_obj[ident] = \
                         self.id_to_local_proxy_obj[ident]
-                    obj, exposed, gettypeid = self.id_to_obj[ident]
                     util.debug('Server re-enabled tracking & INCREF %r', ident)
                 else:
                     raise ke
diff --git a/Misc/ACKS b/Misc/ACKS
index fc0e745e28ce..6a14b546f691 100644
--- a/Misc/ACKS
+++ b/Misc/ACKS
@@ -1559,6 +1559,7 @@ Patrick Sabin
 Sébastien Sablé
 Amit Saha
 Suman Saha
+Koki Saito
 Hajime Saitou
 George Sakkis
 Victor Salgado



More information about the Python-checkins mailing list