SIFR-PYRES-0002 belongs to the Embedded Python resources diagnostic family. It means: a Python resource declaration uses an unsupported ownership or target shape.
Why It Happens
Python resource cleanup or lifetime rules were violated. Ensure owned Python resources are closed or transferred on every path.Use
sifr --explain SIFR-PYRES-0002 locally to see the renderer’s exact message template and any machine-applicable suggestions for the compiler version you are running.Details
See the Error Codes index for the complete catalog.
