Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork32.1k
gh-132983: Minor fixes and clean up for the _zstd module#134930
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
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.
One question and one concern, but the rest looks good! Thank you for the improvements :)
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
if (!PyType_Check(c_parameter_type) || !PyType_Check(d_parameter_type)) { | ||
PyErr_SetString(PyExc_ValueError, | ||
"The two arguments should be CompressionParameter and " | ||
"DecompressionParameter types."); | ||
return NULL; | ||
} |
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.
Sanity check on removing the type checks here?
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.
The type checks are already handled by argument clinic, so these are actually redundant.
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
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.
The changes look good! One minor wording suggestion but great otherwise. Thank you!
Uh oh!
There was an error while loading.Please reload this page.
Uh oh!
There was an error while loading.Please reload this page.
Co-authored-by: Emma Smith <emma@emmatyping.dev>
b595237
intopython:mainUh oh!
There was an error while loading.Please reload this page.
Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14. |
…nGH-134930)(cherry picked from commitb595237)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
GH-134998 is a backport of this pull request to the3.14 branch. |
Thank you@AA-Turner and@emmatyping for your review. |
Uh oh!
There was an error while loading.Please reload this page.