21635161 os.urandom() performance regression in Python 2.7 and 3.4
authorJohn Beck <John.Beck@Oracle.COM>
Fri, 14 Aug 2015 10:54:44 -0700
changeset 4780 646672ba9940
parent 4779 3b9987e44432
child 4781 93d68a5ece25
21635161 os.urandom() performance regression in Python 2.7 and 3.4
components/python/python27/Makefile
components/python/python34/Makefile
--- a/components/python/python27/Makefile	Fri Aug 14 13:02:43 2015 -0700
+++ b/components/python/python27/Makefile	Fri Aug 14 10:54:44 2015 -0700
@@ -101,6 +101,7 @@
 CONFIGURE_OPTIONS  +=		--with-system-ffi
 CONFIGURE_OPTIONS  +=		--without-gcc
 CONFIGURE_OPTIONS  +=		--enable-ipv6
+CONFIGURE_OPTIONS  +=		"ac_cv_func_getentropy=no"
 CONFIGURE_OPTIONS  +=		CPPFLAGS="$(CPPFLAGS)"
 CONFIGURE_OPTIONS  +=		LDFLAGS="$(LDFLAGS)"
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"
--- a/components/python/python34/Makefile	Fri Aug 14 13:02:43 2015 -0700
+++ b/components/python/python34/Makefile	Fri Aug 14 10:54:44 2015 -0700
@@ -115,6 +115,7 @@
 CONFIGURE_OPTIONS  +=		--without-ensurepip
 CONFIGURE_OPTIONS  +=		--enable-ipv6
 CONFIGURE_OPTIONS  +=		--bindir=/usr/bin
+CONFIGURE_OPTIONS  +=		"ac_cv_func_getentropy=no"
 CONFIGURE_OPTIONS  +=		CPPFLAGS="$(CPPFLAGS)"
 CONFIGURE_OPTIONS  +=		LDFLAGS="$(LDFLAGS)"
 CONFIGURE_OPTIONS  +=		CFLAGS="$(CFLAGS)"