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: sheeeng/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: main
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 15 files changed
  • 6 contributors

Commits on Mar 16, 2026

  1. Upgrade test_code from CPython 3.14.3

    CPython Developers authored and youknowone committed Mar 16, 2026
    Configuration menu
    Copy the full SHA
    2b06a0b View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    47c2acd View commit details
    Browse the repository at this point in the history
  3. Implement code object __eq__/__hash__

    - Add Comparable and Hashable traits for PyCode
    - Compare by name, args, flags, bytecode, consts, names, vars, linetable
    - Hash by tuple of key attributes matching CPython's code_hash
    - Remove unused custom_ops slice in Instruction::try_from
    - Add co_lnotab intentional non-implementation comment
    youknowone committed Mar 16, 2026
    Configuration menu
    Copy the full SHA
    d2d2822 View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2026

  1. Fix test_code: compiler and code object improvements

    - Add CO_NESTED flag (0x10) for nested function scopes
    - Emit LOAD_SMALL_INT for integers 0..=255 instead of LOAD_CONST
    - Eliminate dead constant expression statements (no side effects)
    - Ensure None in co_consts for functions with no other constants
    - Add code.__replace__() for copy.replace() support
    - Mark test_co_lnotab and test_invalid_bytecode as expectedFailure
    youknowone committed Mar 17, 2026
    Configuration menu
    Copy the full SHA
    c57f4de View commit details
    Browse the repository at this point in the history
  2. update cspell config (RustPython#7452)

    * add allowCompoundWords
    
    * cspell dict
    youknowone authored Mar 17, 2026
    Configuration menu
    Copy the full SHA
    2ea5960 View commit details
    Browse the repository at this point in the history
  3. Cleanup ci.yaml matrix usage (RustPython#7260)

    * cleanup
    
    * Don't enable all resources on windows
    ShaharNaveh authored Mar 17, 2026
    Configuration menu
    Copy the full SHA
    6b768ff View commit details
    Browse the repository at this point in the history
  4. Implement complex.from_number (RustPython#7453)

    Co-authored-by: CPython Developers <>
    Co-authored-by: Claude Opus 4.6 (1M context) <[email protected]>
    moreal and claude authored Mar 17, 2026
    Configuration menu
    Copy the full SHA
    f868f81 View commit details
    Browse the repository at this point in the history
  5. Merge pull request RustPython#7440 from youknowone/pycode

    Upgrade test_code and fix code bugs
    youknowone authored Mar 17, 2026
    Configuration menu
    Copy the full SHA
    0768cf8 View commit details
    Browse the repository at this point in the history
Loading