summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2022-12-09 13:17:25 (GMT)
committerGitHub <noreply@github.com>2022-12-09 13:17:25 (GMT)
commit580165d01c579c781c9ba0327f6ff7457201cea8 (patch)
tree01e7326a869a173f449d1cf585cb887c1d0131e0 /Misc/NEWS.d
parent8ef604518745989a3991a37f58368d2ce3c27d84 (diff)
downloadcpython-580165d01c579c781c9ba0327f6ff7457201cea8.zip
cpython-580165d01c579c781c9ba0327f6ff7457201cea8.tar.gz
cpython-580165d01c579c781c9ba0327f6ff7457201cea8.tar.bz2
bpo-43984: Allow winreg.SetValueEx to set -1 without treating it as an error (GH-25775)
(cherry picked from commit a29a7b9b786d6b928c4bb4e6e683a3788e3ab1c1) Co-authored-by: Shreyan Avigyan <shreyan.avigyan@gmail.com>
Diffstat (limited to 'Misc/NEWS.d')
-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.
+