Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
301ecb9
feat: introduce stack-allocated `PyBuffer`
winstxnhdw Mar 19, 2026
9146bbd
docs: update CHANGELOG
winstxnhdw Mar 19, 2026
45600dd
refactor: apply suggestions
winstxnhdw Mar 20, 2026
10c82f1
refactor: use `assume_init`
winstxnhdw Mar 22, 2026
186a01e
refactor: apply some suggestions
winstxnhdw Mar 22, 2026
4fe1963
fix: handle `PyBUF_WRITABLE`
winstxnhdw Mar 22, 2026
def7dc7
refactor: encode compile-time buffer field availability
winstxnhdw Mar 22, 2026
bb62615
style: clean up
winstxnhdw Mar 22, 2026
9acd533
tests: extend coverage
winstxnhdw Apr 7, 2026
0697c25
chore: add `obj` API
winstxnhdw Apr 7, 2026
eabd5c0
refactor: use `PyBufferFlags`
winstxnhdw Apr 7, 2026
f04f0d4
feat: add flag builder
winstxnhdw Apr 7, 2026
e8f473c
refactor: apply suggestions
winstxnhdw Apr 12, 2026
37f2a18
refactor: hide suboffsets if guaranteed null
winstxnhdw Apr 13, 2026
0dbb97e
refactor: hide `PyBufferFlags`
winstxnhdw Apr 13, 2026
459b492
refactor: apply trivial suggestions
winstxnhdw Apr 14, 2026
8ff899e
refactor: add diagnostic traits
winstxnhdw Apr 16, 2026
8604ba7
test: combine ui tests
winstxnhdw Jul 12, 2026
897ce69
refactor: make method always exist
winstxnhdw Jul 12, 2026
b07f899
feat: expose contiguity as a public enum
winstxnhdw Jul 12, 2026
5d95b4a
test: update stderr
winstxnhdw Jul 13, 2026
47f6cf4
refactor: move flags into separate script
winstxnhdw Oct 2, 2026
cc8f9a3
test: update UI expectations for Rust 1.99
winstxnhdw Oct 2, 2026
ae0b84e
Merge remote-tracking branch 'origin/main' into feat/stacked-pybuffer
davidhewitt Oct 24, 2026
c18b6a5
apply new style of slice accessors
davidhewitt Oct 24, 2026
fad74be
fix: ignore failing test on WASI
winstxnhdw Oct 28, 2026
f403f78
Merge branch 'main' into pr-5894
bschoenmaeckers Oct 29, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion guide/src/conversions/tables.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ The table below contains the Python type and the corresponding function argument
| `slice` | - | `PySlice` |
| `type` | - | `PyType` |
| `module` | - | `PyModule` |
| `collections.abc.Buffer` | - | `PyBuffer<T>` |
| `collections.abc.Buffer` | - | `PyBuffer<T>`, `PyBufferView<T>` |
| `datetime.datetime` | `SystemTime`, `chrono::DateTime<Tz>`[^7], `chrono::NaiveDateTime`[^7] | `PyDateTime` |
| `datetime.date` | `chrono::NaiveDate`[^7] | `PyDate` |
| `datetime.time` | `chrono::NaiveTime`[^7] | `PyTime` |
Expand Down
1 change: 1 addition & 0 deletions newsfragments/5894.added.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Add `PyBufferView<T>` and `PyUntypedBufferView`, stack-allocated alternatives to `PyBuffer<T>` and `PyUntypedBuffer` with a scoped closure API that avoids heap allocation.
Loading
Loading