# Feature or enhancement ### Proposal: The [buffered I/O module](https://github.com/python/cpython/blob/main/Modules/_io/bufferedio.c) 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_ <!-- gh-linked-prs --> ### Linked PRs * gh-154708 <!-- /gh-linked-prs -->
Activity
ZeroIntensity commentedon Jul 27, 2026
PyThread_type_lockis aPyMutex.ZeroIntensity commentedon Jul 27, 2026
See my comment.