Victor Stinner
9ff9cbd600
Merge 3.5 (os.urandom)
2016-06-07 11:25:43 +02:00
Victor Stinner
dddf4849ec
os.urandom() doesn't block on Linux anymore
...
Issue #26839 : On Linux, os.urandom() now calls getrandom() with GRND_NONBLOCK
to fall back on reading /dev/urandom if the urandom entropy pool is not
initialized yet. Patch written by Colm Buckley.
2016-06-07 11:21:42 +02:00
Martin Panter
3e04d5b306
Issue #27076 : Merge spelling from 3.5
2016-05-26 06:03:19 +00:00
Martin Panter
46f50726a0
Issue #27076 : Doc, comment and tests spelling fixes
...
Most fixes to Doc/ and Lib/ directories by Ville Skyttä.
2016-05-26 05:35:26 +00:00
Serhiy Storchaka
c2f7d87897
Issue #26932 : Fixed support of RTLD_* constants defined as enum values,
...
not via macros (in particular on Android). Patch by Chi Hsuan Yen.
2016-05-04 09:44:44 +03:00
Stefan Krah
267b639a26
Issue #20306 : The pw_gecos and pw_passwd fields are not required by POSIX.
...
If they aren't present, set them to an empty string.
2016-04-26 01:09:18 +02:00
Martin Panter
da28494d0a
Issue #22359 : Merge cross-compilation fix from 3.5
2016-04-23 01:18:54 +00:00
Martin Panter
1046d5c653
Issue #22359 : Disable running cross-compiled _freeze_importlib and pgen
...
Patch by Xavier de Gaye.
2016-04-23 00:58:44 +00:00
Gregory P. Smith
79a12a2aa5
Issue #25702 : A --with-lto configure option has been added that will
...
enable link time optimizations at build time during a make profile-opt.
2016-04-15 16:58:51 -07:00
Gregory P. Smith
d82da9f7f2
Issue #25702 : A --with-lto configure option has been added that will
...
enable link time optimizations at build time during a make profile-opt.
2016-04-15 16:57:04 -07:00
Victor Stinner
7258176c68
Merge 3.5 (os.urandom)
2016-04-12 22:38:22 +02:00
Victor Stinner
1b80b24007
configure: fix HAVE_GETRANDOM_SYSCALL check
...
syscall() function requires #include <unistd.h>.
2016-04-12 22:34:58 +02:00
Martin Panter
a3506005b3
Issue #23735 : Merge Readline resize handling from 3.5
2016-04-03 03:19:27 +00:00
Martin Panter
5dbbf1abba
Issue #23735 : Add SIGWINCH handler for Readline 6.3+ support, by Eric Price
2016-04-03 02:54:58 +00:00
Martin Panter
499d3654a8
Issue #17603 : Merge configure.ac fix from 3.5
2016-03-18 03:03:10 +00:00
Martin Panter
d887d1f365
Issue #17603 : Check for st_blocks field without requiring fileblocks.o
2016-03-18 02:36:41 +00:00
Ned Deily
686905fe13
Issue #24324 : merge from 3.5
2016-03-08 00:40:12 -05:00
Ned Deily
bec699e40d
Issue #24324 : Do not enable unreachable code warnings when using
...
gcc as the option does not work correctly in older versions of gcc
and has been silently removed as of gcc-4.5.
2016-03-08 00:28:37 -05:00
Zachary Ware
266514ae93
Issue #25827 : Merge with 3.5
2015-12-21 14:17:12 -06:00
Zachary Ware
5af856404a
Issue #25827 : Add support for ICC to configure
2015-12-21 12:09:17 -06:00
Benjamin Peterson
3c5f003023
make configure executable
2015-10-06 21:17:02 -07:00
Serhiy Storchaka
fc632e3912
Merge with 3.5.
2015-10-06 18:52:52 +03:00
Victor Stinner
bae2d6203f
Issue #25003 : On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
...
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
2015-10-01 09:47:30 +02:00
Brett Cannon
36df60fe75
Merge for issue #24915
2015-09-18 15:17:37 -07:00
Brett Cannon
7188a3efe0
Issue #24915 : Add Clang support to PGO builds and use the test suite
...
for profile data.
Thanks to Alecsandru Patrascu of Intel for the initial patch.
2015-09-18 15:13:44 -07:00
Victor Stinner
3abf44e48f
Issue #25003 : On Solaris 11.3 or newer, os.urandom() now uses the getrandom()
...
function instead of the getentropy() function. The getentropy() function is
blocking to generate very good quality entropy, os.urandom() doesn't need such
high-quality entropy.
2015-09-18 15:38:37 +02:00
Stefan Krah
0c8ccff325
Merge from 3.5 ( #24543 ).
2015-07-02 20:28:45 +02:00
Stefan Krah
e31db2a821
Issue #24543 : Use AC_LINK instead of AC_COMPILE in order to prevent false
...
positives with the -flto option (gcc >= 4.9.0 and clang).
2015-07-02 20:27:56 +02:00
Yury Selivanov
7aa5341164
Reverting my previous commit.
...
Something went horribly wrong when I was doing `hg rebase`.
2015-05-30 10:57:56 -04:00
Benjamin Peterson
a8c22a0c32
update configure version to 3.6
2015-05-27 23:29:00 -05:00
doko@ubuntu.com
4ccc1514d0
- merge 3.4
2015-05-06 01:13:31 +02:00
doko@ubuntu.com
e8042e5e98
- Issue #24122 , fix quoting for LIBPL
2015-05-06 01:13:02 +02:00
doko@ubuntu.com
5cc9c4fdf7
- #22980 : fix triplet configure test for more targets
2015-04-19 14:44:05 +02:00
Ned Deily
3b8124884c
Issues #22980 , 23969: For OS X, use PEP 3149-style file names for extension
...
module binaries, with a platform triple of just "darwin", resulting in
file names like:
_ssl.cpython-35m-darwin.so
rather than just _ssl.so as previously.
Instead of attempting to encode differences in CPU architecture and OS X
deployment targets in the file name as is done on other platforms,
these continue to be managed by the use of Apple multi-architecture
("fat") files, by the system dynamic loader, and by logic in higher-levels
like sysconfig.get_platform() and pip.
2015-04-15 17:11:47 -07:00
doko@ubuntu.com
9abe04975a
#22980 : fix triplet configure test for powerpc-linux-gnu
2015-04-15 23:31:02 +02:00
doko@ubuntu.com
092f616a97
- configure.ac: remove duplicate PLATDIR definition
2015-04-15 20:45:33 +02:00
doko@ubuntu.com
d3899c1a96
- Issue #22980 : Under Linux, GNU/KFreeBSD and the Hurd, C extensions now include
...
the architecture triplet in the extension name, to make it easy to test builds
for different ABIs in the same working tree.
2015-04-15 20:23:14 +02:00
Larry Hastings
a6cc551502
Issue #22631 : Added Linux-specific socket constant CAN_RAW_FD_FRAMES.
...
Patch courtesy of Joe Jevnik.
2015-04-13 17:48:40 -04:00
doko@ubuntu.com
4b761bf79a
- merge 3.4
2015-04-13 22:00:30 +02:00
doko@ubuntu.com
1345d20193
- Use PLATDIR for the platform directory everywhere (refactoring only)
2015-04-13 21:59:57 +02:00
Ned Deily
267998a766
Issue #23817 : run autoreconf to update configure.
2015-04-11 16:00:38 -07:00
Victor Stinner
8291b5e4f7
Issue #22181 : Run "aclocal; autoconf; autoheader" to regenerate configure
2015-03-20 16:03:14 +01:00
Victor Stinner
9eb57c5fa5
Issue #22181 : The availability of the getrandom() is now checked in configure,
...
and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define.
Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom().
2015-03-19 22:21:49 +01:00
Antoine Pitrou
5bd7bf5bab
Issue #22980 : Under Linux, C extensions now include bitness in the file name,
...
to make it easy to test 32-bit and 64-bit builds in the same working tree.
2015-03-08 20:43:10 +01:00
Victor Stinner
35a97c0bed
Issue #22524 : Fix os.scandir() for platforms which don't have a d_type field in
...
the dirent structure (ex: OpenIndiana).
2015-03-08 02:59:09 +01:00
Antoine Pitrou
8b62bbf2e5
Issue #23445 : pydebug builds now use "gcc -Og" where possible, to make the resulting executable faster.
2015-02-11 19:41:01 +01:00
Antoine Pitrou
3d6c784371
Issue #23445 : pydebug builds now use "gcc -Og" where possible, to make the resulting executable faster.
2015-02-11 19:39:16 +01:00
Victor Stinner
923e06f77d
Issue #22038 , configure: HAVE_STD_ATOMIC now also check that "atomic_int" and
...
"_Atomic void*" types work. Change needed on FreeBSD 10 where stdatomic.h is
available but the compiler fails on "_Atomic void*" with "_Atomic cannot be
applied to incomplete type 'void'".
2015-01-14 16:01:46 +01:00
Victor Stinner
4f5366e65a
Issue #22038 : pyatomic.h now uses stdatomic.h or GCC built-in functions for
...
atomic memory access if available. Patch written by Vitor de Lima and Gustavo
Temple.
2015-01-09 02:13:19 +01:00
Victor Stinner
fcfed19913
Issue #21356 : Make ssl.RAND_egd() optional to support LibreSSL. The
...
availability of the function is checked during the compilation. Patch written
by Bernard Spil.
2015-01-06 13:54:58 +01:00