Andrei Kulakov <andrei....@gmail.com> added the comment:

Martin: I was also thinking of adding a parameter to `extract()`. The issue I 
see is that it's still confusing and complicated for new students to understand 
the issue and find the parameter and understand why it's needed.

Joe: one important thing to note is that if an exception is caught and handled, 
it doesn't at all mean that unrelated exceptions from __repr__ can be silenced. 
Can we determine if they came from an initialized object or from object in the 
middle of initialization?

By the way, can you post a complete traceback that your students were getting? 
I would like to see how hard it is to tell from the traceback that a particular 
classes' __repr__ is at fault. If it's a long traceback please attach as a 
file..

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue43656>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to