summaryrefslogtreecommitdiff
path: root/PC/pyconfig.h
Commit message (Collapse)AuthorAgeFilesLines
* bpo-24643: Fix "GH-define timezone _timezone" clashes on Windows (GH-12019)Miss Islington (bot)2019-02-251-7/+0
| | | | | (cherry picked from commit 6673decfa0fb078f60587f5cb5e98460eea137c2) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-11566: Extension build errors on Windows for _hypot (GH-11283)Miss Islington (bot)2018-12-211-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/ (cherry picked from commit 87667c54c6650751c5d7bf7b9e465c8c4af45f71) Co-authored-by: Matt McCormick <matt@mmmccormick.com>
* 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-111-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-071-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-281-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-151-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.
* | Bump version to 3.4.0 alpha 0.Georg Brandl2012-09-291-2/+2
|/
* Fix #13210. Port the Windows build from VS2008 to VS2010.Brian Curtin2012-05-131-2/+7
|
* merge 3.2Matthias Klose2012-03-141-1/+1
|\
| * merge 3.1Matthias Klose2012-03-141-1/+1
| |\
| | * - rename configure.in to configure.acMatthias Klose2012-03-141-1/+1
| | | | | | | | | | | | - change references from configure.in to configure.ac
| | * Merged revisions 75537,75539 via svnmerge fromAntoine Pitrou2009-10-191-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/branches/py3k ........ r75537 | antoine.pitrou | 2009-10-19 21:37:25 +0200 (lun., 19 oct. 2009) | 3 lines egreen is Derk Drukker + fix NEWS formatting ........ r75539 | antoine.pitrou | 2009-10-19 21:43:09 +0200 (lun., 19 oct. 2009) | 4 lines Issue #7080: locale.strxfrm() raises a MemoryError on 64-bit non-Windows platforms, and assorted locale fixes by Derk Drukker. ........
* | | Merge #13194: zlib.compressobj().copy() and zlib.decompressobj().copy() are ↵Nadeem Vawda2011-10-171-0/+3
|\ \ \ | |/ / | | | | | | now available on Windows.