check 'safely_stringify_for_pudb' on the type #276
The hasattr call should check for 'safely_stringify_for_pudb' on the type of the object instead of the object itself, so as not to implicitly call its __getattr__ (if implemented). This will avoid the exceptions on such magic objects.
Loading
Please sign in to comment