GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — gh-133158: Adjust c-analyzer max_sizes for typeobject.c by sergey-miryanov · Pull Request #133159 · python/cpython

Conversation

@sergey-miryanov

@sergey-miryanov sergey-miryanov commented Apr 29, 2025 •
edited by bedevere-app Bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor
  • Issue: Increase limits for typeobject.c in c-analyzer #133158

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@sergey-miryanov
Adjust c-analyzer max_sizes for typeobject.c
cec1f7a
@sergey-miryanov
sergey-miryanov requested a review from ericsnowcurrently as a code owner April 29, 2025 16:29
@bedevere-app bedevere-app Bot added the awaiting review label Apr 29, 2025
@bedevere-app bedevere-app Bot mentioned this pull request Apr 29, 2025
Increase limits for typeobject.c in c-analyzer #133158
Closed
@sergey-miryanov

sergey-miryanov commented Apr 29, 2025

Copy link
Copy Markdown
Contributor Author

I believe this PR should skip news.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sergey-miryanov

sergey-miryanov commented Apr 29, 2025

Copy link
Copy Markdown
Contributor Author

@ericsnowcurrently Please take a look.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@tomasr8 tomasr8 added the skip news label Apr 29, 2025
sergey-miryanov added 3 commits May 1, 2025 00:22
@sergey-miryanov
Extend error messages if too much code to c-analyzer
45be756
@sergey-miryanov
Make linter happy
ce4b06c
@sergey-miryanov
Merge branch 'main' into pythongh-133158-adjust-c-analyzer-limits
01d2a21
@sergey-miryanov

sergey-miryanov commented Jun 13, 2025

Copy link
Copy Markdown
Contributor Author

@ericsnowcurrently Please take a look as you got time.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sergey-miryanov sergey-miryanov mentioned this pull request Jul 22, 2025
The C analyzer seems to fail when --disable-gil is set #136952
Open
ZeroIntensity
ZeroIntensity reviewed Jul 22, 2025
View reviewed changes

@ZeroIntensity ZeroIntensity left a comment

Copy link
Copy Markdown
Member

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.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread Tools/c-analyzer/c_parser/parser/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Tools/c-analyzer/c_parser/parser/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@sergey-miryanov

sergey-miryanov commented Jul 22, 2025

Copy link
Copy Markdown
Contributor Author

@ZeroIntensity Thanks for review!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sergey-miryanov added 3 commits July 22, 2025 22:10
@sergey-miryanov
Merge branch 'main' into pythongh-133158-adjust-c-analyzer-limits
e492c49
@sergey-miryanov
Address review comments
c514255
@sergey-miryanov
Fix dedent usage
4369d2d
@sergey-miryanov

sergey-miryanov commented Jul 22, 2025

Copy link
Copy Markdown
Contributor Author

Command to run (I always forgot it):
.\python.bat Tools/c-analyzer/check-c-globals.py --format summary Objects/typeobject.c

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sergey-miryanov

sergey-miryanov commented Jul 22, 2025

Copy link
Copy Markdown
Contributor Author

Fixed, thanks! It is ready for review.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ZeroIntensity
ZeroIntensity reviewed Jul 23, 2025
View reviewed changes
Comment thread Tools/c-analyzer/c_parser/parser/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Tools/c-analyzer/cpython/_parser.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@sergey-miryanov @ZeroIntensity
Update Tools/c-analyzer/c_parser/parser/__init__.py
e60d28c
Co-authored-by: Peter Bierma <[email protected]>
ZeroIntensity
ZeroIntensity reviewed Jul 28, 2025
View reviewed changes
Comment thread Tools/c-analyzer/c_parser/parser/_info.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

sergey-miryanov added 3 commits August 1, 2025 23:29
@sergey-miryanov
Merge branch 'main' into pythongh-133158-adjust-c-analyzer-limits
3c40c29
@sergey-miryanov
Rename too_much_lines to too_many_lines
278f4d3
@sergey-miryanov
Merge branch 'pythongh-133158-adjust-c-analyzer-limits' of github.com…
8fc1349
…:sergey-miryanov/cpython into pythongh-133158-adjust-c-analyzer-limits
ZeroIntensity
ZeroIntensity reviewed Aug 2, 2025
View reviewed changes
Comment thread Tools/c-analyzer/c_parser/parser/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@sergey-miryanov
Move textwrap import to the top
639e005
ZeroIntensity
ZeroIntensity approved these changes Aug 2, 2025
View reviewed changes

@ZeroIntensity ZeroIntensity left a comment

Copy link
Copy Markdown
Member

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. I'm going to let this sit for a day or two before merging it.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

sergey-miryanov reacted with thumbs up emoji
All reactions
  • 👍 1 reaction
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting review labels Aug 2, 2025
@sergey-miryanov

sergey-miryanov commented Aug 2, 2025

Copy link
Copy Markdown
Contributor Author

Thanks for review!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@sergey-miryanov

sergey-miryanov commented Sep 2, 2025

Copy link
Copy Markdown
Contributor Author

@ZeroIntensity Friendly ping.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ZeroIntensity

ZeroIntensity commented Sep 2, 2025

Copy link
Copy Markdown
Member

Thanks, forgot about this one. In the future, feel free to tag me sooner if I say I'm going to merge something then don't do it.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ZeroIntensity
Merge branch 'main' into pythongh-133158-adjust-c-analyzer-limits
ff1d028
@ZeroIntensity
ZeroIntensity enabled auto-merge (squash) September 2, 2025 13:09
@sergey-miryanov

sergey-miryanov commented Sep 2, 2025

Copy link
Copy Markdown
Contributor Author

In the future, feel free to tag me sooner if I say I'm going to merge something then don't do it.

Ok, thanks!

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ZeroIntensity
ZeroIntensity merged commit 33f8910 into python:main Sep 2, 2025
@bedevere-app bedevere-app Bot removed the awaiting merge label Sep 2, 2025
@sergey-miryanov
sergey-miryanov deleted the gh-133158-adjust-c-analyzer-limits branch September 2, 2025 16:27
lkollar pushed a commit to lkollar/cpython that referenced this pull request Sep 9, 2025
@sergey-miryanov @lkollar
pythongh-133158: Adjust c-analyzer max_sizes for typeobject.c (py…
ed0ba1c
…thonGH-133159)

This also improves the error message for when a file is too large.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@ZeroIntensity ZeroIntensity ZeroIntensity approved these changes
@ericsnowcurrently ericsnowcurrently Awaiting requested review from ericsnowcurrently ericsnowcurrently is a code owner

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

skip news

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@sergey-miryanov @ZeroIntensity @tomasr8
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402520 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.