What's Changed
- Fix heterogeneous tuples and
NamedTuples with a member type containing a quote in itsrepr, liketuple[Literal["a"], int], crashing structuring code generation withSyntaxError; the index note is now embedded withrepr. (#777) - Fix
transform_errorlisting the extra keys of aForbiddenExtraKeysErrorin set iteration order, which made the message differ between runs; the keys are now sorted, like the error's own__str__already sorts them. (#776)
New Contributors
- @MaxFreedomPollard made their first contribution in #776
Full Changelog: v26.2.0...v26.2.1