Skip to content

Commit caacd0b

Browse files
committed
codetracer-python-recorder/CHANGELOG.md: Added support for py_yield, py_unwind, py_resume, py_throw
Signed-off-by: Tzanko Matev <[email protected]>
1 parent 3f39091 commit caacd0b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

codetracer-python-recorder/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ All notable changes to `codetracer-python-recorder` will be documented in this f
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

77
## [Unreleased]
8+
### Added
9+
- Balanced call-stack handling for generators, coroutines, and unwinding frames by subscribing to `PY_YIELD`, `PY_UNWIND`, `PY_RESUME`, and `PY_THROW`, mapping resume/throw events to `TraceWriter::register_call`, yield/unwind to `register_return`, and capturing `PY_THROW` arguments as `exception` using the existing value encoder. Added Python + Rust integration tests that drive `.send()`/`.throw()` on coroutines and generators to guarantee the trace stays balanced and that exception payloads are recorded.
810

911
## [0.2.0] - 2025-10-17
1012
### Added

0 commit comments

Comments
 (0)