Skip to content

gh-143201: warnings writes the full source line instead of the truncated one#143202

Open
LumioseSil wants to merge 1 commit intopython:mainfrom
LumioseSil:nexts
Open

gh-143201: warnings writes the full source line instead of the truncated one#143202
LumioseSil wants to merge 1 commit intopython:mainfrom
LumioseSil:nexts

Conversation

@LumioseSil
Copy link
Copy Markdown
Contributor

@LumioseSil LumioseSil commented Dec 26, 2025

The truncated object is meant to be written instead.

…truncated one

The truncated object is meant to be written instead.
Copy link
Copy Markdown
Member

@ZeroIntensity ZeroIntensity left a comment

Choose a reason for hiding this comment

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

Please add a test.

@@ -0,0 +1 @@
Print out the truncated line, not the raw sourceline.
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.

This needs some more context; please add something about this being related to warnings.

serhiy-storchaka

This comment was marked as duplicate.

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.

3 participants