summaryrefslogtreecommitdiff
path: root/pyconfig.h.in
Commit message (Collapse)AuthorAgeFilesLines
* Issue #27442: Expose the Android API level in sysconfig.get_config_vars()Xavier de Gaye2016-07-091-0/+3
| | | | as 'ANDROID_API_LEVEL'.
* merge 3.5 (#24557)Benjamin Peterson2016-07-061-6/+3
|\
| * assume egd unless OPENSSL_NO_EGD is defined?remove configure check (closes ↵Benjamin Peterson2016-07-061-6/+3
| | | | | | | | #24557)
* | Merge 3.5 (os.urandom)Victor Stinner2016-06-071-0/+3
|\ \ | |/
| * os.urandom() doesn't block on Linux anymoreVictor Stinner2016-06-071-0/+3
| | | | | | | | | | | | 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.
* | Issue #26932: Fixed support of RTLD_* constants defined as enum values,Serhiy Storchaka2016-05-041-0/+28
| | | | | | | | not via macros (in particular on Android). Patch by Chi Hsuan Yen.
* | Issue #20306: The pw_gecos and pw_passwd fields are not required by POSIX.Stefan Krah2016-04-261-0/+6
|/ | | | If they aren't present, set them to an empty string.
* Issue #23735: Add SIGWINCH handler for Readline 6.3+ support, by Eric PriceMartin Panter2016-04-031-0/+3
|
* Issue #17603: Check for st_blocks field without requiring fileblocks.oMartin Panter2016-03-181-4/+0
|
* Issue #25003: On Solaris 11.3 or newer, os.urandom() now uses the getrandom()Victor Stinner2015-10-011-0/+3
| | | | | | 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.
* Issue #22631: Added Linux-specific socket constant CAN_RAW_FD_FRAMES.Larry Hastings2015-04-131-0/+3
| | | | Patch courtesy of Joe Jevnik.
* Issue #22181: The availability of the getrandom() is now checked in configure,Victor Stinner2015-03-191-0/+3
| | | | | | and stored in pyconfig.h as the new HAVE_GETRANDOM_SYSCALL define. Fix os.urandom() tests using file descriptors if os.urandom() uses getrandom().
* Issue #22524: Fix os.scandir() for platforms which don't have a d_type field inVictor Stinner2015-03-081-0/+3
| | | | the dirent structure (ex: OpenIndiana).
* Issue #22038, configure: HAVE_STD_ATOMIC now also check that "atomic_int" andVictor Stinner2015-01-141-1/+1
| | | | | | "_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'".
* Issue #22038: pyatomic.h now uses stdatomic.h or GCC built-in functions forVictor Stinner2015-01-091-0/+6
| | | | | atomic memory access if available. Patch written by Vitor de Lima and Gustavo Temple.
* Issue #22585: On OpenBSD 5.6 and newer, os.urandom() now calls getentropy(),Victor Stinner2014-12-211-0/+3
| | | | instead of reading /dev/urandom, to get pseudo-random bytes.
* Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. TheVictor Stinner2014-11-281-0/+3
| | | | | | availability of the function is checked during the compilation. Patch written by Bernard Spil.
* only support append_history if readline has itBenjamin Peterson2014-11-261-0/+3
|
* support setting fpu precision on m68k (closes #20904)Benjamin Peterson2014-04-171-0/+3
| | | | Patch from Andreas Schwab.
* Issue #19922: define _INCLUDE__STDC_A1_SOURCE in HP-UX to include mbstate_tChristian Heimes2013-12-071-0/+3
| | | | for mbrtowc().
* ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'.Christian Heimes2013-11-201-0/+16
| | | | Python now uses SipHash24 on all major platforms.
* Issue #16595: Add prlimit() to resource moduleChristian Heimes2013-10-221-0/+3
| | | | | prlimit() is a Linux specific command that combines setrlimit, getrlimit and can set the limit of other processes.
* Issue #18571: Implementation of the PEP 446: file descriptors and file handlesVictor Stinner2013-08-281-0/+3
| | | | | are now created non-inheritable; add functions os.get/set_inheritable(), os.get/set_handle_inheritable() and socket.socket.get/set_inheritable().
* remove support for compiling on systems without getcwd()Benjamin Peterson2013-08-231-3/+0
| | | | | Do we need a fallback implementation of getcwd() from 1991 that claims to support "really old Unix systems"? I don't think so.
* Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.Christian Heimes2013-08-211-3/+6
|\ | | | | | | | | A pthread_atfork() child handler is used to seeded the PRNG with pid, time and some stack data.
| * Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if ↵Christian Heimes2013-06-181-0/+3
| |\ | | | | | | | | | it's available
| * | remove support GCC PyArg_ParseTuple format patch, last seen in 2006Benjamin Peterson2013-05-121-3/+0
| | |
| * | Issue #17615: Comparing two Unicode strings now uses wmemcmp() when possibleVictor Stinner2013-04-081-3/+3
| | | | | | | | | | | | | | | wmemcmp() is twice faster than a dummy loop (342 usec vs 744 usec) on Fedora 18/x86_64, GCC 4.7.2.
| * | Issue #15359: Add CAN_BCM protocol support to the socket module. Patch by BrianCharles-Fran?ois Natali2013-02-051-0/+3
| | | | | | | | | | | | Thorne.
* | | Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.Christian Heimes2013-08-211-0/+3
| |/ |/| | | | | | | A pthread_atfork() child handler is used to seeded the PRNG with pid, time and some stack data.
* | Fix for r84195: add HAVE_ALLOCA_H to configure and only include alloca.h if ↵Christian Heimes2013-06-181-0/+3
| | | | | | | | it's available
* | -Wformat is needed by gcc 4.8 (closes #17547)Benjamin Peterson2013-05-111-3/+0
|/
* Issue 10052: merge fix from 3.2.Mark Dickinson2012-12-021-25/+209
|\
| * - Issue #3754: Fix /dev/ptmx, /dev/ptc file checks for cross builds,doko2012-06-301-2/+2
| | | | | | | | require values set in CONFIG_SITE.
| * Issue #7652: Integrate the decimal floating point libmpdec library to speedStefan Krah2012-03-211-0/+13
| | | | | | | | | | up the decimal module. Performance gains of the new C implementation are between 12x and 80x, depending on the application.
| * merge 3.2Matthias Klose2012-03-141-23/+194
| |\
| | * Issue #13609: Add two functions to query the terminal size:Antoine Pitrou2012-02-081-0/+3
| | | | | | | | | | | | | | | os.get_terminal_size (low level) and shutil.get_terminal_size (high level). Patch by Zbigniew Jędrzejewski-Szmek.
| | * Issue #13777: Add PF_SYSTEM sockets on OS X.Martin v. Löwis2012-02-031-0/+6
| | | | | | | | | | | | Patch by Michael Goderbauer.
| | * Improve the test for dirfd(). Some systems #define it rather thanGregory P. Smith2012-01-211-1/+1
| | |\ | | | | | | | | | | | | have it as a library function.
| | * \ Fixes issue #8052: The posix subprocess module's close_fds behavior wasGregory P. Smith2012-01-211-0/+3
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | suboptimal by closing all possible file descriptors rather than just the open ones in the child process before exec(). It now closes only the open fds when it is possible to safely determine what those are.
| | * \ \ Add a test for the dirfd library function (to be used in an upcomingGregory P. Smith2012-01-161-23/+185
| | |\ \ \ | | | | | | | | | | | | | | | | | | change). configure will be regenerated in the next commit.
| | | * | | fix for old kernels which don't have epoll_create1Benjamin Peterson2011-12-271-0/+3
| | | | | |
| | | * | | Better resolution for issue #11849: Ensure that free()d memory arenas are ↵Antoine Pitrou2011-11-261-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | really released on POSIX systems supporting anonymous memory mappings. Patch by Charles-François Natali.
| | | * | | Close #13415: Test in configure if unsetenv() has a return value or not.Victor Stinner2011-11-241-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Patch written by Charles-François Natali.
| | | * | | Issue #6397: Support '/dev/poll' polling objects in select module, under ↵Jesus Cea2011-11-141-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | Solaris & derivatives.
| | | * | | Close #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants toVictor Stinner2011-10-251-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic clock
| | | * | | Issue #13134: optimize finding single-character strings using memchrAntoine Pitrou2011-10-111-0/+3
| | | | | |
| | | * | | Issue #10141: socket: add SocketCAN (PF_CAN) support. Initial patch by MatthiasCharles-François Natali2011-10-061-0/+6
| | | | | | | | | | | | | | | | | | | | | | | | Fuchs, updated by Tiago Gonçalves.
| | | * | | Implement PEP 393.Martin v. Löwis2011-09-281-6/+0
| | | | | |
| | | * | | Use xattr functions from sys/xattr.h instead of attr/xattr.h (closes #12720)Benjamin Peterson2011-09-131-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | sys/xattr.h is glibc while attr/xattr.h is a separate library.