Skip to content

qrcode is (possibly) not thread-safe #421

@jkmnt

Description

@jkmnt

The following notice for bisect was added to the Python 3.13 docs:

"If multiple threads concurrently use bisect functions on the same sequence, this may result in undefined behaviour."

The qrcode is seems to be affected, since it uses bisect_left on a global BIT_LIMIT_TABLE.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions