pympler/pympler — pull request #9 by sixohsix (2014-03-06 15:23:44+00:00)
Title: Handle calls to repr() that produce exceptions

Enhance "safe repr" in asizeof.py to handle calls to `repr` that produce other kinds of exceptions.

Of course, objects shouldn't produce such errors, but I ran into some while profiling my application. "N/A" is preferable to having pympler crash.

cc: @Pankrat