kicad/pcbnew/python
Seth Hillbrand 167d408b5e qrcode: Handle Python3 integer promotion
In Python3, all division operators promote integers to floats.  We need
to downcast back to integer for the polygon vertices.

There was also an unhandled overflow in the QR generation that allowed
more than 512 bits to be loaded.  This overflows the type of QR we
generate, so this truncates the input string to 62 bytes ( leaving 12
bits for the checksum )

Fixes: lp:1850223
* https://bugs.launchpad.net/kicad/+bug/1850223

(cherry picked from commit 9bccbaf497)
2019-11-01 14:57:07 -07:00
..
examples Fix incompatibilites between Python 2 and Python 3 2018-10-19 09:59:05 +02:00
kicad_pyshell Add initial support for Phoenix (new wxPython binding) 2018-10-26 13:21:11 +02:00
plugins qrcode: Handle Python3 integer promotion 2019-11-01 14:57:07 -07:00