gh-152798: Revert sys.thread_info.lock to 'semaphore'/None for consistency#152994
gh-152798: Revert sys.thread_info.lock to 'semaphore'/None for consistency#152994Wojusensei wants to merge 1 commit into
Conversation
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
1 similar comment
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
674f38b to
afd14a8
Compare
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
afd14a8 to
db0ac09
Compare
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
could a maintainer plz add the skip news label? this is a tiny internal revert that doesn't affect users Thanks! :) |
db0ac09 to
547a1be
Compare
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
547a1be to
bb91678
Compare
|
Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool. If this change has little impact on Python users, wait for a maintainer to apply the |
|
the Windows test_logging and test_tkinter failures appear to be unrelated to this change :( |
|
Please don't force-push. |
thank u for taking a look! i wont force push on this PR anymore. and thanks for confirming the logging test is unrelated, that's good to know :) |
Closes gh-152798
this PR reverts the change made in GH-134747 and GH-141140 that set
sys.thread_info.lockto"pymutex"the underlying lock implementation (
PyMutex) has been used since python 3.13.1 and 3.14, but changing this attribute in 3.15 was both late and misleadingthis revert restores the values to match Python 3.14 behavior:
"semaphore"on POSIX platforms (linux, macOS, BSD, etc)Noneon Windows and Emscripten