Bug Fixes
- code origin: Fixes an issue on Python 3.10 where an exception raised from an async generator decorated with
tracer.wrap()would surface asTypeError.
- internal: Fixes an issue where wrapping an obfuscated function (for example PyArmor) on Python 3.15 proceeds into instrumentation setup instead of failing cleanly. Those functions still cannot be instrumented.
- tracing: Fixes a memory leak where a
contextvarscopy made inside a@tracer.wrapfunction kept the local variables of the finished call in memory.
- Code Security (IAST): Fixes an issue where SQL values escaped by PyMySQL 1.2.1 and later are not recognized as sanitized.
- profiling: Fixes a segmentation fault that could occur when the process was close to its memory limit (for example
RLIMIT_AS). Under that pressure, some stack frames may be missing from profiles instead of crashing the process.