Merge pull request #1333 from jschueller/patch-1

[Python] Fix -Wstringop-overflow warning