Qix- / better-exceptions

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

add attribute inspection + test (#71) #94

Closed dtrckd closed 4 years ago

dtrckd commented 5 years ago

Hello,

I propose a comprehensive solution to show values of attributes as suggested in #71. Nested attributes via subscripts or functions call (e.g. a.b[42].c().b.c) could be easily managed by completing the function get_nested_attributes I wrote.

I regenerate the test files as it add info for the attributes used in the testcases.


IssueHunt Summary ### Referenced issues This pull request has been submitted to: - [#71: Attribute inspection](https://issuehunt.io/repos/84720080/issues/71) --- IssueHunt has been backed by the following sponsors. [Become a sponsor](https://issuehunt.io/membership/members)
alexmojaki commented 5 years ago

There's already a PR for this in #73, I think it's not visible enough from #71 which might be why it's got an issuehunt bounty on it.

Qix- commented 4 years ago

Indeed, but thank you for the PR nonetheless :)

Qix- commented 4 years ago

@delgan has asked that I instead distribute the bounty elsewhere :) Since you put in a lot of work, I'll award this to you. Thanks again @dtrckd!

dtrckd commented 4 years ago

Nice, thank you :)