| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Use %llu instead of %ull for unsigned long long in zstd_contentsize_converter ValueError messages.
There was a problem hiding this comment.
Good catch! Could you please add tests?
Most likely there are already tests for passing out of range size argument, but they do not test the error message or the test is too lenient. You can change ValueError to something other, like SystemError, run the test and look what fails.
Sorry, something went wrong.
|
Inspired by this, I wrote a plugin to capture similar issues. Are you guys interested? I can open a new issue. |
Sorry, something went wrong.
I would say if you find issues similar to this one those are likely bugs so you should open a new issue. Good idea to do this analysis! |
Sorry, something went wrong.
|
If you do find similar issues, just open a single issue. You can open multiple PRs for that same issue though. |
Sorry, something went wrong.
|
If you found other similar bugs, they should be fixed. I doubt similar bugs will occur on regular basis. |
Sorry, something went wrong.
Sorry, something went wrong.
|
Thanks @cuiweixie for the PR, and @emmatyping for merging it 🌮🎉.. I'm working now to backport this PR to: 3.14. |
Sorry, something went wrong.
|
GH-148855 is a backport of this pull request to the 3.14 branch. |
Sorry, something went wrong.
…thon#146576) Use %llu instead of %ull for unsigned long long in zstd_contentsize_converter ValueError messages.
| Back | FazBrowse Home | New Git URL |
Summary
Replace invalid %ull with %llu in zstd_contentsize_converter ValueError
format strings. The correct specifier for unsigned long long is %llu.
Test plan