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: RustPython/RustPython
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: RustPython/RustPython
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: compiler-315-current-prerequisites
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 14 commits
  • 40 files changed
  • 1 contributor

Commits on Oct 11, 2026

  1. Restore consolidated frozendict implementation on current main

    Preserve reverse dictionary iterator fixes and the 3.15 frame imports. Keep library refreshes separate pending the runtime dependency sequencing decision.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 11, 2026
    Configuration menu
    Copy the full SHA
    66863fb View commit details
    Browse the repository at this point in the history
  2. Support scoped canonical test updates in update_lib

    Index conditional test classes and methods without crossing namespaces, reject ambiguous targets, and preserve inherited override indentation. Add hash-pinned whole-test copying that verifies execution context and exact source bytes, with focused Python fixtures.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 11, 2026
    Configuration menu
    Copy the full SHA
    4c16e68 View commit details
    Browse the repository at this point in the history
  3. Align frozendict copy support and tests with CPython 3.15

    Import exact-final copy.py with update_lib; defer Mapping ABC registration to the later library stage. Generate only proven marker corrections, retain observed debug recursion-limit expected failures, and copy the complete canonical builtin-doc discovery test using hash-pinned update_lib copy-test.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 11, 2026
    Configuration menu
    Copy the full SHA
    28623c1 View commit details
    Browse the repository at this point in the history
  4. Preserve decorator rationale during canonical test copying

    Reject differing decorator source blocks even when their ASTs match. Cover inline and multiline marker comments, guarded async methods, and CLI no-write behavior.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 11, 2026
    Configuration menu
    Copy the full SHA
    c6ddfae View commit details
    Browse the repository at this point in the history
  5. Serialize bytearray exports with resizing

    Keep descriptor acquisition and export retention under the bytearray read lock, and recheck exports after acquiring a resize lock. Guard initializer and sequence deletion writes, preserve zero-index initialization callbacks, and match RawIOBase.read buffer ownership without bypassing export checks.
    
    Add bounded Python export-lifetime and concurrent decode/memoryview regression coverage.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 11, 2026
    Configuration menu
    Copy the full SHA
    d0819a2 View commit details
    Browse the repository at this point in the history
  6. Preserve final dictionary hash-error context and formatting

    Share exact-TypeError rewriting between dict and frozendict without attaching a cause. Propagate string and repr callback failures using final BaseException argument formatting, leaving global diagnostic behavior unchanged. Add bounded Python coverage for context, identity, and formatting failures.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 11, 2026
    Configuration menu
    Copy the full SHA
    7d06dd0 View commit details
    Browse the repository at this point in the history

Commits on Oct 12, 2026

  1. Release bytearray initializer storage and check deletion indices

    Reset initializer storage before zero-count callbacks and returns. Validate integer deletion indices with a nonblocking snapshot before export rejection where possible, then revalidate under the resize guard. Preserve fast export rejection when contended to avoid codec callback deadlocks.
    
    Add Python regressions for exported-empty rejection, initializer capacity release, callback ordering, and ordinary deletion error precedence.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    fcd4f4c View commit details
    Browse the repository at this point in the history
  2. Fix bytearray concatenation buffer callback reentrancy

    Acquire both operand exports before borrowing their bytes and release them in CPython order. Cover reentrant initialization, mutable callbacks and export cleanup through public concatenation APIs.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    9fdae0a View commit details
    Browse the repository at this point in the history
  3. Stage bytearray buffer callbacks outside receiver locks

    Keep operation-specific export and release ordering for comparisons, searches, affix tuples and translation. Resolve padding arguments before borrowing the receiver, and retain buffer owners through computation without holding bytearray locks across Python callbacks.
    
    Add bounded Python regressions for callback mutation, reentrant initialization, lazy affixes, subclass protocols and ordered cleanup.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    a0fec1f View commit details
    Browse the repository at this point in the history
  4. Consolidate bytearray regressions in the builtin snippet

    Preserve all existing regression bodies and coverage while following the requested snippet organization.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    f163e13 View commit details
    Browse the repository at this point in the history
  5. Finish source-less bytearray initialization after clearing

    Preserve option validation and initial export rejection, then avoid a redundant resize guard and storage swap when no source was provided. Keep zero-count callback behavior and all existing regressions.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    108171d View commit details
    Browse the repository at this point in the history
  6. Prepare compiler prerequisite stack base

    Combine the reviewed mapping prerequisite and bytearray buffer prerequisite used by compiler candidate 2759621. This branch is a temporary review base, not a mainline merge.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    b54a634 View commit details
    Browse the repository at this point in the history
  7. Reconcile compiler prerequisite base with current main

    Source-only integration checkpoint; new validation remains pending.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    5e7e7cc View commit details
    Browse the repository at this point in the history
  8. Update compiler prerequisite base to reviewed bytearray source

    Integrate verified source-less initialization fix 108171d and its published ancestors. No separate comparison optimization is included. Source-only integration checkpoint; new validation remains pending.
    
    Assisted-by: OpenAI Codex:model identifier unavailable
    youknowdot committed Oct 12, 2026
    Configuration menu
    Copy the full SHA
    9e0541b View commit details
    Browse the repository at this point in the history
Loading