summaryrefslogtreecommitdiff
path: root/Misc/NEWS
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-05-16 15:16:15 +0300
committerGitHub <noreply@github.com>2017-05-16 15:16:15 +0300
commitc7ac7280c321b3c1679fe5f657a6be0f86adf173 (patch)
treece201ce147377ada98b1b4ad55526e2eecfaaa8f /Misc/NEWS
parent87fa8a780e9045a26c735f085c07bba4b2d0be60 (diff)
downloadcpython-git-c7ac7280c321b3c1679fe5f657a6be0f86adf173.tar.gz
bpo-30375: Correct the stacklevel of regex compiling warnings. (#1595)
Warnings emitted when compile a regular expression now always point to the line in the user code. Previously they could point into inners of the re module if emitted from inside of groups or conditionals.
Diffstat (limited to 'Misc/NEWS')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 39f583f4c4..53750735f3 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -323,6 +323,10 @@ Extension Modules
Library
-------
+- bpo-30375: Warnings emitted when compile a regular expression now always
+ point to the line in the user code. Previously they could point into inners
+ of the re module if emitted from inside of groups or conditionals.
+
- bpo-30329: imaplib and poplib now catch the Windows socket WSAEINVAL error
(code 10022) on shutdown(SHUT_RDWR): An invalid operation was attempted.
This error occurs sometimes on SSL connections.