summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30008: Fix OpenSSL no-deprecated compilation (GH-20397)Miss Islington (bot)2020-06-011-0/+1
| | | | | | | | | | | | Fix :mod:`ssl`` code to be compatible with OpenSSL 1.1.x builds that use ``no-deprecated`` and ``--api=1.1.0``. Note: Tests assume full OpenSSL API and fail with limited API. Signed-off-by: Christian Heimes <christian@python.org> Co-authored-by: Mark Wright <gienah@gentoo.org> (cherry picked from commit a871f692b4a2e6c7d45579693e787edc0af1a02c) Co-authored-by: Christian Heimes <christian@python.org>
* bpo-39631: Fix file association MIME type in the Windows installer (GH-20205)Miss Islington (bot)2020-05-191-2/+2
| | | | | | Use text/x-python instead of text/plain to avoid issues with tools assuming that "ShellExecute(script)" is a non-executable operation. (cherry picked from commit 8c862e51248c5ebfec787badec88eb58c9267e1e) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* [3.7] bpo-40457: Support OpenSSL without TLS 1.0/1.1 (GH-19862) (GH-20126)Miss Islington (bot)2020-05-161-4/+5
|
* bpo-40163: Fix multissltest download of old OpenSSL (GH-19329)Miss Islington (bot)2020-05-151-11/+41
| | | | | (cherry picked from commit 938717fd04c53c717895a756d5910e8c8813706c) Co-authored-by: Christian Heimes <christian@python.org>
* bpo-40479: Test with latest OpenSSL versions (GH-20108)Miss Islington (bot)2020-05-151-3/+58
| | | | | | | | | | | | | | | | * 1.0.2u (EOL) * 1.1.0l (EOL) * 1.1.1g * 3.0.0-alpha2 (disabled for now) Build the FIPS provider and create a FIPS configuration file for OpenSSL 3.0.0. Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: @tiran (cherry picked from commit 62d618c06bd395308b7163dbcb26c7e6d0922033) Co-authored-by: Christian Heimes <christian@python.org>
* [3.7] bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) ↵Serhiy Storchaka2020-04-181-21/+16
| | | | | | | (GH-19584) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> (cherry picked from commit 12446e6a605f066d837d3a595d0a73e4f3b43b65)
* bpo-40019: Skip test_gdb if Python was optimized (GH-19081)Miss Islington (bot)2020-03-311-7/+9
| | | | | | | test_gdb now skips tests if it detects that gdb failed to read debug information because the Python binary is optimized. (cherry picked from commit 7bf069b6110278102c8f4719975a5eb5a5af25f9) Co-authored-by: Victor Stinner <vstinner@python.org>
* closes bpo-40125: Update multissltests.py to use OpenSSL 1.1.1f. (GH-19248)Miss Islington (bot)2020-03-311-1/+1
| | | | | (cherry picked from commit cd16661f903153ecac55f190ed682e576c5deb24) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* bpo-39930: Ensure vcruntime140.dll is included in all Windows packages ↵Steve Dower2020-03-112-1/+9
| | | | | (GH-18918) Also adds GitHub CI test for Windows installer changes
* bpo-36184: Port python-gdb.py to FreeBSD (GH-18873)Miss Islington (bot)2020-03-091-1/+1
| | | | | | | | | python-gdb.py now checks for "take_gil" function name to check if a frame tries to acquire the GIL, instead of checking for "pthread_cond_timedwait" which is specific to Linux and can be a different condition than the GIL. (cherry picked from commit 6d0ee60740f2862a878f009671b1aaa75aeb0c2a) Co-authored-by: Victor Stinner <vstinner@python.org>
* [3.8] bpo-39889: Fix unparse.py for subscript. (GH-18824). (GH-18826)Miss Islington (bot)2020-03-071-2/+17
| | | | | | (cherry picked from commit c4928fc1a853f3f84e2b4ec1253d0349137745e5) (cherry picked from commit 92b72788ecf2ee5dfac780c7dfb5ee5350fc641d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.7] bpo-39401: Avoid unsafe DLL load on Windows 7 and earlier (GH-18231) ↵Steve Dower2020-01-301-2/+10
| | | | | | | | | (GH-18232) https://bugs.python.org/issue39401 Automerge-Triggered-By: @zooba
* bpo-38589: Fixes HTML Help shortcut when Windows is not installed to C drive ↵Miss Skeleton (bot)2019-10-281-1/+1
| | | | | | | (GH-16968) (cherry picked from commit 0ac6137dd3d1e2c8f9558153ad63021f57e05e73) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-38347: find pathfix for Python scripts whose name contain a '-' ↵Victor Stinner2019-10-111-2/+2
| | | | | | | (GH-16536) (GH-16719) pathfix.py: Assume all files that end on '.py' are Python scripts when working recursively. (cherry picked from commit 2b7dc40b2af6578181808ba73c1533fc114e55df)
* [3.7] bpo-38117: Test with OpenSSL 1.1.1d (GH-15983) (GH-15994)Stéphane Wirtel2019-09-111-4/+4
| | | | | | | | | | | | | Signed-off-by: Christian Heimes <christian@python.org>. (cherry picked from commit 58ab13479d854491ac9207bacfae25e8b18b044a) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue38117 Automerge-Triggered-By: @matrixise
* bpo-37283: Ensure command-line and unattend.xml setting override previously ↵Miss Islington (bot)2019-09-092-8/+25
| | | | | | | detected states in Windows installer (GH-15759) (cherry picked from commit 3a0ddbcdfcbc0f4372905fabf81e093f1b043e99) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-37156: Fix libssl DLL tag in MSI sources (GH-14219)Steve Dower2019-06-191-2/+3
|
* [3.7] bpo-37081: Test with OpenSSL 1.1.1c (GH-13631) (GH-13782)Miss Islington (bot)2019-06-031-3/+3
| | | | | | | | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 06651ee418b5e4e013195d6b702763a1220706a7) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue37081
* [3.7] bpo-14546: Fix the argument handling in Tools/scripts/lll.py ↵Miss Islington (bot)2019-05-021-4/+3
| | | | | | | (GH-13026) (GH-13060) (cherry picked from commit c4e78b116f9a4299f3b3bfbbd18ef49782bb1143) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-36690: Fix typo in Tools/demo/rpython.py (GH-12903)Miss Islington (bot)2019-04-221-1/+1
| | | | | (cherry picked from commit d59b662e490d3fae662c5f81fa5248f0445d2158) Co-authored-by: 周家未 <752736341@qq.com>
* Allow Windows layout builds to fully skip code signing (GH-12808)Miss Islington (bot)2019-04-122-3/+8
| | | | | (cherry picked from commit 606c66a17faf34a4e74d4829e8fe5ad0d2879434) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-36010: Add venv to the nuget distribution (GH-12367)Miss Islington (bot)2019-03-301-1/+1
| | | | | (cherry picked from commit e724152796a5a41544f52054506c6c2248242a5d) Co-authored-by: Paul Moore <p.f.moore@gmail.com>
* bpo-36441: Fixes creating a venv when debug binaries are installed. (GH-12566)Miss Islington (bot)2019-03-271-0/+15
| | | | | (cherry picked from commit 4a9a505d6f2474a570422dad89f8d1b344d6cd36) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-32217: Correct usage of ABI tags in freeze. (GH-4719)Miss Islington (bot)2019-03-231-1/+4
| | | | | | Check for sys.abiflags before using since not all platforms have it defined. (cherry picked from commit a7987e71939fa631296f83861fb376361ddd59ee) Co-authored-by: AraHaan <15173749+AraHaan@users.noreply.github.com>
* bpo-36174: Update nuget authoring for new license field. (GH-12300)Miss Islington (bot)2019-03-134-9/+4
| | | | | (cherry picked from commit 26c910c59c47bdef4220c34e66c45a625bda5e56) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-35132: Fixes missing target in gdb pep0393 check. (GH-11848) (GH-12284)Miss Islington (bot)2019-03-121-1/+1
| | | | | (cherry picked from commit 1ceb3a3d172dcf0ddff38d5d6b559443ad065b84) Co-authored-by: Lisa Roach <lisaroach14@gmail.com>
* bpo-35299: Fixed sysconfig and distutils during PGO profiling (GH-11744)Miss Islington (bot)2019-02-051-1/+2
| | | | | (cherry picked from commit 85e102a2b090dd693d0801ae2edb9660cfa0f281) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-34691: Compile _contextvars module into main Python library (GH-11741)Miss Islington (bot)2019-02-021-1/+1
| | | | | (cherry picked from commit 4c70d9f79c9b371990c8e054ccde53f7ff15946b) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* Enable signing Windows builds with SHA1 environment variable (GH-11279)Miss Islington (bot)2018-12-211-1/+4
| | | | | (cherry picked from commit d3bbc5241363d5fa4e749fe509c97c12501ae966) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* [3.7] bpo-35489: Use "const Py_UNICODE *" for the Py_UNICODE converter in ↵Serhiy Storchaka2018-12-141-1/+1
| | | | | | AC. (GH-11150). (GH-11151) (cherry picked from commit afb3e71a1710c444fbe789b51df43ee16ee9ede7)
* bpo-34977: Add Windows App Store package (GH-11027)Steve Dower2018-12-119-339/+209
| | | Also adds the PC/layout script for generating layouts on Windows.
* [3.7] bpo-34977: Use venv redirector instead of original python.exe on ↵Steve Dower2018-12-101-0/+23
| | | | Windows (GH-11029)
* Revert "[3.7] bpo-34977: Add Windows App Store package (GH-10245)" (GH-11021)Victor Stinner2018-12-079-209/+339
| | | This reverts commit 253209149389e6793a052034e1f2d97691086f18.
* [3.7] bpo-34977: Add Windows App Store package (GH-10245)Steve Dower2018-12-079-339/+209
|
* bpo-35296: make install now installs the internal API (GH-10665) (GH-10897)Victor Stinner2018-12-041-3/+3
| | | | | | | | | | | | | * bpo-35296: make install now installs the internal API (GH-10665) make install now also installs the internal API: Include/internal/*.h header files. (cherry picked from commit f653fd4d950ac092719b6152e38d77c62b443125) * Windows installer now also install Include/internal/ The Windows installer (MSI) now also install header files of the Include/internal/ subdirectory.
* bpo-35133: Fix mistakes when concatenate string literals on different lines. ↵Miss Islington (bot)2018-11-051-2/+2
| | | | | | | | | | | | (GH-10284) Two kind of mistakes: 1. Missed space. After concatenating there is no space between words. 2. Missed comma. Causes unintentional concatenating in a list of strings. (cherry picked from commit 34fd4c20198dea6ab2fe8dc6d32d744d9bde868d) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-35067: Remove _distutils_findvs and use vswhere.exe instead. (GH-10095)Miss Islington (bot)2018-10-271-1/+1
| | | | | (cherry picked from commit 53125a53f483db0af76249b6af6efcdc200eb421) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-32256: Make patchcheck.py work for out-of-tree builds (GH-4760)Miss Islington (bot)2018-10-201-3/+9
| | | | | | Set SRCDIR as the current directory for git. (cherry picked from commit aa95bfb5fee366aa58c90b7e1c77fc7e183dbf3a) Co-authored-by: Alexey Izbyshev <izbyshev@ispras.ru>
* bpo-34989: python-gdb.py: fix current_line_num() (GH-9889)Miss Islington (bot)2018-10-151-13/+33
| | | | | | | | | | | | | | | | | python-gdb.py now handles errors on computing the line number of a Python frame. Changes: * PyFrameObjectPtr.current_line_num() now catchs any Exception on calling addr2line(), instead of failing with a surprising "<class 'TypeError'> 'FakeRepr' object is not subscriptable" error. * All callers of current_line_num() now handle current_line_num() returning None. * PyFrameObjectPtr.current_line() now also catchs IndexError on getting a line from the Python source file. (cherry picked from commit 2e438cc2554495b28480a3ffe5cdf41b6ab823a0) Co-authored-by: Victor Stinner <vstinner@redhat.com>
* [3.7] bpo-34670: Add TLS 1.3 post handshake auth (GH-9460) (GH-9505)Christian Heimes2018-09-231-4/+4
| | | | | | | | | | | | | | | | Add SSLContext.post_handshake_auth and SSLSocket.verify_client_post_handshake for TLS 1.3 post-handshake authentication. Signed-off-by: Christian Heimes <christian@python.org>q https://bugs.python.org/issue34670. (cherry picked from commit 9fb051f032c36b9f6086b79086b4d6b7755a3d70) Co-authored-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue34670
* Fixes tests requiring extra environment values on Windows (GH-9462)Steve Dower2018-09-201-0/+3
|
* bpo-26901: Fix the Argument Clinic test suite (GH-8879) (GH-9048)Miss Islington (bot)2018-09-031-791/+0
| | | | | | | | | | | | | * Fix Tools/clinic/clinic_test.py: add missing FakeClinic.destination_buffers attribute and pass a file argument to Clinic(). * Rename Tools/clinic/clinic_test.py to Lib/test/test_clinic.py: add temporary Tools/clinic/ to sys.path to import the clinic module. Co-Authored-By: Pablo Galindo <pablogsal@gmail.com> (cherry picked from commit 65fc98e7b1f62c2e621f04780a3a77c3498cc195) Co-authored-by: Victor Stinner <vstinner@redhat.com>
* bpo-34217: Use lowercase for windows headers (GH-8472)Miss Islington (bot)2018-08-161-1/+1
| | | | | (cherry picked from commit e6a4755e6793942b950c1595e0c34bd66a0ee13e) Co-authored-by: Erik Janssens <erik.janssens@conceptive.be>
* Updated MSI README to mention dependency on .NET 3.5. (GH-8375)Miss Islington (bot)2018-07-291-0/+8
| | | | | (cherry picked from commit c536beedd50b0071208b4108ba9b48a36ffced79) Co-authored-by: Vinay Sajip <vinay_sajip@yahoo.co.uk>
* [3.7] bpo-34166: Fix warnings in Tools/msgfmt.py. (GH-8367) (GH-8369)Xtreak2018-07-211-3/+5
| | | | | (cherry picked from commit a692efe4733f98831cb51a9683877b152f754d14) Co-authored-by: Xtreak <tirkarthi@users.noreply.github.com>
* [3.7] bpo-32962: Backport python-gdb.py and test_gdb.py from master (GH-7710)Victor Stinner2018-06-151-12/+25
| | | | | | | | | | | | | | | | | | | | | | | | | * bpo-32962: python-gdb catchs ValueError on read_var() (GH-7692) python-gdb now catchs ValueError on read_var(): when Python has no debug symbols for example. (cherry picked from commit 019d33b7a447e78057842332fb5d3bad01922122) * bpo-32962: python-gdb catchs UnicodeDecodeError (GH-7693) python-gdb now catchs UnicodeDecodeError exceptions when calling string(). (cherry picked from commit d22fc0bc7de7882da204abe50884bbde2da4f9e7) * bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protection -O0 (GH-6754) When Python is built with the intel control-flow protection flags, -mcet -fcf-protection, gdb is not able to read the stack without actually jumping inside the function. This means an extra 'next' command is required to make the $pc (program counter) enter the function and make the stack of the function exposed to gdb. (cherry picked from commit 9b7c74ca32d1bec7128d550a9ab1b2ddc7046287)
* pypi.python.org -> pypi.org (GH-7613) (GH-7614)Miss Islington (bot)2018-06-111-1/+1
| | | | | (cherry picked from commit 9d6d06e8065d45f375f4a80e2d7e13b032da1f5b) Co-authored-by: Ned Deily <nad@python.org>
* update to Unicode 11.0.0 (closes bpo-33778) (GH-7439) (GH-7470)Miss Islington (bot)2018-06-071-20/+19
| | | | | | Also, standardize indentation of generated tables. (cherry picked from commit 7c69c1c0fba8c1c8ff3969bce4c1135736a4cc58) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* remove hg support from patchcheck (GH-7440)Miss Islington (bot)2018-06-061-21/+3
| | | | | (cherry picked from commit b8c0845fee9277b1106ceecbf7592f8806c73ec8) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* bpo-32911: Revert bpo-29463. (GH-7121)Serhiy Storchaka2018-05-291-6/+0
| | | | | | | Remove the docstring attribute of AST types and restore docstring expression as a first stmt in their body. Co-authored-by: INADA Naoki <methane@users.noreply.github.com>