Heinz: It's Time to Say Goodbye to These Obsolete Python Libraries

Martin Heinz encourages Python
developers
to move on to a number of newer modules.

Using os.urandom isn’t actually the problem here though,
the reason the secrets module got introduced is because
people were using the random module for generating
passwords and such, even though the random module doesn’t
produce cryptographically safe tokens.



Source: LWN.net – Heinz: It’s Time to Say Goodbye to These Obsolete Python Libraries