FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-40077: Remove redundant cast in _json extension module by shihai1991 · Pull Request #19438 · python/cpython · GitHub

/ cpython Public

bpo-40077: Remove redundant cast in _json extension module - #19438

Merged
corona10 merged 1 commit into
python:masterfrom
shihai1991:bpo_40077_json
Apr 9, 2020
Merged

bpo-40077: Remove redundant cast in _json extension module#19438
corona10 merged 1 commit into
python:masterfrom
shihai1991:bpo_40077_json

Conversation

shihai1991 commented Apr 8, 2020
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

Copy link
Copy Markdown
Member Author

@corona10 Hi, Dong-hee Na, congratulations!

this cast is redundant, right?

corona10 left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for catching this :)
Since PyScannerType and PyEncoderType is PyObject*.
Casting is unnecessary things.

lgtm!

corona10 commented Apr 9, 2020

Copy link
Copy Markdown
Member

cc @vstinner

Copy link
Copy Markdown
Member Author

Thanks for catching this :)
Since PyScannerType and PyEncoderType is PyObject*.
Casting is unnecessary things.

lgtm!

Thanks, MAYBE you can try use your merge right in this PR ;)

vstinner left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

LGTM. Usually, we don't accept coding style only changes. But I think that it's ok to make an exception here.

corona10 merged commit dcb04d9 into python:master Apr 9, 2020

vstinner commented Apr 9, 2020

Copy link
Copy Markdown
Member

@corona10: Congrats for your first merge ;-)

corona10 commented Apr 9, 2020

Copy link
Copy Markdown
Member

@vstinner Thank you, it is the singularity of life

This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants


Back | FazBrowse Home | New Git URL