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 <rep...@bugs.python.org>
<http://bugs.python.org/issue20381>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to