[Python-ideas] Decorator to avoid a mistake

Vince Vinet vince.vinet at gmail.com
Wed Nov 30 08:38:53 EST 2016


Hello,

While I think this should not be "on by default", I don't see the harm in
being able to opt-in to this behavior.

I also figured spending a few minutes attempting to write this would be fun:

https://gist.github.com/veloutin/2ec3e5246651f5de78442516d8e24fc1

François: sorry about the double reply, I forgot to reply to the list.

Vince
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20161130/051c250a/attachment-0001.html>


More information about the Python-ideas mailing list