[capi-sig] Garbage output from warnings with embedded python