Skip to content

_xxinterpqueues.get return strange value, when the queue is empty#116239

@sobolevn

Description

@sobolevn

Bug report

Code:

» ./python.exePython3.13.0a4+ (heads/main:5dc8c84d397, Mar22024, 10:55:34) [Clang15.0.0 (clang-1500.0.40.1)] ondarwinType"help", "copyright", "credits"or"license"formoreinformation. >>>import_xxinterpqueues>>>a=_xxinterpqueues.create(2, 9) >>>_xxinterpqueues.get(a, 'a') ('a', 0) >>>

It is happening on a fresh build of main after #116102 is fixed.

I can reproduce this 100% of times, QueueEmpty as @ericsnowcurrently said in #116102 (comment) never happens to me.

I am on macos.

Metadata

Metadata

Assignees

No one assigned

    Labels

    pendingThe issue will be closed if no feedback is providedtopic-subinterpreterstype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions