summaryrefslogtreecommitdiffstats
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* [3.8] bpo-41043: Escape literal part of the path for glob(). (GH-20994). ↵Serhiy Storchaka2020-07-022-2/+4
| | | | | (GH-21277) (cherry picked from commit 935586845815f5b4c7814794413f6a812d4bd45f)
* 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>
* bpo-40457: Support OpenSSL without TLS 1.0/1.1 (GH-19862)Miss Islington (bot)2020-05-161-4/+5
| | | | | | | | | | | | | | OpenSSL can be build without support for TLS 1.0 and 1.1. The ssl module now correctly adheres to OPENSSL_NO_TLS1 and OPENSSL_NO_TLS1_1 flags. Also update multissltest to test with latest OpenSSL and LibreSSL releases. Signed-off-by: Christian Heimes <christian@python.org> Automerge-Triggered-By: @tiran (cherry picked from commit 6e8cda91d92da72800d891b2fc2073ecbc134d98) Co-authored-by: Christian Heimes <christian@python.org>
* 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.8] bpo-40179: Fix translation of #elif in Argument Clinic (GH-19364) ↵Serhiy Storchaka2020-04-181-21/+16
| | | | | | | (GH-19583) Co-authored-by: Ammar Askar <ammar@ammaraskar.com> (cherry picked from commit 12446e6a605f066d837d3a595d0a73e4f3b43b65)
* closes bpo-40266, closes bpo-39953: Use numeric lib code if compiling ↵Miss Islington (bot)2020-04-141-4/+8
| | | | | | | against old OpenSSL. (GH-19506) (cherry picked from commit 584a3cfda4d7a65ea0c1ea1ee541378bb7be46ca) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* closes bpo-39953: Generate ifdefs around library code definitions. (GH-19490)Miss Islington (bot)2020-04-121-0/+2
| | | | | (cherry picked from commit 909b87d2bb3d6330d39c48e43f7f50f4d086cc41) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* closes bpo-39953: Update OpenSSL error codes table. (GH-19082)Miss Islington (bot)2020-04-111-9/+16
| | | | | | I updated the error codes using the OpenSSL 1.1.1f source tree. (cherry picked from commit 3e0dd3730b5eff7e9ae6fb921aa77cd26efc9e3a) Co-authored-by: Benjamin Peterson <benjamin@python.org>
* 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 ↵Miss Islington (bot)2020-03-112-1/+9
| | | | | | | | (GH-18918) Also adds GitHub CI test for Windows installer changes (cherry picked from commit 2dd41740c97bd77695ddcc590caa7f53e76dc35a) Co-authored-by: Steve Dower <steve.dower@python.org>
* 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)Serhiy Storchaka2020-03-071-2/+17
| | | | (cherry picked from commit c4928fc1a853f3f84e2b4ec1253d0349137745e5)
* bpo-39789: Update Windows release build machines to VS 2019 (GH-18695)Miss Islington (bot)2020-02-291-1/+1
| | | | | | Also fixes some potential Nuget build issues. (cherry picked from commit 03153dd1459fab94f294a118ed1525e34d58601a) Co-authored-by: Steve Dower <steve.dower@python.org>
* 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-38534: Replace wrong KB number references (GH-16955)Miss Skeleton (bot)2019-10-281-4/+4
| | | | | (cherry picked from commit 794616f837c254c68d8384ab48fb78123a3c8a8b) Co-authored-by: benedwards14 <53377856+benedwards14@users.noreply.github.com>
* bpo-38347: find pathfix for Python scripts whose name contain a '-' (GH-16536)Miss Islington (bot)2019-10-111-4/+1
| | | | | | pathfix.py: Assume all files that end on '.py' are Python scripts when working recursively. (cherry picked from commit 2b7dc40b2af6578181808ba73c1533fc114e55df) Co-authored-by: Ruediger Pluem <r.pluem@gmx.de>
* bpo-37064: Add -k and -a options to pathfix.py tool (GH-16387)Victor Stinner2019-09-251-5/+59
| | | | | | | | | | | | | | * bpo-37064: Add option -k to Tools/scripts/pathfix.py (GH-15548) Add flag -k to pathscript.py script: preserve shebang flags. (cherry picked from commit 50254ac4c179cb412e90682098c97db786143929) * bpo-37064: Add option -a to pathfix.py tool (GH-15717) Add option -a to Tools/Scripts/pathfix.py script: add flags. (cherry picked from commit 1dc1acbd73f05f14c974b7ce1041787d7abef31e)
* closes bpo-16637: libpython: construct integer object directly from gdbvalue ↵Miss Islington (bot)2019-09-241-1/+1
| | | | | | | | | | | (GH-15232) This fixes the exception '`ValueError: invalid literal for int() with base 10` if `str(gdbval)` returns a hexadecimal value (e.g. '0xa0'). This is the case if the output-radix is set to 16 in gdb. See https://sourceware.org/gdb/onlinedocs/gdb/Numbers.html for more information. (cherry picked from commit 6f53d34fb0f944a8c0ee530334c353559ac40f72) Co-authored-by: Marc Hartmayer <marc1006@users.noreply.github.com>
* [3.8] bpo-37206: Unrepresentable default values no longer represented as ↵Serhiy Storchaka2019-09-141-7/+6
| | | | | | | | | | None. (GH-13933) (GH-16141) In ArgumentClinic, value "NULL" should now be used only for unrepresentable default values (like in the optional third parameter of getattr). "None" should be used if None is accepted as argument and passing None has the same effect as not passing the argument at all. (cherry picked from commit 279f44678c8b84a183f9eeb85e0b086228154497) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-38117: Test with OpenSSL 1.1.1d (GH-15983)Miss Islington (bot)2019-09-111-5/+4
| | | | | | Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 58ab13479d854491ac9207bacfae25e8b18b044a) Co-authored-by: Christian Heimes <christian@python.org>
* 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>
* [3.8] bpo-37034: Display argument name on errors with keyword arguments with ↵Serhiy Storchaka2019-08-291-80/+101
| | | | | | | Argument Clinic. (GH-13593). (GH-15599) (cherry picked from commit 4901fe274bc82b95dc89bcb3de8802a3dfedab32) Co-authored-by: Rémi Lapeyre <remi.lapeyre@henki.fr>
* bpo-36743: __get__ is sometimes called without the owner argument (GH-12992) ↵Miss Islington (bot)2019-08-291-1/+1
| | | | | | | (GH-15589) (cherry picked from commit 0dac68f1e593c11612ed54af9edb865d398f3b05) Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
* bpo-36511: Fix failures in Windows ARM32 buildbot (GH-15181)Miss Islington (bot)2019-08-291-0/+1
| | | | | (cherry picked from commit ed70a344b5fbddea85726ebc1964ee0cfdef9c40) Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
* [3.8] bpo-37942: Improve argument clinic float converter (GH-15470) (GH-15480)Raymond Hettinger2019-08-251-6/+18
| | | (cherry picked from commit aef9ad82f7f667cd001a7112d3bc636e918626f7)
* Fix publishing of Windows release (GH-15006)Miss Islington (bot)2019-07-291-0/+4
| | | | | (cherry picked from commit fe330fc4ad3b8218a84216a824af7d7007dcb85b) Co-authored-by: Steve Dower <steve.dower@python.org>
* [3.8] bpo-36974: separate vectorcall functions for each calling convention ↵Jeroen Demeyer2019-07-231-3/+2
| | | | (GH-13781) (#14782)
* Enable publish of Windows releases through Azure Pipelines (GH-14720)Miss Islington (bot)2019-07-131-1/+0
| | | | | (cherry picked from commit 994a3b88dca852696351358e2743313e546b5ecf) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-37351: Removes libpython38.a from standard Windows distribution (GH-14276)Steve Dower2019-06-224-37/+1
|
* bpo-36511: Fix -u parameters for ARM32 tests (GH-14280)Steve Dower2019-06-211-1/+1
|
* bpo-36511: Improve ARM32 buildbot scripts (GH-14251)Steve Dower2019-06-203-10/+92
|
* Implement Windows release builds in Azure Pipelines (GH-14065)Steve Dower2019-06-1411-87/+66
| | | Includes backported fixes from GH-14091
* bpo-37181: Fix test_regrtest failures on Windows arm64 (GH-13872)Miss Islington (bot)2019-06-071-1/+1
| | | | | (cherry picked from commit e7e5039d6940e41839dcef0433262ff363408dad) Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
* bpo-37156: Fix libssl DLL tag in MSI sources (GH-13866)Miss Islington (bot)2019-06-061-2/+3
| | | | | (cherry picked from commit e0c0c7e8c9f8153a54b92e43aa3d09e69a9fd0c0) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-34271: Fix compatibility with 1.0.2 (GH-13728)Christian Heimes2019-06-031-1/+2
| | | | | | Fix various compatibility issues with LibreSSL and OpenSSL 1.0.2 introduced by bpo-34271. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-37081: Test with OpenSSL 1.1.1c (GH-13631)Christian Heimes2019-06-031-3/+3
| | | Signed-off-by: Christian Heimes <christian@python.org>
* Add description to the command line help of the argument clinic (GH-8518)Tim Hoffmann2019-06-021-1/+8
|
* Clean up and reduce visual clutter in the makeunicode.py script. (GH-7558)Stefan Behnel2019-06-011-263/+275
|
* bpo-36974: rename _FastCallKeywords -> _Vectorcall (GH-13653)Jeroen Demeyer2019-05-301-1/+1
|
* bpo-36974: Fix GDB integration (GH-13665)Petr Viktorin2019-05-291-1/+2
| | | | | | | | | | | As it changes the way functions are called, the PEP 590 implementation skipped the functions that the GDB integration is looking for (by name) to find function calls. Looking for the new helper `cfunction_call_varargs` hopefully fixes the tests, and thus buildbots. The changed frame nuber in test_gdb is due to there being fewer C calls when calling a built-in method.
* bpo-37053: handle strings like u"bar" correctly in Tools/parser/unparse.py ↵Chih-Hsuan Yen2019-05-261-0/+2
| | | | | | | | | | | | (GH-13583) Constant.kind is added in https://bugs.python.org/issue36280. Current possible values for Constant.kind are "u" or None. For r'bar' and b'bar', Constant.kind value is None, so there's no need for special handling. https://bugs.python.org/issue37053
* bpo-36511: Ensure error code propagates out of batch files (GH-13529)Paul Monson2019-05-241-2/+2
|
* bpo-36511: Windows arm32 buildbot changes (remove extra space) (GH-13351)Paul Monson2019-05-151-1/+1
| | | | | | | @zooba I just realized that this whitespace fix didn't get pushed. https://bugs.python.org/issue36511
* bpo-36511: Windows ARM32 buildbot changes (GH-12917)Paul Monson2019-05-151-0/+35
|
* closes bpo-36861: Update Unicode database to 12.1.0. (GH-13214)Benjamin Peterson2019-05-091-1/+1
| | | Adds ㋿.
* bpo-14546: Fix the argument handling in Tools/scripts/lll.py (GH-13026)Zackery Spytz2019-05-021-4/+3
|
* bpo-36540: PEP 570 -- Implementation (GH-12701)Pablo Galindo2019-04-291-2/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This commit contains the implementation of PEP570: Python positional-only parameters. * Update Grammar/Grammar with new typedarglist and varargslist * Regenerate grammar files * Update and regenerate AST related files * Update code object * Update marshal.c * Update compiler and symtable * Regenerate importlib files * Update callable objects * Implement positional-only args logic in ceval.c * Regenerate frozen data * Update standard library to account for positional-only args * Add test file for positional-only args * Update other test files to account for positional-only args * Add News entry * Update inspect module and related tests