Skip to content

Add fallible mutable buffer methods#10329

Open
cetra3 wants to merge 1 commit into
apache:mainfrom
pydantic:fallible_mutable_buffer_methods
Open

Add fallible mutable buffer methods#10329
cetra3 wants to merge 1 commit into
apache:mainfrom
pydantic:fallible_mutable_buffer_methods

Conversation

@cetra3

@cetra3 cetra3 commented Jul 13, 2026

Copy link
Copy Markdown
Contributor

Which issue does this PR close?

Rationale for this change

Allocations should have fallible methods to go alongside their standard panicking methods.

What changes are included in this PR?

Adjusts the internals of MutableBuffer to add new fallible methods that are used by the existing public APIs, so no breaking changes specifically for existing users.

Are these changes tested?

Yes they are tested

Are there any user-facing changes?

Yes, there are new methods added to MutableBuffer

@cetra3 cetra3 force-pushed the fallible_mutable_buffer_methods branch from 036cc88 to fb8519d Compare July 13, 2026 05:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

arrow Changes to the arrow crate

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[arrow-buffer] Add fallible APIs for overflow-prone buffer growth

1 participant