Skip to content
Commit 1d822626 authored by Ofer Koren's avatar Ofer Koren Committed by GitHub
Browse files

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.
parent 676ee9d2
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment