bpo-43352: Add a Barrier object in asyncio lib by YvesDup · Pull Request #24903 · python/cpython (original) (raw)
bpo-43352: Add a Barrier object in asyncio lib
Copy design of object Barrier from threading, same features
Modified files are:
file lib/asyncio/locks.py
- Add Barrier and BrokenBarrierError objects
- Added these 2 previous objects to 'all' variable
file lib/test/test_asyncio/test_locks.py
- Add a BarrierTests object
- Modify STR_RGX_REPR to integrate 'repr' of Barrier
- Add a new test with Barrier in 'LockTest.test_lock_doesnt_accept_loop_parameter'
I am not familiar with git, so all files with .rst.bak extension are not in the scope of this PR
Just see https://bugs.python.org/issue37945, so the following paragraph can be deleted
"""
All tests (Win10 Python x64) are done and succesfull except one: python -m test -v test_locale
I am surprised about this error because, asyncio and locale are not linked, or are they ?
Please, how to proceed about this failure ? Open a new issue on bpo ?
a log file is available.
Thank for help
"""