]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-110014: Fix bootstrap_hash.c: remove debug code (#110161)
authorVictor Stinner <vstinner@python.org>
Sat, 30 Sep 2023 22:21:20 +0000 (00:21 +0200)
committerGitHub <noreply@github.com>
Sat, 30 Sep 2023 22:21:20 +0000 (22:21 +0000)
Oops, I commited debug code by mistake, sorry about that.

Python/bootstrap_hash.c

index 86a16916304cab07eb06ec745e9dbbaed9cde063..92f2301a012c0af59bb404e02a5cd2f9a5132328 100644 (file)
@@ -4,9 +4,6 @@
 #include "pycore_pylifecycle.h"   // _PyOS_URandomNonblock()
 #include "pycore_runtime.h"       // _PyRuntime
 
-#undef HAVE_GETRANDOM
-#undef HAVE_GETENTROPY
-
 #ifdef HAVE_UNISTD_H
 #  include <unistd.h>             // close()
 #endif