> Avoid boilerplate when setting instance attributes
dataclasses[1]
> Type Dispatch
functools.singledispatch works with type annotations[2]
> A more useful __repr__
dataclasses[1]
> A better pathlib.Path
path_object.read_text()[3]. The pickle stuff is interesting, but I don't see the value over just pickle.load(path_object). Monkeypatching Path to add this fees odd and unpythonic.
1. https://docs.python.org/3/library/dataclasses.html
2. https://docs.python.org/3/library/functools.html#functools.s...
3. https://docs.python.org/3/library/pathlib.html#pathlib.Path....