Fix compatibility python - cf https://twitter.com/roman_soft/status/3594...

...64332314152960