summaryrefslogtreecommitdiffstats
path: root/PC/pyconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* bpo-43179: Generalise alignment for optimised string routines (GH-24624)Jessica Clarke2021-03-311-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | * Remove m68k-specific hack from ascii_decode On m68k, alignments of primitives is more relaxed, with 4-byte and 8-byte types only requiring 2-byte alignment, thus using sizeof(size_t) does not work. Instead, use the portable alternative. Note that this is a minimal fix that only relaxes the assertion and the condition for when to use the optimised version remains overly strict. Such issues will be fixed tree-wide in the next commit. NB: In C11 we could use _Alignof(size_t) instead, but for compatibility we use autoconf. * Optimise string routines for architectures with non-natural alignment C only requires that sizeof(x) is a multiple of alignof(x), not that the two are equal. Thus anywhere where we optimise based on alignment we should be using alignof(x) not sizeof(x). This is more annoying than it would be in C11 where we could just use _Alignof(x) (and alignof(x) in C++11), but since we still require only C99 we must plumb the information all the way from autoconf through the various typedefs and defines.
* bpo-11717: fix ssize_t redefinition error when targeting 32bit Windows app ↵Jozef Grajciar2021-03-011-3/+3
| | | | (GH-24479)
* bpo-42120: Remove macro defining copysign to _copysign on Windows (GH-23326)Steve Dower2020-11-161-1/+0
|
* Python 3.10.0a0 (GH-20198)Pablo Galindo2020-05-191-2/+2
|
* bpo-1294959: Add sys.platlibdir attribute (GH-18381)Victor Stinner2020-03-101-0/+2
| | | | | | | | | | | | | Add --with-platlibdir option to the configure script: name of the platform-specific library directory, stored in the new sys.platlitdir attribute. It is used to build the path of platform-specific dynamic libraries and the path of the standard library. It is equal to "lib" on most platforms. On Fedora and SuSE, it is equal to "lib64" on 64-bit systems. Co-Authored-By: Jan Matějek <jmatejek@suse.com> Co-Authored-By: Matěj Cepl <mcepl@cepl.eu> Co-Authored-By: Charalampos Stratakis <cstratak@redhat.com>
* bpo-39794: Add --without-decimal-contextvar (#18702)Stefan Krah2020-02-291-0/+4
|
* bpo-39553: Delete HAVE_SXS protected code (GH-18356)Zackery Spytz2020-02-051-5/+0
| | | | | | | https://bugs.python.org/issue39553 Automerge-Triggered-By: @zooba
* bpo-27961: Replace PY_LONG_LONG with long long. (GH-15386)Sergey Fedoseev2019-10-211-1/+1
|
* bpo-32592: Set Windows 8 as the minimum required version for API support ↵Steve Dower2019-09-111-3/+3
| | | | (GH-15951)
* bpo-27961: Remove leftovers from the times when long long wasn't required ↵Sergey Fedoseev2019-08-221-1/+1
| | | | (GH-15388)
* bpo-37201: fix test_distutils failures for Windows ARM64 (GH-13902)Paul Monson2019-06-121-3/+3
|
* Bump to 3.9.0a0Łukasz Langa2019-06-041-2/+2
|
* bpo-36942 Windows build changes for Windows ARM64 (GH-13366)Paul Monson2019-05-171-0/+3
|
* bpo-24643: Fix "#define timezone _timezone" clashes on Windows (GH-12019)Zackery Spytz2019-02-251-7/+0
|
* bpo-35976: Enable Windows projects to build with platform ARM32 (GH-11825)Paul Monson2019-02-141-1/+1
| | | This change adds the necessary items to the build projects to avoid erroring out right at the start. It does not add _support_ for targeting Windows on ARM32, but is a necessary prerequisite for adding it.
* bpo-11566: Extension build errors on Windows for _hypot (GH-11283)Matt McCormick2018-12-221-6/+0
| | | | | | | | | | This addresses C extension build errors related to an undefined _hypot symbol when building with the Microsoft Visual C++ Compiler for Python 2.7 [1] or MinGWPy [2]. It also addresses errors when building a C++ extension with MinGWPy and C++11 from cmath, 'error "::hypot' has not been declared' [1] https://www.microsoft.com/en-us/download/details.aspx?id=44266 [2] https://mingwpy.github.io/
* Simplify PyInit_timezone. (GH-9467)Benjamin Peterson2018-09-211-0/+4
| | | | | | | | Reduce the knotty preprocessor conditional logic, dedent unnecessarily nested code, and handle errors properly. The first edition of this change (afde1c1a05cc8a1e8adf6403c451f6708509a605) failed (bpo-34715) because FreeBSD doesn't define the timezone globals. That's why we're now checking for HAVE_DECL_TZNAME.
* Start of 3.8.0a0Ned Deily2018-01-311-2/+2
|
* bpo-31399: Let OpenSSL verify hostname and IP address (#3462)Christian Heimes2018-01-271-0/+3
| | | | | | | | | | | | | | | bpo-31399: Let OpenSSL verify hostname and IP The ssl module now uses OpenSSL's X509_VERIFY_PARAM_set1_host() and X509_VERIFY_PARAM_set1_ip() API to verify hostname and IP addresses. * Remove match_hostname calls * Check for libssl with set1_host, libssl must provide X509_VERIFY_PARAM_set1_host() * Add documentation for OpenSSL 1.0.2 requirement * Don't support OpenSSL special mode with a leading dot, e.g. ".example.org" matches "www.example.org". It's not standard conform. * Add hostname_checks_common_name Signed-off-by: Christian Heimes <christian@python.org>
* bpo-30860: Move windows.h include out of internal/*.h. (#3458)Eric Snow2017-09-121-16/+15
| | | PR #3397 introduced a large number of warnings to the Windows build. This patch fixes them.
* bpo-30860: Consolidate stateful runtime globals. (#3397)Eric Snow2017-09-081-12/+14
| | | | | | | * group the (stateful) runtime globals into various topical structs * consolidate the topical structs under a single top-level _PyRuntimeState struct * add a check-c-globals.py script that helps identify runtime globals Other globals are excluded (see globals.txt and check-c-globals.py).
* Remove all mention of Windows IA-64 support (GH-3389)Zachary Ware2017-09-061-8/+1
| | | It was mostly removed long ago.
* bpo-30946: Remove obsolete fallback code in readline module (#2738)Antoine Pitrou2017-07-181-3/+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-1/+1
| | | | | | | | | | | `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-23451: Fix socket deprecation warnings in socketmodule.c (#2318)Segev Finer2017-06-281-0/+3
| | | | | | | | | | | | | | | | | | * bpo-23451: Fix WSASocket and WSADuplicateSocket deprecation warnings * bpo-23451: Add backwards compatibility note about socket share/fromshare * bpo-23451: Fixed `WSAAddressToString`/`WSAStringToAddress` deprecation warnings * bpo-23451: Use `inet_pton`/`inet_ntop` instead of `WSAAddressToString`/`WSAStringToAddress` * bpo-23451: Move `HAVE_INET_PTON` from _socket.vcxproj to pyconfig.h * bpo-23451: Add SUPPRESS_DEPRECATED_CALL to socketmodule.c * bpo-23451: Add a NEWS.d entry * bpo-23451: Corrected NEWS.d entry
* bpo-29585: Define PYTHONFRAMEWORK in PC/pyconfig.h (#2477)Victor Stinner2017-06-281-49/+52
| | | | | | | | | | * bpo-29585: Fix PC/pyconfig.h whitespaces Run "make patchcheck". * bpo-29585: Define PYTHONFRAMEWORK in PC/pyconfig.h * site: Fix path separator in _get_path() on Windows
* bpo-26121: Use C library implementation for math functions erf() and erfc() ↵Serhiy Storchaka2017-03-121-0/+6
| | | | on Windows. (#632)
* Bump to 3.7.0a0Ned Deily2016-09-121-2/+2
|
* hardcode sizeof(_Bool) on windowsBenjamin Peterson2016-09-071-0/+3
|
* require standard int types to be defined (#17884)Benjamin Peterson2016-09-061-33/+4
|
* replace PY_LONG_LONG with long longBenjamin Peterson2016-09-061-3/+2
|
* Issue #27355: Removed support for Windows CE. It was never finished,Larry Hastings2016-09-051-47/+0
| | | | and Windows CE is no longer a relevant platform for Python.
* Merge typo fixes from 3.5Martin Panter2016-05-081-1/+1
|\
| * Corrections for a/an in code comments and documentationMartin Panter2016-05-081-1/+1
| |
* | Closes #24953: Merge with 3.5Zachary Ware2015-08-291-0/+8
|\ \ | |/
| * Issue #24953: Include ICC version in sys.version string when bulit with ICC ↵Zachary Ware2015-08-291-0/+8
| | | | | | | | on Windows
| * Reverting my previous commit.Yury Selivanov2015-05-301-2/+2
|/ | | | Something went horribly wrong when I was doing `hg rebase`.
* Update Windows build for 3.6Zachary Ware2015-05-281-2/+2
|
* Issue #23451: Update pyconfig.h for Windows to require Vista headers and ↵Steve Dower2015-03-021-3/+3
| | | | remove unnecessary version checks.
* #22980 Adds platform and version tags to .pyd filesSteve Dower2014-12-161-0/+4
|
* Issue #22919: Windows build updated to support VC 14.0 (Visual Studio 2015), ↵Steve Dower2014-11-221-0/+7
| | | | which will be used for the official 3.5 release.
* Issue #22592: Drop support of the Borland C compiler to build PythonVictor Stinner2014-10-221-29/+0
| | | | The distutils module still supports it to build extensions.
* Issue #21958: Merge with 3.4Zachary Ware2014-07-251-0/+5
|\
| * Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.Zachary Ware2014-07-251-0/+5
| | | | | | | | Patch by Zachary Turner.
* | Closes #21713: Merge with 3.4Zachary Ware2014-06-111-1/+1
|\ \ | |/
| * Issue #21713: Fix typo in a comment. Found by Joseph Shen.Zachary Ware2014-06-111-1/+1
| |
| * Issue #20221: Removed conflicting (or circular) hypot definitionZachary Ware2014-02-201-0/+4
| | | | | | | | when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
* | Bump Windows build to 3.5Zachary Ware2014-03-171-2/+2
| |
* | Issue #20221: Removed conflicting (or circular) hypot definitionZachary Ware2014-02-201-0/+4
|\ \ | |/ |/| | | when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
| * Issue #20221: Removed conflicting (or circular) hypot definitionZachary Ware2014-02-201-0/+4
| | | | | | | | when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.