Change8

v3.9.2

📦 datadog-sdkView on GitHub →
🐛 1 fixes🔧 1 symbols

Summary

This release primarily addresses a subtle bug in generator tracing that affected stack unwinding during exception handling by correcting the generator wrapping mechanism.

🐛 Bug Fixes

  • Resolved an issue where traced nested generator functions had their execution order subtly changed during exception handling due to incorrect use of simple iteration (\"for v in g: yield v\") instead of full bidirectional communication (\"yield from g\") when wrapping generators.

🔧 Affected Symbols

generator tracing implementation