Skip to content

Can't import concurrent.futures.thread at shutdown #113060

Description

@pitrou

Bug report

Bug description:

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

importthreadingdefuse_cf():
importconcurrent.futures.threaddefmain():
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

    stdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions