[issue20381] Argument Clinic: expression default arguments broken
Larry Hastings
report at bugs.python.org
Fri Jan 24 23:41:54 CET 2014
Larry Hastings added the comment:
It's considered bad form to catch Exception. We should catch the minimum necessary. If there are exceptions we forgot, people will complain and then we'll add those.
Also, I want to make sure (if possible) that the value round-trips correctly through eval and repr. We need to repr the value, and if it doesn't round-trip properly the user needs to know.
On the other hand, I'm okay with starting with bad=False and going from there. The previous block (with DetectBadNodes()) already does that. Hang on for a patch.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20381>
_______________________________________
More information about the Python-bugs-list
mailing list