◐ Shell
clean mode source ↗

Fix allow_threads and EINTR handling by youknowone · Pull Request #7457 · RustPython/RustPython

@youknowone youknowone changed the title Wrap Windows SemLock acquire wait with allow_threads Fix allow_threads and EINTR handling

Mar 19, 2026

coderabbitai[bot]

coderabbitai[bot]

- Wrap Windows SemLock acquire wait with allow_threads
- Retry nanosleep on EINTR with remaining time instead of
  returning early
- Remove expectedFailure for test_sleep in _test_eintr.py

youknowone added a commit to youknowone/RustPython that referenced this pull request

Mar 22, 2026
* Fix allow_threads and EINTR handling

- Wrap Windows SemLock acquire wait with allow_threads
- Retry nanosleep on EINTR with remaining time instead of
  returning early
- Remove expectedFailure for test_sleep in _test_eintr.py

* Remove expectedFailureIfWindows for testHashComparisonOfMethods

Copilot AI pushed a commit that referenced this pull request

Mar 25, 2026
* Fix allow_threads and EINTR handling

- Wrap Windows SemLock acquire wait with allow_threads
- Retry nanosleep on EINTR with remaining time instead of
  returning early
- Remove expectedFailure for test_sleep in _test_eintr.py

* Remove expectedFailureIfWindows for testHashComparisonOfMethods