[issue32590] Proposal: add an "ensure(arg)" builtin for parameter validation
Sylvain Marie
report at bugs.python.org
Fri Jan 19 13:12:22 EST 2018
Sylvain Marie <sylvain.marie at schneider-electric.com> added the comment:
Very much interested by the topic.
For reference I tried to summarize the status of inline type and value validation here: https://smarie.github.io/python-valid8/why_validation/
And I proposed a solution with a library here https://smarie.github.io/python-valid8 (with a somewhat smart handling of the ValueError / TypeError inheritance dilemma, for what's worth)
----------
nosy: +smarie
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32590>
_______________________________________
More information about the Python-bugs-list
mailing list