[Python-checkins] [python/cpython] 24b5ed: [3.5] bpo-30375: Correct the stacklevel of regex c...

GitHub noreply at github.com
Tue May 16 11:16:54 EDT 2017


 Branch: refs/heads/3.5
 Home: https://github.com/python/cpython
 Commit: 24b5ed230df65f6a1f9d8dd0c4409377576113d9
 https://github.com/python/cpython/commit/24b5ed230df65f6a1f9d8dd0c4409377576113d9
 Author: Serhiy Storchaka <storchaka at gmail.com>
 Date: 2017年05月16日 (2017年5月16日)
 Changed paths:
 M Lib/sre_parse.py
 M Lib/test/test_re.py
 M Misc/NEWS
 Log Message:
 -----------
 [3.5] bpo-30375: Correct the stacklevel of regex compiling warnings. (GH-1595) (#1605)
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..
(cherry picked from commit c7ac7280c321b3c1679fe5f657a6be0f86adf173)


More information about the Python-checkins mailing list

AltStyle によって変換されたページ (->オリジナル) /