| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
| |
(cherry picked from commit 815280eb160af637e1347213659f9236adf78f80)
|
|
|
|
|
|
|
| |
(GH-15388)
(cherry picked from commit a38e9d139929a227e3899fbb638bc46c6cc6d8ba)
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit daf62627518ad97ce66a48c49496aa0573cf0731)
Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
|
| |
|
| |
|
|
|
| |
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.
|
|
|
|
|
|
|
|
|
|
| |
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/
|
|
|
|
|
|
|
|
| |
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.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
| |
PR #3397 introduced a large number of warnings to the Windows build. This patch fixes them.
|
|
|
|
|
|
|
| |
* 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).
|
|
|
| |
It was mostly removed long ago.
|
|
|
|
|
|
|
|
|
|
| |
* Remove obsolete fallback code in readline module
* Add NEWS
* Remove obsolete include
* Fix macro on Windows
|
|
|
|
|
|
|
|
|
|
|
| |
`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 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: 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
|
|
|
|
| |
on Windows. (#632)
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
and Windows CE is no longer a relevant platform for Python.
|
|\ |
|
| | |
|
|\ \
| |/ |
|
| |
| |
| |
| | |
on Windows
|
|/
|
|
| |
Something went horribly wrong when I was doing `hg rebase`.
|
| |
|
|
|
|
| |
remove unnecessary version checks.
|
| |
|
|
|
|
| |
which will be used for the official 3.5 release.
|
|
|
|
| |
The distutils module still supports it to build extensions.
|
|\ |
|
| |
| |
| |
| | |
Patch by Zachary Turner.
|
|\ \
| |/ |
|
| | |
|
| |
| |
| |
| | |
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
|
| | |
|
|\ \
| |/
|/|
| | |
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
|
| |
| |
| |
| | |
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
|
| | |
|
|\ \
| |/
| |
| | |
error messages and comments.
|
| |
| |
| |
| | |
error messages and comments.
|
| | |
|
| |
| |
| |
| | |
by their HANDLE which is a pointer (and not a long, which is smaller).
|
| |
| |
| |
| |
| |
| |
| |
| | |
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.
|
| |
| |
| |
| |
| | |
wmemcmp() is twice faster than a dummy loop (342 usec vs 744 usec) on Fedora
18/x86_64, GCC 4.7.2.
|
| | |
|
| |
| |
| |
| |
| | |
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.
|