Skip to content

v1.0.1

Choose a tag to compare

@SpectraL519 SpectraL519 released this 28 Dec 20:40
· 8 commits to master since this release
b4002c4

YT-PYPF-21: Introduce type-wise sorting of projections and formatters

Sorting the combined formatters list (predefined + user-defined) in the constructor of PrettyFormatter to ensure the proper ordering of types:

  • the child types precede their parent types
  • a type precedes an union to which it belongs
  • Any and object are considered equal and always the greatest types in the ordering