Skip to content

Use PyMutex in the buffered I/O module #154707

Description

@ByteFlowing1337

Feature or enhancement

Proposal:

The buffered I/O module currently uses the obsolete PyThread_type_lock. I propose migrating it to the more performant PyMutex.

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)topic-IOtype-refactorCode refactoring (with no changes in behavior)

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions