summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authornoah-weingarden <33741795+noah-weingarden@users.noreply.github.com>2022-10-28 07:51:18 (GMT)
committerGitHub <noreply@github.com>2022-10-28 07:51:18 (GMT)
commit0346eddbe933b5f1f56151bdebf5bd49392bc275 (patch)
treea7213ba11ed95f3640ec85832ebf1c378b621cee /Misc
parentfbcafa6eeeb106c8d9e9bb4c3b44e34e070f79c9 (diff)
downloadcpython-0346eddbe933b5f1f56151bdebf5bd49392bc275.zip
cpython-0346eddbe933b5f1f56151bdebf5bd49392bc275.tar.gz
cpython-0346eddbe933b5f1f56151bdebf5bd49392bc275.tar.bz2
gh-98624 Add mutex to unittest.mock.NonCallableMock (#98688)
* Added lock to NonCallableMock in unittest.mock * Add blurb * Nitpick blurb * Edit comment based on @Jason-Y-Z's review * Add link to GH issue
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Library/2022-10-25-20-17-34.gh-issue-98624.YQUPFy.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Library/2022-10-25-20-17-34.gh-issue-98624.YQUPFy.rst b/Misc/NEWS.d/next/Library/2022-10-25-20-17-34.gh-issue-98624.YQUPFy.rst
new file mode 100644
index 0000000..fb3a2b8
--- /dev/null
+++ b/Misc/NEWS.d/next/Library/2022-10-25-20-17-34.gh-issue-98624.YQUPFy.rst
@@ -0,0 +1,2 @@
+Add a mutex to unittest.mock.NonCallableMock to protect concurrent access
+to mock attributes.