root
root copied to clipboard
[PyROOT] Python list of strings -> std::initializer_list< std::string > conversion is broken
This is a spinoff from #10092 .
The following reproducer segfaults:
import ROOT
ROOT.gInterpreter.Declare("""
void foo (const std::initializer_list< std::string > &columns) {}
""")
ROOT.foo(["x"])