Skip to content

missing attibute '_is_main_interpreter' #838

@ericsnowcurrently

Description

@ericsnowcurrently

This is essentially a recurrence of #604, but affecting a recently released Python version: 3.12.1. See python/cpython#112826. I merged a workaround in CPython for 3.12 (to preserve compatibility with 3.12.0), but for 3.13+ this will need to be fixed in eventlet.

Basically, eventlet/eventlet/green/thread.py needs something like the following added:

_is_main_interpreter = __thread._is_main_interpreter

I'm happy to open a PR if that would help.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions