You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
_xxinterpqueues.get return strange value, when the queue is empty #116239
Seems this behaviour is intentional. Second parameter on get method means default value. So, it's ok to not to see the QueueEmpty exception. But, why is there a tuple as a return value of get? The second item in this tuple looks superfluous (Should there really be a tuple here?)
Activity
Eclips4 commentedon Mar 2, 2024
Seems this behaviour is intentional. Second parameter on
getmethod means default value. So, it's ok to not to see theQueueEmptyexception. But, why is there a tuple as a return value ofget? The second item in this tuple looks superfluous (Should there really be a tuple here?)sobolevn commentedon Mar 2, 2024
Yes, the tuple is of
(default, fmt).ericsnowcurrently commentedon Mar 4, 2024
This should be cleared up by gh-116328.
Eclips4 commentedon Sep 14, 2024
This was fixed in #116328.