summaryrefslogtreecommitdiffstats
path: root/PC/pyconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* [3.8] bpo-39794: Add --without-decimal-contextvar (GH-18702)Stefan Krah2020-02-291-0/+4
| | | (cherry picked from commit 815280eb160af637e1347213659f9236adf78f80)
* bpo-27961: Remove leftovers from the times when long long wasn't required ↵Miss Islington (bot)2019-08-221-1/+1
| | | | | | | (GH-15388) (cherry picked from commit a38e9d139929a227e3899fbb638bc46c6cc6d8ba) Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
* bpo-37201: fix test_distutils failures for Windows ARM64 (GH-13902)Miss Islington (bot)2019-06-121-3/+3
| | | | | (cherry picked from commit daf62627518ad97ce66a48c49496aa0573cf0731) Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
* 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.
* | Issue #17791: Drop PREFIX and EXEC_PREFIX definitions from PC/pyconfig.hChristian Heimes2013-11-201-2/+0
| |
* | Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
|\ \ | |/ | | | | error messages and comments.
| * Issue #18783: Removed existing mentions of Python long type in docstrings,Serhiy Storchaka2013-08-271-1/+1
| | | | | | | | error messages and comments.
* | Issue #17931: Resolve confusion on Windows between pids and process handles.Richard Oudkerk2013-06-051-2/+2
| |
* | Close #17931: Fix PyLong_FromPid() on Windows 64-bit: processes are identifiedVictor Stinner2013-06-041-0/+3
| | | | | | | | by their HANDLE which is a pointer (and not a long, which is smaller).
* | Issue #17615: On Windows (VS2010), Performances of wmemcmp() to compare UnicodeVictor Stinner2013-04-091-3/+0
| | | | | | | | | | | | | | | | strings are not convincing. For UCS2 (16-bit wchar_t type), use a dummy loop instead of wmemcmp(). The dummy loop is as fast, or a little bit faster. wchar_t is only 16-bit long on Windows. wmemcmp() is still used for 32-bit wchar_t.
* | Issue #17615: Comparing two Unicode strings now uses wmemcmp() when possibleVictor Stinner2013-04-081-0/+3
| | | | | | | | | | wmemcmp() is twice faster than a dummy loop (342 usec vs 744 usec) on Fedora 18/x86_64, GCC 4.7.2.
* | Identify the ARM compiler.Martin v. Löwis2013-01-291-1/+3
| |
* | Drop support for Windows 2000; allow any XP API (but not Vista+).Martin v. Löwis2013-01-251-7/+1
| | | | | | | | | | Drop SDK version configuration for Tk compilation, to not bind it to W2k anymore. Binding it to XP would conflict with Tk's own binding of tkMenu to W2k.