Skip to content

Conversation

aaron-fl
Copy link

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

@bedevere-bot
Copy link

Most changes to Python require a NEWS entry.

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

@ghost
Copy link

ghost commented Mar 23, 2023

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
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
Copy link

python-cla-bot bot commented Apr 18, 2025

All commit authors signed the Contributor License Agreement.

CLA signed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
awaiting review stdlib Standard Library Python modules in the Lib/ directory
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants