-
-
Notifications
You must be signed in to change notification settings - Fork 32.4k
gh-133158: Adjust c-analyzer max_sizes for typeobject.c #133159
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
base: main
Are you sure you want to change the base?
gh-133158: Adjust c-analyzer max_sizes for typeobject.c #133159
Conversation
I believe this PR should skip news. |
@ericsnowcurrently Please take a look. |
@ericsnowcurrently Please take a look as you got time. |
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.
I'll do my best to review this, but I'm not at all an expert here.
@ZeroIntensity Thanks for review! |
Command to run (I always forgot it): |
Fixed, thanks! It is ready for review. |
@@ -324,7 +324,7 @@ def clean_lines(text): | |||
_abs('Modules/_testcapimodule.c'): (20_000, 400), | |||
_abs('Modules/expat/expat.h'): (10_000, 400), | |||
_abs('Objects/stringlib/unicode_format.h'): (10_000, 400), | |||
_abs('Objects/typeobject.c'): (35_000, 200), | |||
_abs('Objects/typeobject.c'): (380_000, 13_000), |
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.
380k characters is huge. Are there really lines that are that long?
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.
It is not a line length. It is a length of piece of code that was analyzed in the moment. It may be a 1/3 of file size, for example. typeobject.c
has 385_327 bytes length now, so I decided to set this value to near of file size.
Co-authored-by: Peter Bierma <zintensitydev@gmail.com>
Uh oh!
There was an error while loading. Please reload this page.