[Python-modules-team] Bug#956046: Bug#956046: python3-pycryptodome: SyntaxWarning: "is" with a literal

Emmanuel Arias emmanuelarias30 at gmail.com
Mon Apr 6 17:52:51 BST 2020


Hi,

I've just push to salsa a new upstream release (3.9.7) that fix this warning.

Cheers,
Arias Emmanuel
@eamanu
http://eamanu.com

El lun., 6 de abr. de 2020 a la(s) 13:18, Gabriele Stilli
(superenzima at libero.it) escribió:
>
> Package: python3-pycryptodome
> Version: 3.6.1-3
>
> Hello,
>
> on config, a Python script in python3-pycryptodome spits out a warning:
>
> /usr/lib/python3/dist-packages/Cryptodome/SelfTest/Random/test_random.py:103:
> SyntaxWarning: "is" with a literal. Did you mean "=="?
>   if sys.version_info[0] is 3:
>
> Regards,
> Gabriele Stilli
>
> _______________________________________________
> Python-modules-team mailing list
> Python-modules-team at alioth-lists.debian.net
> https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/python-modules-team



More information about the Python-modules-team mailing list