summaryrefslogtreecommitdiff
path: root/Tools
Commit message (Collapse)AuthorAgeFilesLines
* bpo-37156: Fix libssl DLL tag in MSI sources (GH-14219)Steve Dower2019-07-011-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-124-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-041-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-109-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-069-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-191-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-041-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-051-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>
* [3.7] bpo-33618: Enable TLS 1.3 in tests (GH-7079) (GH-7082)Miss Islington (bot)2018-05-231-8/+25
| | | | | | | | | | | | | | TLS 1.3 behaves slightly different than TLS 1.2. Session tickets and TLS client cert auth are now handled after the initialy handshake. Tests now either send/recv data to trigger session and client certs. Or tests ignore ConnectionResetError / BrokenPipeError on the server side to handle clients that force-close the socket fd. To test TLS 1.3, OpenSSL 1.1.1-pre7-dev (git master + OpenSSL PR https://github.com/openssl/openssl/pull/6340) is required. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 529525fb5a8fd9b96ab4021311a598c77588b918)
* bpo-33570: TLS 1.3 ciphers for OpenSSL 1.1.1 (GH-6976)Miss Islington (bot)2018-05-221-4/+4
| | | | | | | | | | | | Change TLS 1.3 cipher suite settings for compatibility with OpenSSL 1.1.1-pre6 and newer. OpenSSL 1.1.1 will have TLS 1.3 cipers enabled by default. Also update multissltests and Travis config to test with latest OpenSSL. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit e8eb6cb7920ded66abc5d284319a8539bdc2bae3) Co-authored-by: Christian Heimes <christian@python.org>
* bpo-33522: Enable CI builds on Visual Studio Team Services (GH-6865) (GH-6926)Miss Islington (bot)2018-05-171-2/+12
| | | | | (cherry picked from commit e5f41d2f1e0b8b8e61d5fa427c19bd1ea90fd9a3) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-33312: update Tools/gdb/libpython.py to match. (GH-6549)Miss Islington (bot)2018-04-201-1/+1
| | | (cherry picked from commit 53f67d401df40486fd0fb8fbcf9da725cd37290c)
* bpo-33189: pygettext.py now accepts only literal strings (GH-6364)Miss Islington (bot)2018-04-181-5/+9
| | | | | | | as docstrings and translatable strings, and rejects bytes literals and f-string expressions. (cherry picked from commit 69524821a87251b7aee966f6e46b3810ff5aaa64) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-31920: Fixed handling directories as arguments in the ``pygettext`` ↵Miss Islington (bot)2018-04-091-19/+11
| | | | | | | | script. (GH-6259) Based on patch by Oleg Krasnikov. (cherry picked from commit c93938b5beea4c3f592119ebee6d4029558db8de) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.7] bpo-33127: Compatibility patch for LibreSSL 2.7.0 (GH-6210) (GH-6213)Miss Islington (bot)2018-03-241-1/+1
| | | | | | | | | | | | | LibreSSL 2.7 introduced OpenSSL 1.1.0 API. The ssl module now detects LibreSSL 2.7 and only provides API shims for OpenSSL < 1.1.0 and LibreSSL < 2.7. Documentation updates and fixes for failing tests will be provided in another patch set. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 4ca0739c9d97ac7cd45499e0d31be68dc659d0e1) Co-authored-by: Christian Heimes <christian@python.org>
* [3.7] bpo-32885: Tools/scripts/pathfix.py: Add -n option for no backup~ ↵Miss Islington (bot)2018-03-141-8/+20
| | | | | | | | | | | | (GH-5772) (#6103) Creating backup files with ~ suffix can be undesirable in some environment, such as when building RPM packages. Instead of requiring the user to remove those files manually, option -n was added, that simply disables this feature. -n was selected because 2to3 has the same option with this behavior. (cherry picked from commit 5affd5c29eb1493cb31ef3cfdde15538ac134689) Co-authored-by: Miro Hrončok <miro@hroncok.cz>
* Minor improvements to the Windows build/release process (GH-5935)Miss Islington (bot)2018-02-272-0/+5
| | | | | (cherry picked from commit 881323db717f9b6ffe30d14104a2925c77f28db7) Co-authored-by: Steve Dower <steve.dower@microsoft.com>
* bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes (GH-5663)Miss Islington (bot)2018-02-271-9/+5
| | | | | | | | | | | | | | | | | | | | * bpo-32947: OpenSSL 1.1.1-pre1 / TLS 1.3 fixes Misc fixes and workarounds for compatibility with OpenSSL 1.1.1-pre1 and TLS 1.3 support. With OpenSSL 1.1.1, Python negotiates TLS 1.3 by default. Some test cases only apply to TLS 1.2. Other tests currently fail because the threaded or async test servers stop after failure. I'm going to address these issues when OpenSSL 1.1.1 reaches beta. OpenSSL 1.1.1 has added a new option OP_ENABLE_MIDDLEBOX_COMPAT for TLS 1.3. The feature is enabled by default for maximum compatibility with broken middle boxes. Users should be able to disable the hack and CPython's test suite needs it to verify default options. Signed-off-by: Christian Heimes <christian@python.org> (cherry picked from commit 05d9fe32a1245b9a798e49e0c1eb91f110935b69) Co-authored-by: Christian Heimes <christian@python.org>
* bpo-32222: Fix pygettext skipping docstrings for funcs with arg typehints ↵Miss Islington (bot)2018-02-261-4/+11
| | | | | | | (GH-4745) (cherry picked from commit eee72d4778a5513038edd5236cdd87ccce2bc60a) Co-authored-by: Tobotimus <Tobotimus@users.noreply.github.com>
* bpo-20361: Remove workaround for a now fixed bug (#5283)Victor Stinner2018-01-231-3/+0
| | | | "python3 -bb -Wd" now works as expected: "python3 -bb -Wd -Werror::BytesWarning" is no more needed.
* bpo-32436: Implement PEP 567 (#5027)Yury Selivanov2018-01-221-1/+1
|
* bpo-32588: Move _findvs into its own module and add missing _queue module to ↵Steve Dower2018-01-191-1/+1
| | | | installer (#5227)
* bpo-32549: Compile OpenSSL 1.1.0 on Travis CI (#5180)Christian Heimes2018-01-161-52/+69
| | | | | | Use an improved version of multissl test helper to compile a local copy of OpenSSL 1.1.0g. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-32507: Change Windows install to include app-local UCRT (#5119)Steve Dower2018-01-0910-81/+68
|