Python3: fails with LLVM 2336

Closes #19592.