Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove stacklevel from deprecated_for wrapper #1401

Merged
merged 1 commit into from
Jul 31, 2019

Conversation

kclowes
Copy link
Collaborator

@kclowes kclowes commented Jul 29, 2019

What was wrong?

Deprecation methods within the @combomethod decorator weren't showing up.

Related to Issue #1140 and #1399

How was it fixed?

Removed the manual assignment of stacklevel. Originally, I was thinking it made more sense to keep it as-is, but I think it's more confusing to have one deprecation warning show up and one not. So, now deprecation warnings are shown whether or not the @combomethod decorator is present.

Cute Animal Picture

Screen Shot 2019-07-29 at 10 34 14 AM

@kclowes kclowes merged commit ea70d1c into ethereum:master Jul 31, 2019
@kclowes kclowes deleted the show-deprecation-warning branch July 31, 2019 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants