summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorShreyan Avigyan <shreyan.avigyan@gmail.com>2022-12-09 12:47:18 (GMT)
committerGitHub <noreply@github.com>2022-12-09 12:47:18 (GMT)
commita29a7b9b786d6b928c4bb4e6e683a3788e3ab1c1 (patch)
treed8af5c025584ef659d4dff7bdd485d7ea4a4bb9c /Misc
parentfb713b21833a17cba8022af0fa4c486512157d4b (diff)
downloadcpython-a29a7b9b786d6b928c4bb4e6e683a3788e3ab1c1.zip
cpython-a29a7b9b786d6b928c4bb4e6e683a3788e3ab1c1.tar.gz
cpython-a29a7b9b786d6b928c4bb4e6e683a3788e3ab1c1.tar.bz2
bpo-43984: Allow winreg.SetValueEx to set -1 without treating it as an error (GH-25775)
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS.d/next/Windows/2021-05-02-15-29-33.bpo-43984.U92jiv.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS.d/next/Windows/2021-05-02-15-29-33.bpo-43984.U92jiv.rst b/Misc/NEWS.d/next/Windows/2021-05-02-15-29-33.bpo-43984.U92jiv.rst
new file mode 100644
index 0000000..a5975b2
--- /dev/null
+++ b/Misc/NEWS.d/next/Windows/2021-05-02-15-29-33.bpo-43984.U92jiv.rst
@@ -0,0 +1,3 @@
+:meth:`winreg.SetValueEx` now leaves the target value untouched in the case of conversion errors.
+Previously, ``-1`` would be written in case of such errors.
+