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
New warning: ‘fmt’ may be used uninitialized in this function [-Wmaybe-uninitialized] #116102
As to "Why does it crash?", it's because the low-level module requires you to call _xxinterpqueues.destroy(). Note that I didn't really intend for people to use the low-level module directly. If this is a problem, we can address it separately from this issue.
Activity
sobolevn commentedon Feb 29, 2024
Thanks a lot for your helpful reports!

I wanted to post the same :)
sobolevn commentedon Feb 29, 2024
I think that there are multiple issues here:
('a', 3)is returned?3is not the defaultfmtfor this queueAssertion failed: (queues->count == 0), function _queues_fini, file _xxinterpqueuesmodule.c, line 689.CC @ericsnowcurrently
ericsnowcurrently commentedon Mar 1, 2024
It should have raised
QueueEmpty. When run your code locally I getQueueEmpty.I'm going to look into this.
gh-116102: Silence a Compiler Warning in _xxinterpqueues (gh-116230)
ericsnowcurrently commentedon Mar 2, 2024
I've fixed the warning.
As to "Why does it crash?", it's because the low-level module requires you to call
_xxinterpqueues.destroy(). Note that I didn't really intend for people to use the low-level module directly. If this is a problem, we can address it separately from this issue.sobolevn commentedon Mar 2, 2024
@ericsnowcurrently I will open a new one, because I don't have the same result as you with
QueueEmpty:(sobolevn commentedon Mar 2, 2024
Done: #116239
sobolevn commentedon Mar 2, 2024
Can we call
.destroy()on module shut-down? It might fix this problem.Tell me to open a new issue if you think that this is worth fixing, though :)
pythongh-116102: Silence a Compiler Warning in _xxinterpqueues (pytho…
ericsnowcurrently commentedon Mar 4, 2024
I'm taking care of this in gh-116328.
pythongh-116102: Silence a Compiler Warning in _xxinterpqueues (pytho…
pythongh-116102: Silence a Compiler Warning in _xxinterpqueues (pytho…