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-87729: add LOAD_SUPER_ATTR instruction for faster super() #103497

Merged
merged 23 commits into from
Apr 24, 2023

Commits on Apr 13, 2023

  1. Configuration menu
    Copy the full SHA
    0a0ebe2 View commit details
    Browse the repository at this point in the history
  2. add news entry

    carljm committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    f14a3bf View commit details
    Browse the repository at this point in the history
  3. document LOAD_ZERO_SUPER_ATTR

    carljm committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    5625e73 View commit details
    Browse the repository at this point in the history
  4. fix gdb test_wrapper_call

    carljm committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    0775efe View commit details
    Browse the repository at this point in the history
  5. optimize 2-arg super also

    carljm committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    f229b5b View commit details
    Browse the repository at this point in the history
  6. fix incompatible assignment

    carljm committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    626999d View commit details
    Browse the repository at this point in the history
  7. Merge branch 'main' into superopt

    * main:
      pythongh-103479: [Enum] require __new__ to be considered a data type (pythonGH-103495)
      pythongh-103365: [Enum] STRICT boundary corrections (pythonGH-103494)
      pythonGH-103488: Use return-offset, not yield-offset. (pythonGH-103502)
      pythongh-103088: Fix test_venv error message to avoid bytes/str warning (pythonGH-103500)
      pythonGH-103082: Turn on branch events for FOR_ITER instructions. (python#103507)
      pythongh-102978: Fix mock.patch function signatures for class and staticmethod decorators (python#103228)
      pythongh-103462: Ensure SelectorSocketTransport.writelines registers a writer when data is still pending (python#103463)
      pythongh-95299: Rework test_cppext.py to not invoke setup.py directly (python#103316)
    carljm committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    9384106 View commit details
    Browse the repository at this point in the history
  8. fix bad first arg

    carljm committed Apr 13, 2023
    Configuration menu
    Copy the full SHA
    92c943b View commit details
    Browse the repository at this point in the history

Commits on Apr 14, 2023

  1. Apply suggestions from code review

    Co-authored-by: Dong-hee Na <donghee.na92@gmail.com>
    carljm and corona10 authored Apr 14, 2023
    Configuration menu
    Copy the full SHA
    775ed0f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    2077f1a View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into superopt

    * main:
      pythongh-103532: Remove TKINTER_PROTECT_LOADTK code (pythonGH-103535)
      pythongh-103180: Add CI timeouts to all GitHub Actions jobs (python#103437)
      Remove double space in import error message (python#103458)
      ipaddress: Remove non-existent ip_str param from docstring (python#103461)
      Fix syntax typo in isolating extensions doc (python#103516)
      pythongh-103406: Modernize pos-only arguments usage in `test_signature` (python#103407)
      Proofread howto/perf_profiling.rst (python#103530)
      Fix unused functions warnings in instrumentation.c (pythonGH-103515)
    carljm committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    64da49f View commit details
    Browse the repository at this point in the history
  4. update generated cases

    carljm committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    4759ad9 View commit details
    Browse the repository at this point in the history
  5. fix incompatible types

    carljm committed Apr 14, 2023
    Configuration menu
    Copy the full SHA
    94399c2 View commit details
    Browse the repository at this point in the history

Commits on Apr 17, 2023

  1. Merge branch 'main' into superopt

    * main:
      Remove `expert-*` from `project-updater` GH workflow (python#103579)
      pythongh-103583: Add codecs and maps to _codecs_* module state (python#103540)
      pythongh-48330: address review comments to PR-12271 (python#103209)
      pythongh-103527: Add multibytecodec.h as make dep for _codecs_* (python#103567)
      pythongh-103553: Improve `test_inspect`: add more assertions, remove unused (python#103554)
      pythonGH-103517: Improve tests for `pathlib.Path.walk()` (pythonGH-103518)
      pythongh-102114: Make dis print more concise tracebacks for syntax errors in str inputs (python#102115)
      pythonGH-78079: Fix UNC device path root normalization in pathlib (pythonGH-102003)
      pythongh-101517: Add regression test for a lineno bug in try/except* impacting pdb (python#103547)
      pythongh-103527: Add make deps for _codecs_* and _multibytecodec (python#103528)
      pythongh-103532: Fix reST syntax in NEWS entry (pythonGH-103544)
      pythongh-103532: Add NEWS entry (python#103542)
    carljm committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    5136459 View commit details
    Browse the repository at this point in the history
  2. review comments

    carljm committed Apr 17, 2023
    Configuration menu
    Copy the full SHA
    82945b2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    3a3cb74 View commit details
    Browse the repository at this point in the history

Commits on Apr 19, 2023

  1. simplify oparg & 2 handling

    carljm committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    e4466a7 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into superopt

    * main: (24 commits)
      pythongh-98040: Move the Single-Phase Init Tests Out of test_imp (pythongh-102561)
      pythongh-83861: Fix datetime.astimezone() method (pythonGH-101545)
      pythongh-102856: Clean some of the PEP 701 tokenizer implementation (python#103634)
      pythongh-102856: Skip test_mismatched_parens in WASI builds (python#103633)
      pythongh-102856: Initial implementation of PEP 701 (python#102855)
      pythongh-103583: Add ref. dependency between multibytecodec modules (python#103589)
      pythongh-83004: Harden msvcrt further (python#103420)
      pythonGH-88342: clarify that `asyncio.as_completed` accepts generators yielding tasks (python#103626)
      pythongh-102778: IDLE - make sys.last_exc available in Shell after traceback (python#103314)
      pythongh-103582: Remove last references to `argparse.REMAINDER` from docs (python#103586)
      pythongh-103583: Always pass multibyte codec structs as const (python#103588)
      pythongh-103617: Fix compiler warning in _iomodule.c (python#103618)
      pythongh-103596: [Enum] do not shadow mixed-in methods/attributes (pythonGH-103600)
      pythonGH-100530: Change the error message for non-class class patterns (pythonGH-103576)
      pythongh-95299: Remove lingering setuptools reference in installer scripts (pythonGH-103613)
      [Doc] Fix a typo in optparse.rst (python#103504)
      pythongh-101100: Fix broken reference `__format__` in `string.rst` (python#103531)
      pythongh-95299: Stop installing setuptools as a part of ensurepip and venv (python#101039)
      pythonGH-103484: Docs: add linkcheck allowed redirects entries for most cases (python#103569)
      pythongh-67230: update whatsnew note for csv changes (python#103598)
      ...
    carljm committed Apr 19, 2023
    Configuration menu
    Copy the full SHA
    5c0a21c View commit details
    Browse the repository at this point in the history

Commits on Apr 20, 2023

  1. cleanup and clarification

    carljm committed Apr 20, 2023
    Configuration menu
    Copy the full SHA
    f161268 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    df442c0 View commit details
    Browse the repository at this point in the history

Commits on Apr 24, 2023

  1. Merge branch 'main' into superopt

    * main: (53 commits)
      pythongh-102498 Clean up unused variables and imports in the email module  (python#102482)
      pythongh-99184: Bypass instance attribute access in `repr` of `weakref.ref` (python#99244)
      pythongh-99032: datetime docs: Encoding is no longer relevant (python#93365)
      pythongh-94300: Update datetime.strptime documentation (python#95318)
      pythongh-103776: Remove explicit uses of $(SHELL) from Makefile (pythonGH-103778)
      pythongh-87092: fix a few cases of incorrect error handling in compiler (python#103456)
      pythonGH-103727: Avoid advancing tokenizer too far in f-string mode (pythonGH-103775)
      Revert "Add tests for empty range equality (python#103751)" (python#103770)
      pythongh-94518: Port 23-argument `_posixsubprocess.fork_exec` to Argument Clinic (python#94519)
      pythonGH-65022: Fix description of copyreg.pickle function (python#102656)
      pythongh-103323: Get the "Current" Thread State from a Thread-Local Variable (pythongh-103324)
      pythongh-91687: modernize dataclass example typing (python#103773)
      pythongh-103746: Test `types.UnionType` and `Literal` types together (python#103747)
      pythongh-103765: Fix 'Warning: py:class reference target not found: ModuleSpec' (pythonGH-103769)
      pythongh-87452: Improve the Popen.returncode docs
      Removed unnecessary escaping of asterisks (python#103714)
      pythonGH-102973: Slim down Fedora packages in the dev container (python#103283)
      pythongh-103091: Add PyUnstable_Type_AssignVersionTag (python#103095)
      Add tests for empty range equality (python#103751)
      pythongh-103712: Increase the length of the type name in AttributeError messages (python#103713)
      ...
    carljm committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    19b8025 View commit details
    Browse the repository at this point in the history
  2. Merge branch 'main' into superopt

    * main:
      pythongh-101517: fix line number propagation in code generated for except* (python#103550)
      pythongh-103780: Use patch instead of mock in asyncio unix events test (python#103782)
    carljm committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    0de5bc6 View commit details
    Browse the repository at this point in the history
  3. Merge branch 'main' into superopt

    * main:
      pythongh-100227: Only Use deepfreeze for the Main Interpreter (pythongh-103794)
      pythongh-103492: Clarify SyntaxWarning with literal comparison (python#103493)
      pythongh-101100: Fix Sphinx warnings in `argparse` module (python#103289)
    carljm committed Apr 24, 2023
    Configuration menu
    Copy the full SHA
    dbe1665 View commit details
    Browse the repository at this point in the history