Improve Warning Categories & Stacklevels#3674
Conversation
lemontree210
left a comment
There was a problem hiding this comment.
I'm obviously out of my depth here, but one typo I did catch! :)
|
Just a related note: stackleveling will get way more fun soon :D https://github.com/python-telegram-bot/python-telegram-bot/projects/8#card-88970053 |
harshil21
left a comment
There was a problem hiding this comment.
much more extensive testing, I like it
|
While working on #3673 I noticed that the subscription access to attributes of |
|
I wonder if there is a way to dynamically inspect the stacklevel and pass the correct value for cases like those... |
|
@harshil21 I guess there is inspect.stack. I'm not so sure if I want to get the inspect module involved for this though ... |
BotandExtBot, ensuring that the stacklevel is correct for bothTODO: