Qix- / better-exceptions

Pretty and useful exceptions in Python, automatically.
MIT License
4.6k stars 204 forks source link

Add objects attributes introspection to display them #73

Closed Delgan closed 5 years ago

Delgan commented 5 years ago

@Qix- Here is my solution for implementing #71. 🙂

The code is not as straightforward as I wished, but it should be comprehensive enough. If you have alternative ideas or others proposals for the implementation, don't hesitate to let me know. I tried to think as many edge cases as possible. I also used inspect.getattr_static() as you suggested. 👍

Qix- commented 5 years ago

@delgan make sure to sign into issuehunt and claim this so I can award the bounty :)

Delgan commented 5 years ago

@Delgan make sure to sign into issuehunt and claim this so I can award the bounty :)

@Qix- Thanks for supporting OSS contributions like this! However, I'm not interested by the bounty, I would prefer you keep it for all the work done so far, or this to be reinvested in another issue.