Skip to content

gh-71448: Support extension in BytesIO.truncate - #152252

Open
cmaloney wants to merge 2 commits into
python:mainfrom
cmaloney:bytesio_turncate2
Open

cmaloney wants to merge 2 commits into
python:mainfrom
cmaloney:bytesio_turncate2

Conversation

@cmaloney

@cmaloney cmaloney commented Jun 26, 2026 •

Copy link
Copy Markdown
Contributor

Truncate beyond current size of I/O objects is documented to change the amount of allocated space. BytesIO supported truncate to shrink but not truncate to extend. Update BytesIO to support extension and fully implement the IOBase.truncate() API.

Truncate beyond current size of I/O objects is documented to change the
amount of allocated space. BytesIO supported truncate to shrink but not
truncate to extend. Update BytesIO to support extension and fully
implement the `IOBase.truncate()` API.
@read-the-docs-community

read-the-docs-community Bot commented Jun 26, 2026 •

Copy link
Copy Markdown

@github-actions

github-actions Bot commented Oct 5, 2026

Copy link
Copy Markdown

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

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Oct 5, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@bedevere-app bedevere-app Bot added the type-feature A feature request or enhancement label Oct 7, 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. type-feature A feature request or enhancement

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant