• 
      

    Fix a Python 3.10-ism that crept in.

    Review Request #14846 — Created Feb. 23, 2026 and submitted

    Information

    Review Board
    release-7.1.x

    Reviewers

    One call to cast() was using dict[] syntax, which only works on
    Python 3.10 and up.

    • Ran unit tests.
    • Scanned through the codebase for all usage of cast() (as well as
      annotations without __future__.annotations in the file, TypeAlias,
      and isinstance()) to verify we didn't have this problem elsewhere
      in a place not covered by tests.
    Summary ID
    Fix a Python 3.10-ism that crept in.
    One call to `cast()` was using `dict[]` syntax, which only works on Python 3.10 and up. Testing Done: - Ran unit tests. - Scanned through the codebase for all usage of `cast()` (as well as annotations without `__future__.annotations` in the file, `TypeAlias`, and `isinstance()`) to verify we didn't have this problem elsewhere in a place not covered by tests.
    xzpnppwplnuprkllwplultoyqrrsuwxw
    chipx86
    1. Ship It!
    2. 
        
    david
    Review request changed
    Status:
    Completed
    Change Summary:
    Pushed to release-7.1.x (177230c)