8000 Comparing python:main...thatch:master · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: python/cpython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: thatch/cpython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 1 commit
  • 3 files changed
  • 1 contributor

Commits on Mar 20, 2019

  1. Support matching ASYNC and AWAIT as keywords.

    With this change, you can match 'await' to mean the NAME token possible with
    <3.8, and the AWAIT token for the proper position.  Before this change, your
    only option is to match TOKEN and filter in your fixer.
    
    As an example of code improved by this, Bowler can now be more explicit about
    what it expects to find here, as seen at
    https://github.com/facebookincubator/Bowler/blob/da3ec9a88c41d050d591e0c9e15b44849f0c9631/bowler/query.py#L338
    
    I did a cursory reading of https://bugs.python.org/issue30406 and
    https://bugs.python.org/issue35975 and think this should be compatible.
    thatch committed Mar 20, 2019
    Configuration menu
    Copy the full SHA
    dbeda93 View commit details
    Browse the repository at this point in the history
Loading
0