]> granicus.if.org Git - python/commit
bpo-30299: Display a bytecode when compile a regex in debug mode. (#1491)
authorSerhiy Storchaka <storchaka@gmail.com>
Sun, 14 May 2017 06:05:13 +0000 (09:05 +0300)
committerGitHub <noreply@github.com>
Sun, 14 May 2017 06:05:13 +0000 (09:05 +0300)
commit4ab6abfca4d6e444cca04821b24701cde6993f4e
tree3fa4eb3ddab7c00ec87cf3a369a03b5e5fcce518
parent821a9d146bc04a1bc1a9807962990a1f59d692b8
bpo-30299: Display a bytecode when compile a regex in debug mode. (#1491)

`re.compile(..., re.DEBUG)` now displays the compiled bytecode in
human readable form.
Lib/sre_compile.py
Lib/test/test_re.py
Misc/NEWS