Skip to content

Run on last python to check old code #1084

Answered by ericwb
v1ack asked this question in Q&A
Discussion options

You must be logged in to vote

@v1ack Yes, if you run py3.12 on code designed for py3.7, you may see a couple differences. In particular there are two plugins that check depending on the python version.

See:

Both relate to hashlib, only 3.9 and higher has a usedforsecurity argument that it will check for and so it is also not part of the blacklist group of plugins. As a result an issue on hashlib.md5, for example, on py3.8 would be B303 and B324 in py3.9 and greater.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ericwb
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants