pypi cattrs 26.2.1
v26.2.1

6 hours ago

What's Changed

  • Fix heterogeneous tuples and NamedTuples with a member type containing a quote in its repr, like tuple[Literal["a"], int], crashing structuring code generation with SyntaxError; the index note is now embedded with repr. (#777)
  • Fix transform_error listing the extra keys of a ForbiddenExtraKeysError in 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

Full Changelog: v26.2.0...v26.2.1

Don't miss a new cattrs release

NewReleases is sending notifications on new releases.