[Python-checkins] [python/cpython] 4ab6ab: bpo-30299: Display a bytecode when compile a regex...

GitHub noreply at github.com
Sun May 14 02:05:15 EDT 2017


  Branch: refs/heads/master
  Home:   https://github.com/python/cpython
  Commit: 4ab6abfca4d6e444cca04821b24701cde6993f4e
      https://github.com/python/cpython/commit/4ab6abfca4d6e444cca04821b24701cde6993f4e
  Author: Serhiy Storchaka <storchaka at gmail.com>
  Date:   2017-05-14 (Sun, 14 May 2017)

  Changed paths:
    M Lib/sre_compile.py
    M Lib/test/test_re.py
    M Misc/NEWS

  Log Message:
  -----------
  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.




More information about the Python-checkins mailing list