Skip to content

gh-102967: Don't pass None to seek(), simply truncate from the current position. - #102968

Open
aaron-fl wants to merge 12 commits into
python:mainfrom
aaron-fl:issue-102967
Open

gh-102967: Don't pass None to seek(), simply truncate from the current position.#102968
aaron-fl wants to merge 12 commits into
python:mainfrom
aaron-fl:issue-102967

Conversation

@aaron-fl

Copy link
Copy Markdown

gh-102967: Don't pass None to seek(), simply truncate from the current position.

@bedevere-bot

Copy link
Copy Markdown

Most changes to Python require a NEWS entry.

Please add it using the blurb_it web app or the blurb command-line tool.

@ghost

ghost commented Mar 23, 2023

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.
CLA signed

@arhadthedev arhadthedev added the tests Tests in the Lib/test dir label Mar 23, 2023
@AlexWaygood AlexWaygood added stdlib Standard Library Python modules in the Lib/ directory and removed tests Tests in the Lib/test dir labels Mar 23, 2023
@aaron-fl

Copy link
Copy Markdown
Author

Although, as I look at it more. Why would we want the behavior of _SpoofOut.truncate() to differ from the standard implementation? IMO the whole method should be removed. But that might break more things.

@python-cla-bot

python-cla-bot Bot commented Apr 18, 2025

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

@github-actions

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 12, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time. stdlib Standard Library Python modules in the Lib/ directory

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants