Nitrokey / nitrokey-start-firmware

A mirror of Gnuk's 1.0.x and 1.2.x branches.
56 stars 15 forks source link

Python 3.8 syntax warning with update tool #43

Open szszszsz opened 4 years ago

szszszsz commented 4 years ago

From the Python 3.8 Release notes: The compiler now produces a SyntaxWarning when identity checks ( is and is not ) are used with certain types of literals (e.g. strings, numbers). These can often work by accident in CPython, but are not guaranteed by the language spec. The warning advises users to use equality tests ( == and != ) instead. (Contributed by Serhiy Storchaka in bpo-34850.)

Details: https://support.nitrokey.com/t/probleme-mit-nitrokey-start-nach-firmwareupdate-auf-rtm-9-veranderte-kartenummer/2407/7