Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30946: Remove obsolete fallback code in readline module (#2738) | Antoine Pitrou | 2017-07-18 | 1 | -6/+0 |
| | | | | | | | | | | * Remove obsolete fallback code in readline module * Add NEWS * Remove obsolete include * Fix macro on Windows | ||||
* | bpo-29585: Fix sysconfig.get_config_var("PYTHONFRAMEWORK") (GH-2483) | INADA Naoki | 2017-06-29 | 1 | -3/+3 |
| | | | | | | | | | | | `PYTHONFRAMEWORK` is defined in `Makefile` and it shoulnd't be used in `pyconfig.h`. `sysconfig.py --generate-posix-vars` reads config vars from Makefile and `pyconfig.h`. Conflicting variables should be avoided. Especially, string config variables in Makefile are unquoted, but in `pyconfig.h` are keep quoted. So it should be private (starts with underscore). | ||||
* | bpo-29585: optimize site.py startup time (GH-136) | INADA Naoki | 2017-06-28 | 1 | -0/+3 |
| | | | | Avoid importing `sysconfig` from `site` by copying minimum code. Python startup is 5% faster on Linux and 30% faster on macOS | ||||
* | bpo-28180: Implementation for PEP 538 (#659) | Nick Coghlan | 2017-06-11 | 1 | -0/+6 |
| | | | | | | | | | | - new PYTHONCOERCECLOCALE config setting - coerces legacy C locale to C.UTF-8, C.utf8 or UTF-8 by default - always uses C.UTF-8 on Android - uses `surrogateescape` on stdin and stdout in the coercion target locales - configure option to disable locale coercion at build time - configure option to disable C locale warning at build time | ||||
* | remove configure test for inline keyword (#1231) | Benjamin Peterson | 2017-04-21 | 1 | -9/+0 |
| | | | We require C99, so a configure test for this standard feature is not needed. | ||||
* | Issue #28762: Merge 3.6. | Xavier de Gaye | 2016-12-22 | 1 | -2/+2 |
|\ | |||||
| * | Issue #28762: lockf() is available on Android API level 24, but the | Xavier de Gaye | 2016-12-22 | 1 | -2/+2 |
| | | | | | | | | F_LOCK macro is not defined in android-ndk-r13. | ||||
* | | merge 3.6 (#28932) | Benjamin Peterson | 2016-12-20 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | merge 3.5 (#28932) | Benjamin Peterson | 2016-12-20 | 1 | -0/+3 |
| |\ | |||||
| | * | add a specific configure check for sys/random.h (closes #28932) | Benjamin Peterson | 2016-12-20 | 1 | -0/+3 |
| | | | |||||
* | | | Issue #21085: add configure check for siginfo_t.si_band | Zachary Ware | 2016-10-01 | 1 | -0/+3 |
|/ / | | | | | | | | | | | | | Patch by Masayuki Yamamoto, reviewed and rebased by Erik Bray. This is a first step on the long road toward resupporting Cygwin, which does not provide siginfo_t.si_band. | ||||
* | | replace usage of Py_VA_COPY with the (C99) standard va_copy | Benjamin Peterson | 2016-09-21 | 1 | -3/+0 |
| | | |||||
* | | more granular configure checks for clock_* functions (closes #28081) | Benjamin Peterson | 2016-09-14 | 1 | -0/+3 |
| | | |||||
* | | DTrace support: function calls, GC activity, line execution | Łukasz Langa | 2016-09-10 | 1 | -0/+3 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tested on macOS 10.11 dtrace, Ubuntu 16.04 SystemTap, and libbcc. Largely based by an initial patch by Jesús Cea Avión, with some influence from Dave Malcolm's SystemTap patch and Nikhil Benesch's unification patch. Things deliberately left out for simplicity: - ustack helpers, I have no way of testing them at this point since they are Solaris-specific - PyFrameObject * in function__entry/function__return, this is SystemTap-specific - SPARC support - dynamic tracing - sys module dtrace facility introspection All of those might be added later. | ||||
* | | remove ceval timestamp support | Benjamin Peterson | 2016-09-09 | 1 | -3/+0 |
| | | |||||
* | | remove unused osx10.5 sdk check | Benjamin Peterson | 2016-09-09 | 1 | -3/+0 |
| | | |||||
* | | more PY_LONG_LONG to long long | Benjamin Peterson | 2016-09-08 | 1 | -3/+0 |
| | | |||||
* | | require C99 bool | Benjamin Peterson | 2016-09-07 | 1 | -3/+0 |
| | | |||||
* | | add back SIZEOF_UINTPTR_T | Benjamin Peterson | 2016-09-06 | 1 | -0/+3 |
| | | |||||
* | | require uintptr_t to exist | Benjamin Peterson | 2016-09-06 | 1 | -6/+0 |
| | | |||||
* | | require standard int types to be defined (#17884) | Benjamin Peterson | 2016-09-06 | 1 | -38/+0 |
| | | |||||
* | | require a long long data type (closes #27961) | Benjamin Peterson | 2016-09-06 | 1 | -3/+0 |
| | | |||||
* | | Issue #27744: Add AF_ALG (Linux Kernel crypto) to socket module. | Christian Heimes | 2016-09-05 | 1 | -0/+3 |
| | | |||||
* | | Issue #27442: Expose the Android API level in sysconfig.get_config_vars() | Xavier de Gaye | 2016-07-09 | 1 | -0/+3 |
| | | | | | | | | as 'ANDROID_API_LEVEL'. | ||||
* | | merge 3.5 (#24557) | Benjamin Peterson | 2016-07-07 | 1 | -6/+3 |
|\ \ | |/ | |||||
| * | assume egd unless OPENSSL_NO_EGD is defined—remove configure check (closes ↵ | Benjamin Peterson | 2016-07-07 | 1 | -6/+3 |
| | | | | | | | | #24557) | ||||
* | | Merge 3.5 (os.urandom) | Victor Stinner | 2016-06-07 | 1 | -0/+3 |
|\ \ | |/ | |||||
| * | os.urandom() doesn't block on Linux anymore | Victor Stinner | 2016-06-07 | 1 | -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 Storchaka | 2016-05-04 | 1 | -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 Krah | 2016-04-25 | 1 | -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 Price | Martin Panter | 2016-04-03 | 1 | -0/+3 |
| | |||||
* | Issue #17603: Check for st_blocks field without requiring fileblocks.o | Martin Panter | 2016-03-18 | 1 | -4/+0 |
| | |||||
* | Issue #25003: On Solaris 11.3 or newer, os.urandom() now uses the getrandom() | Victor Stinner | 2015-10-01 | 1 | -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 Hastings | 2015-04-13 | 1 | -0/+3 |
| | | | | Patch courtesy of Joe Jevnik. | ||||
* | Issue #22181: The availability of the getrandom() is now checked in configure, | Victor Stinner | 2015-03-19 | 1 | -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 in | Victor Stinner | 2015-03-08 | 1 | -0/+3 |
| | | | | the dirent structure (ex: OpenIndiana). | ||||
* | Issue #22038, configure: HAVE_STD_ATOMIC now also check that "atomic_int" and | Victor Stinner | 2015-01-14 | 1 | -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 for | Victor Stinner | 2015-01-09 | 1 | -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 Stinner | 2014-12-21 | 1 | -0/+3 |
| | | | | instead of reading /dev/urandom, to get pseudo-random bytes. | ||||
* | Issue #21356: Make ssl.RAND_egd() optional to support LibreSSL. The | Victor Stinner | 2014-11-28 | 1 | -0/+3 |
| | | | | | | availability of the function is checked during the compilation. Patch written by Bernard Spil. | ||||
* | only support append_history if readline has it | Benjamin Peterson | 2014-11-26 | 1 | -0/+3 |
| | |||||
* | support setting fpu precision on m68k (closes #20904) | Benjamin Peterson | 2014-04-17 | 1 | -0/+3 |
| | | | | Patch from Andreas Schwab. | ||||
* | Issue #19922: define _INCLUDE__STDC_A1_SOURCE in HP-UX to include mbstate_t | Christian Heimes | 2013-12-07 | 1 | -0/+3 |
| | | | | for mbrtowc(). | ||||
* | ssue #19183: Implement PEP 456 'secure and interchangeable hash algorithm'. | Christian Heimes | 2013-11-20 | 1 | -0/+16 |
| | | | | Python now uses SipHash24 on all major platforms. | ||||
* | Issue #16595: Add prlimit() to resource module | Christian Heimes | 2013-10-22 | 1 | -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 handles | Victor Stinner | 2013-08-27 | 1 | -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 Peterson | 2013-08-24 | 1 | -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 Heimes | 2013-08-21 | 1 | -0/+3 |
|\ | | | | | | | | | A pthread_atfork() child handler is used to seeded the PRNG with pid, time and some stack data. | ||||
| * | Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork. | Christian Heimes | 2013-08-21 | 1 | -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 Heimes | 2013-06-18 | 1 | -0/+3 |
|\ \ | |/ | | | | | it's available |