Skip to content

GH-95234 introduced an incorrect condition in the code #96125

@kanavin

Description

@kanavin

In Python/thread.c

#elif defined(_POSIX_THREADS) # if defined(__EMSCRIPTEN__) || !defined(__EMSCRIPTEN_PTHREADS__) # define PYTHREAD_NAME "pthread-stubs" # else # define PYTHREAD_NAME "pthread" # endif 

|| should be &&.

Metadata

Metadata

Assignees

No one assigned

    Labels

    3.11only security fixes3.12only security fixestype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions