8000 Can't import `concurrent.futures.thread` at shutdown · Issue #113060 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Can't import concurrent.futures.thread at shutdown #113060
Closed as not planned
Closed as not planned
@pitrou

Description

@pitrou

Bug report

Bug description:

Simple reproducer (real-world bug report is a bit more complex):

import threading


def use_cf():
    import concurrent.futures.thread


def main():
    t = threading.Thread(target=use_cf)
    t.start()


if __name__ == "__main__":
    main()

CPython versions tested on:

3.10, 3.11, 3.12, 3.13

Operating systems tested on:

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibPython modules in the Lib dirtype-bugAn unexpected behavior, bug, or error

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0