- Notifications
You must be signed in to change notification settings - Fork5.9k
Improve Warning Categories & Stacklevels#3674
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.
Already on GitHub?Sign in to your account
Uh oh!
There was an error while loading.Please reload this page.
Conversation
harshil21 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
nice catches
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
lemontree210 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
I'm obviously out of my depth here, but one typo I did catch! :)
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Bibo-Joshi commentedApr 23, 2023
Just a related note: stackleveling will get way more fun soon :Dhttps://github.com/python-telegram-bot/python-telegram-bot/projects/8#card-88970053 |
harshil21 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
much more extensive testing, I like it
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Bibo-Joshi commentedApr 24, 2023
While working on#3673 I noticed that the subscription access to attributes of |
harshil21 commentedApr 25, 2023
I wonder if there is a way to dynamically inspect the stacklevel and pass the correct value for cases like those... |
Bibo-Joshi commentedApr 25, 2023
@harshil21 I guess there isinspect.stack. I'm not so sure if I want to get the inspect module involved for this though ... |
harshil21 left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others.Learn more.
lgtm
Uh oh!
There was an error while loading.Please reload this page.
BotandExtBot, ensuring that the stacklevel is correct for bothTODO: