New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
_PyOS_URandom documentation #59418
Comments
The comment for Python/random.c:_PyOS_URandom() states
which is not correct as all paths use a RNG that is suitable for most cryptographic purposes except long living private keys for asymmetric encryption. Also the function isn't documented although it's an official API function and plays a vital role on the new hash randomization. |
It's not an official API, as the leading underscore specifies. Changing the comment sounds fine to me. |
So can we close this issue, or should we start to document private functions? |
The comment needs to be fixed before the issue is closed. |
Ah yes, here is a patch updating the comment of _PyOS_URandom() and |
New changeset 3e5078c3784e by Georg Brandl in branch '2.7': |
New changeset 176bb5a98463 by Georg Brandl in branch '3.3': |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: