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