summaryrefslogtreecommitdiffstats
path: root/pyconfig.h.in
Commit message (Collapse)AuthorAgeFilesLines
* bpo-28503: Use crypt_r() when available instead of crypt() (GH-11373)Gregory P. Smith2018-12-301-0/+3
| | | | | Use crypt_r() when available instead of crypt() in the crypt module. As a nice side effect: This also avoids a memory sanitizer flake as clang msan doesn't know about crypt's internal libc allocated buffer.
* bpo-31425: Expose AF_QIPCRTR in socket module (GH-3706)Bjorn Andersson2018-09-261-0/+3
| | | | | | The AF_QIPCRTR address family was introduced in Linux v4.7. Co-authored-by: Bjorn Andersson <bjorn.andersson@linaro.org>
* run autoconf (GH-9411)Benjamin Peterson2018-09-191-0/+4
| | | Follow up to 2a9c3805ddedf282881ef7811a561c70b74f80b1 (bpo-34585).
* closes bpo-34640: Remove the TANH_PRESERVES_ZERO_SIGN configure check. (GH-9206)Benjamin Peterson2018-09-121-3/+0
|
* Remove configure check LOG1P_DROPS_ZERO_SIGN. (GH-9193)Benjamin Peterson2018-09-111-3/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | It is unused. <!-- Thanks for your contribution! Please read this comment in its entirety. It's quite important. # Pull Request title It should be in the following format: ``` bpo-NNNN: Summary of the changes made ``` Where: bpo-NNNN refers to the issue number in the https://bugs.python.org. Most PRs will require an issue number. Trivial changes, like fixing a typo, do not need an issue. # Backport Pull Request title If this is a backport PR (PR made against branches other than `master`), please ensure that the PR title is in the following format: ``` [X.Y] <title from the original PR> (GH-NNNN) ``` Where: [X.Y] is the branch name, e.g. [3.6]. GH-NNNN refers to the PR number from `master`. -->
* bpo-33625: Release GIL for grp.getgr{nam,gid} and pwd.getpw{nam,uid} (GH-7081)William Grzybowski2018-09-071-0/+12
| | | | | | Release GIL on grp.getgrnam(), grp.getgrgid(), pwd.getpwnam() and pwd.getpwuid() if reentrant variants of these functions are available. Patch by William Grzybowski.
* bpo-34412: Make signal.strsignal() work on HP-UX (GH-8786)Michael Osipov2018-08-231-0/+3
| | | | | | Introduce a configure check for strsignal(3) which defines HAVE_STRSIGNAL for signalmodule.c. Add some common signals on HP-UX. This change applies for Windows and HP-UX.
* bpo-34121: Fix detection of C11 atomic support on clang. (GH-8288)Benjamin Peterson2018-07-161-1/+1
|
* bpo-33648: Remove PY_WARN_ON_C_LOCALE (GH-7114)Eitan Adler2018-07-111-3/+0
| | | | This code does not appear to be used anywhere in the python code base. The use was removed in eb81795d7d3a8c898fa89.
* bpo-32493: Fix uuid.uuid1() on FreeBSD. (GH-7099)Serhiy Storchaka2018-05-241-0/+3
| | | Use uuid_enc_be() if available to encode UUID to bytes as big endian.
* closes bpo-33512: use standard for detecting long double (GH-6847)Eitan Adler2018-05-161-1/+1
|
* bpo-33332: Add signal.valid_signals() (GH-6581)Antoine Pitrou2018-05-041-0/+3
|
* bpo-31429: Define TLS cipher suite on build time (#3532)Christian Heimes2018-01-291-0/+7
| | | | | | | | | | | | | Until now Python used a hard coded white list of default TLS cipher suites. The old approach has multiple downsides. OpenSSL's default selection was completely overruled. Python did neither benefit from new cipher suites (ChaCha20, TLS 1.3 suites) nor blacklisted cipher suites. For example we used to re-enable 3DES. Python now defaults to OpenSSL DEFAULT cipher suite selection and black lists all unwanted ciphers. Downstream vendors can override the default cipher list with --with-ssl-default-suites. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-20104: Expose `posix_spawn` in the os module (GH-5109)Pablo Galindo2018-01-291-0/+3
| | | | | Add os.posix_spawn to wrap the low level POSIX API of the same name. Contributed by Pablo Galindo.
* bpo-31368: Expose preadv and pwritev in the os module (#5239)Pablo Galindo2018-01-271-0/+12
|
* bpo-32635: Fix a segfault when importing the crypt module with libxcrypt. ↵stratakis2018-01-231-0/+3
| | | | | | | (#5284) glibc is deprecating libcrypt in favor of libxcrypt, however python assumes that crypt.h will always be included. This change makes the header inclusion explicit when libxcrypt is present on the system.
* bpo-32598: Use autoconf to detect usable OpenSSL (#5242)Christian Heimes2018-01-201-0/+3
| | | | | | | | | | | | | | Add https://www.gnu.org/software/autoconf-archive/ax_check_openssl.html to auto-detect compiler flags, linker flags and libraries to compile OpenSSL extensions. The M4 macro uses pkg-config and falls back to manual detection. Add autoconf magic to detect usable X509_VERIFY_PARAM_set1_host() and related functions. Refactor setup.py to use new config vars to compile _ssl and _hashlib modules. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-32493: Not only AIX, but FreeBSD has uuid_create support (#5089)David Carlier2018-01-091-1/+1
| | | Allow building the _uuid extension module on FreeBSD and OpenBSD.
* bpo-29137: Remove fpectl module (#4789)Nathaniel J. Smith2018-01-061-4/+1
| | | | | This module has never been enabled by default, never worked correctly on x86-64, and caused ABI problems that caused C extension compatibility. See bpo-29137 for details/discussion.
* bpo-32399: Starting with AIX6.1 there is support in libc.a for uuid ↵Michael Felt2017-12-301-0/+9
| | | | | | | | | | | | (RFC4122) (#4974) Starting with AIX6.1 there is support in libc.a for uuid (RFC4122) This patch provides the changes needed for this integration with the OS. On AIX the base function is uuid_create() rather than uuid_generate_time() The AIX uuid_t typedef is more aligned to the UUID field based definition while the Linux typedef that is more aligned with UUID bytes (or perhaps UUID bytes_le) definitions.
* bpo-26439 Fix ctypes.util.find_library failure on AIX (#4507)Michael Felt2017-12-191-0/+4
| | | | | Implement find_library() support in ctypes/util for AIX. Add some AIX specific tests.
* bpo-28762: Revert last commit (now using Android Unified Headers) (GH-4488)xdegaye2017-11-231-1/+1
|
* bpo-11063: Add a configure check for uuid_generate_time_safe (GH-4287)Berker Peksag2017-11-081-0/+3
|
* bpo-31919: Fix building the curses module on OpenIndiana. (#4211)Serhiy Storchaka2017-11-011-0/+3
|
* bpo-25720: Fix the method for checking pad state of curses WINDOW (#4164)Masayuki Yamamoto2017-11-011-0/+3
| | | | | | | | | Modify the code to use ncurses is_pad() instead of checking WINDOW _flags field. If your platform does not provide the is_pad(), the existing way that checks the field will be enabled. Note: This change does not drop support for platforms where do not have both WINDOW _flags field and is_pad().
* bpo-31891: Fix building the curses module on NetBSD. (#4165)Serhiy Storchaka2017-10-311-0/+18
|
* drop unused configure check for pthread_atfork (#4046)Benjamin Peterson2017-10-191-3/+0
|
* bpo-25658: Implement PEP 539 for Thread Specific Storage (TSS) API (GH-1362)Masayuki Yamamoto2017-10-061-0/+6
| | | | | | | | | See PEP 539 for details. Highlights of changes: - Add Thread Specific Storage (TSS) API - Document the Thread Local Storage (TLS) API as deprecated - Update code that used TLS API to use TSS API
* closes bpo-31596: Add an interface for pthread_getcpuclockid(3) (#3756)pdox2017-10-051-0/+3
|
* remove configure check for memmove (#3716)Benjamin Peterson2017-09-241-3/+0
| | | Python requires C implementations provide memmove, so we shouldn't need to check for it. The only place using this configure check was expat, where we can simply always define HAVE_MEMMOVE.
* bpo-31370: Remove support for threads-less builds (#3385)Antoine Pitrou2017-09-071-3/+0
| | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility.
* bpo-27584: New addition of vSockets to the python socket module (#2489)caavery2017-09-061-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-27584: New addition of vSockets to the python socket module Support for AF_VSOCK on Linux only * bpo-27584: Fixes for V2 Fixed syntax and naming problems. Fixed #ifdef AF_VSOCK checking Restored original aclocal.m4 * bpo-27584: Fixes for V3 Added checking for fcntl and thread modules. * bpo-27584: Fixes for V4 Fixed white space error * bpo-27584: Fixes for V5 Added back comma in (CID, port). * bpo-27584: Fixes for V6 Added news file. socket.rst now reflects first Linux introduction of AF_VSOCK. Fixed get_cid in test_socket.py. Replaced PyLong_FromLong with PyLong_FromUnsignedLong in socketmodule.c Got rid of extra AF_VSOCK #define. Added sockaddr_vm to sock_addr. * bpo-27584: Fixes for V7 Minor cleanup. * bpo-27584: Fixes for V8 Put back #undef AF_VSOCK as it is necessary when vm_sockets.h is not installed.
* bpo-31343: Include sys/sysmacros.h (#3318)Christian Heimes2017-09-051-0/+3
| | | | | | Include sys/sysmacros.h for major(), minor(), and makedev(). GNU C libray plans to remove the functions from sys/types.h. Signed-off-by: Christian Heimes <christian@python.org>
* remove IRIX support (closes bpo-31341) (#3310)Benjamin Peterson2017-09-041-3/+0
| | | See PEP 11.
* remove autoconf check for select() (#3283)Benjamin Peterson2017-09-041-3/+0
| | | We never actually check HAVE_SELECT.
* remove configure check for 'volatile' (#3281)Benjamin Peterson2017-09-041-3/+3
| | | This is a required feature is C99, which we require.
* bpo-30946: Remove obsolete fallback code in readline module (#2738)Antoine Pitrou2017-07-181-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 Naoki2017-06-291-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 Naoki2017-06-281-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 Coghlan2017-06-111-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 Peterson2017-04-211-9/+0
| | | We require C99, so a configure test for this standard feature is not needed.
* Issue #28762: Merge 3.6.Xavier de Gaye2016-12-221-2/+2
|\
| * Issue #28762: lockf() is available on Android API level 24, but theXavier de Gaye2016-12-221-2/+2
| | | | | | | | F_LOCK macro is not defined in android-ndk-r13.
* | merge 3.6 (#28932)Benjamin Peterson2016-12-201-0/+3
|\ \ | |/
| * merge 3.5 (#28932)Benjamin Peterson2016-12-201-0/+3
| |\
| | * add a specific configure check for sys/random.h (closes #28932)Benjamin Peterson2016-12-201-0/+3
| | |
* | | Issue #21085: add configure check for siginfo_t.si_bandZachary Ware2016-10-011-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_copyBenjamin Peterson2016-09-211-3/+0
| |
* | more granular configure checks for clock_* functions (closes #28081)Benjamin Peterson2016-09-141-0/+3
| |
* | DTrace support: function calls, GC activity, line executionŁukasz Langa2016-09-101-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.