Skip to content
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

gh-98831: Support conditional effects; use for LOAD_ATTR #101333

Merged
merged 15 commits into from
Jan 30, 2023

Commits on Jan 26, 2023

  1. Add parser support for conditional stack effects

    (Semantics aren't there yet, and the test fails.)
    gvanrossum committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    af97a7e View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    fbcdde3 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    27246e9 View commit details
    Browse the repository at this point in the history
  4. Convert LOAD_ATTR to new format

    First use of conditional stack effects.
    gvanrossum committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    667630e View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    69dbc5e View commit details
    Browse the repository at this point in the history
  6. Fix two bugs in case generator

    - UndefinedLocalError when generating metadata for an 'op'
    - Accidental newline inserted in test_generator.py
    gvanrossum committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    6a03438 View commit details
    Browse the repository at this point in the history
  7. Configuration menu
    Copy the full SHA
    2310916 View commit details
    Browse the repository at this point in the history
  8. Blackify

    gvanrossum committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    a0fa513 View commit details
    Browse the repository at this point in the history
  9. Configuration menu
    Copy the full SHA
    8aeaf01 View commit details
    Browse the repository at this point in the history
  10. Use Irit's idea

    gvanrossum committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    6240934 View commit details
    Browse the repository at this point in the history
  11. Cleanup

    gvanrossum committed Jan 26, 2023
    Configuration menu
    Copy the full SHA
    d78e2a7 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2023

  1. Configuration menu
    Copy the full SHA
    e69c1f3 View commit details
    Browse the repository at this point in the history

Commits on Jan 28, 2023

  1. Configuration menu
    Copy the full SHA
    c5529c6 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    37e3b40 View commit details
    Browse the repository at this point in the history
  3. Use 'X ? 1 : 0' instead of 'X != 0'

    This hopefully avoids a silly compiler warning.
    gvanrossum committed Jan 28, 2023
    Configuration menu
    Copy the full SHA
    81e5236 View commit details
    Browse the repository at this point in the history