summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2021-09-29 10:07:58 (GMT)
committerGitHub <noreply@github.com>2021-09-29 10:07:58 (GMT)
commiteed32df5b6b989caf125d829301546db58b529dd (patch)
treef348047d4945b33cf077988167e5bf290b1eb6ea /Misc
parentb6fe8572509b77d2002eaddf99d718e9b4835684 (diff)
downloadcpython-eed32df5b6b989caf125d829301546db58b529dd.zip
cpython-eed32df5b6b989caf125d829301546db58b529dd.tar.gz
cpython-eed32df5b6b989caf125d829301546db58b529dd.tar.bz2
bpo-24391: Better reprs for threading objects. (GH-20534)
Add reprs for Semaphore, BoundedSemaphore, Event, and Barrier.
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2020-05-30-10-48-04.bpo-24391.ZCTnhX.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2020-05-30-10-48-04.bpo-24391.ZCTnhX.rst b/Misc/NEWS.d/next/Library/2020-05-30-10-48-04.bpo-24391.ZCTnhX.rst
new file mode 100644
index 0000000..15add15
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2020-05-30-10-48-04.bpo-24391.ZCTnhX.rst
@@ -0,0 +1,3 @@
+Improved reprs of :mod:`threading` synchronization objects:
+:class:`~threading.Semaphore`, :class:`~threading.BoundedSemaphore`,
+:class:`~threading.Event` and :class:`~threading.Barrier`.