Skip to content

gh-76785: Expand How Interpreter Queues Handle Interpreter Finalization #116431

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
Prev Previous commit
Fix list_all().
  • Loading branch information
ericsnowcurrently committed Jul 12, 2024
commit 94f4f567e03e3b733ec9526566ec6ecae26f7524
4 changes: 2 additions & 2 deletions Lib/test/support/interpreters/queues.py
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,8 @@ def create(maxsize=0, *, syncobj=False, unbounditems=UNBOUND):

def list_all():
"""Return a list of all open queues."""
return [Queue(qid, _fmt=fmt, _unbound=unbound)
for qid, fmt, unbound in _queues.list_all()]
return [Queue(qid, _fmt=fmt, _unbound=(unboundop,))
for qid, fmt, unboundop in _queues.list_all()]


_known_queues = weakref.WeakValueDictionary()
Expand Down
Loading
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy