sumtype
sumtype copied to clipboard
A namedtuple-style library for defining immutable sum types in Python.
Results
3
sumtype issues
Sort by
recently updated
recently updated
newest added
Bumps [py](https://github.com/pytest-dev/py) from 1.6.0 to 1.10.0. Changelog Sourced from py's changelog. 1.10.0 (2020-12-12) Fix a regular expression DoS vulnerability in the py.path.svnwc SVN blame functionality (CVE-2020-29651) Update vendored apipkg: 1.4...
dependencies
What I need is rust-like enums in python, and your library really suits my needs. However, my linter is pretty much confused by the syntax you propose. I'm not sure...
enhancement
static-analysis
Consider the following: ```Python from __future__ import annotations from sumtype import sumtype class Test(sumtype): def A(inner: Test): ... ``` This results in the following NameError exception being raised: ``` Traceback...