Skip to content

bpo-30299: Display a bytecode when compile a regex in debug mode. #1491

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 4 commits into from
May 14, 2017

Conversation

serhiy-storchaka
Copy link
Member

re.compile(..., re.DEBUG) now displays the compiled bytecode in
human readable form.

`re.compile(..., re.DEBUG)` now displays the compiled bytecode in
human readable form.
@serhiy-storchaka serhiy-storchaka added the type-feature A feature request or enhancement label May 7, 2017
@mention-bot
Copy link

@serhiy-storchaka, thanks for your PR! By analyzing the history of the files in this pull request, we identified @niemeyer, @bitdancer and @rhettinger to be potential reviewers.

Misc/NEWS Outdated
@@ -317,6 +317,9 @@ Extension Modules
Library
-------

- bpo-30299: Compiling regular expression in debug mode now displays the
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: add 'on cpython' after 'in debug mode'

@serhiy-storchaka serhiy-storchaka merged commit 4ab6abf into python:master May 14, 2017
@serhiy-storchaka serhiy-storchaka deleted the re-dis branch May 14, 2017 06:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-feature A feature request or enhancement
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants