Skip to content

_thread module docs: update yet another bullet point in the *caveats* list #125058

@zuo

Description

@zuo

Documentation

[Note: This issue is, in a way, a continuation of gh-125025.]

Near the end of the documentation of the _thread module there is a list of caveats. One of them – the third one – seems no longer accurate:

It is not possible to interrupt the acquire() method on a lock — the KeyboardInterrupt exception will happen after the lock has been acquired.

whereas it appears that (since Python 3.2) lock acquisitions can be interrupted by signals, at least on platforms using Pthreads.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions