bpo-40334: Rename PyConfig.use_peg to _use_peg_parser#19670
Merged
vstinner merged 3 commits intopython:masterfrom Apr 23, 2020
vstinner:pyconfig_peg
Merged
bpo-40334: Rename PyConfig.use_peg to _use_peg_parser#19670vstinner merged 3 commits intopython:masterfrom vstinner:pyconfig_peg
vstinner merged 3 commits intopython:masterfrom
vstinner:pyconfig_peg
Conversation
* Rename PyConfig.use_peg to _use_peg_parser * Document PyConfig._use_peg_parser and mark it a deprecated * Mark -X oldparser option and PYTHONOLDPARSER env var as deprecated in the documentation. * Add use_old_parser() and skip_if_new_parser() to test.support * Remove sys.flags.use_peg: use_old_parser() uses _testinternalcapi.get_configs() instead. * Enhance test_embed tests
Member
Author
|
See also PR #19669. |
lysnikolaou
approved these changes
Apr 23, 2020
Member
lysnikolaou
left a comment
There was a problem hiding this comment.
This is really much better. Thanks!
terryjreedy
added a commit
that referenced
this pull request
Jun 5, 2020
miss-islington
pushed a commit
to miss-islington/cpython
that referenced
this pull request
Jun 5, 2020
A tiny sliver of a 3.9 PEG parser patch needed to backport the test added by pythonGH-20486. (cherry picked from commit a5d6aba) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
terryjreedy
added a commit
that referenced
this pull request
Jun 5, 2020
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
in the documentation.
_testinternalcapi.get_configs() instead.
https://bugs.python.org/issue40334