This was a regression vs Python 3.4. Patch from Ignacio Rossi
Attach a file by drag & drop or click to upload