-
-
Notifications
You must be signed in to change notification settings - Fork 31.7k
bpo-40077: Remove redundant cast in _json extension module #19438
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
Conversation
@corona10 Hi, Dong-hee Na, congratulations! this cast is redundant, right? |
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.
Thanks for catching this :)
Since PyScannerType and PyEncoderType is PyObject*.
Casting is unnecessary things.
lgtm!
cc @vstinner |
Thanks, MAYBE you can try use your merge right in this PR ;) |
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. Usually, we don't accept coding style only changes. But I think that it's ok to make an exception here.
@corona10: Congrats for your first merge ;-) |
@vstinner Thank you, it is the singularity of life |
https://bugs.python.org/issue40077