| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
| |
coverage (GH-14985)
https://bugs.python.org/issue36044
Automerge-Triggered-By: @zooba
(cherry picked from commit e1b900247227dad49d8231f1d028872412230ab4)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
|
|
|
|
|
|
|
|
|
| |
* bpo-37697: Sync with importlib_metadata 0.19
* Run make regen-importlib
* 📜🤖 Added by blurb_it.
(cherry picked from commit 049460da9c7b5f51732e2966195c44713af9dc4c)
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
|
|
|
|
|
|
| |
Use an example shell interaction in the sample and better labels for shell elements.
(cherry picked from commit b222955355c8077a3ceca79195731663d7c3dd5f)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
| |
(cherry picked from commit 17a058ed6ffa7f56c0920d15d214ad080e7eef86)
Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
|
|
|
|
|
|
|
| |
(GH-14975) (GH-14984)
(cherry picked from commit 6b5f1b496f0b20144592b640b9c975df43a29eb0)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
|
|
|
|
|
| |
The boxes for the font and highlight samples are now constrained by the overall config dialog size. They gain scrollbars when the when a large font size makes the samples too large for the box.
(cherry picked from commit 3221a63c69268a9362802371a616f49d522a5c4f)
Co-authored-by: Tal Einat <taleinat+github@gmail.com>
|
|
|
| |
(cherry picked from commit 1ed915e8ae3cc59ad8f7a8eaccb94f27f19b10a6)
|
|
|
|
|
| |
(cherry picked from commit 46ebd4a6a22431ce9676546d2bbe5a6dcd1cc1c1)
Co-authored-by: Tal Einat <taleinat@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 91e49575095ca16d1b67dd8822deeb7885e421da)
Co-authored-by: Derek Keeler <d3r3kk@users.noreply.github.com>
|
| |
|
|
|
|
|
| |
(cherry picked from commit b1eb20e68e30c8ab128f9d63d622f0a8b49dcf34)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Previously, pyc files in the embeddable distribution reported their
location as <build path>/<file stem>.py. This causes a little confusion
when interpreting stack traces as the file is in a (almost certainly)
incorrect location, and lacks the full relative path to Lib (e.g.
email/mime/image.py will only show image.py).
This change preserves the Lib relative location of the source file as a
path so that stack traces are (hopefully) less misleading and more
informative.
Co-Authored-By: Kyle Stanley <aeros167@gmail.com>
(cherry picked from commit c4cda4369f4b8f33082890d16dfc364a90658ef6)
Co-authored-by: Bill Collins <bilbocollins@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-14947)
Prior to this change the guard on an 'elif' used an assignment expression whose value was used in a later 'else' block, causing some confusion for people.
(Discussion on Twitter: https://twitter.com/brettsky/status/1153861041068994566.)
Automerge-Triggered-By: @brettcannon
(cherry picked from commit 544fa15ea1b7b73068319bdb217b684e2fd7bacc)
Co-authored-by: Tzu-ping Chung <uranusjr@gmail.com>
|
|
|
|
|
|
|
| |
correctly (GH-14593)
(cherry picked from commit 898318b53d921298d1f1fcfa0f415844afbeb318)
Co-authored-by: Markus Mohrhard <markus.mohrhard@googlemail.com>
|
|
|
|
|
|
|
| |
rather than listdir. (14942)
(cherry picked from commit 93e8aa62cfd0a61efed4a61a2ffc2283ae986ef2)
Co-authored-by: Benjamin Peterson <benjamin@python.org>
|
|
|
|
|
| |
(cherry picked from commit 123536fdab7b8def15c859aa70232bc55ec73096)
Co-authored-by: Steve Dower <steve.dower@python.org>
|
|
|
|
|
| |
(cherry picked from commit 5380def8269b24a8a3bc46396373a1dc91b1dd1a)
Co-authored-by: Pradyun Gedam <pradyunsg@gmail.com>
|
|
|
|
|
|
| |
(GH-14856) (GH-14936)
* bpo-37399: Correctly attach tail text to the last element/comment/pi, even when comments or pis are discarded.
Also fixes the insertion of PIs when "insert_pis=True" is configured for a TreeBuilder.
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-14867) (GH-14935)
* Fix the formatting in the documentation of the tostring() functions.
* bpo-34160: Document that the tostring() and tostringlist() functions also preserve the attribute order now.
* bpo-34160: Add an explanation of how users should deal with the attribute order.
(cherry picked from commit a3697db0102b9b6747fe36009e42f9b08f0c1ea8)
Co-authored-by: Stefan Behnel <stefan_ml@behnel.de>
|
|
|
|
|
|
|
|
| |
(cherry picked from commit 2f224a077a83ac9de8a12bb7dcc516642b8176d8)
Co-authored-by: Brett Cannon <54418+brettcannon@users.noreply.github.com>
Automerge-Triggered-By: @brettcannon
|
|
|
|
|
|
| |
Verify that it appears to find roughly the right number of tests in the stdlib's testsuite.
(cherry picked from commit e95ac20103437d8099fb91cd4468ab030852f3b7)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
| |
(cherry picked from commit f0807ab24cbd13163bff7e0de3a97fe83584b80d)
Co-authored-by: Gregory P. Smith <greg@krypto.org>
|
|
|
|
|
|
| |
Stop depending on tkinter import *.
(cherry picked from commit c6fd6c83b70df76421d05a7628367e64a2f83589)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
| |
(cherry picked from commit 7123ea009b0b004062d91f69859bddf422c34ab4)
Co-authored-by: Tal Einat <taleinat@gmail.com>
|
|
|
|
| |
(GH-13781) (#14782)
|
|
|
|
|
| |
(cherry picked from commit 1ebee37dde5c2aabc8e2d2c7bbe2a69b293133bb)
Co-authored-by: Tal Einat <taleinat@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Reduce the number of unit tests run for the PGO generation task. This
speeds up the task by a factor of about 15x. Running the full unit test
suite is slow. This change may result in a slightly less optimized build
since not as many code branches will be executed. If you are willing to
wait for the much slower build, the old behavior can be restored using
'./configure [..] PROFILE_TASK="-m test --pgo-extended"'. We make no
guarantees as to which PGO task set produces a faster build. Users who
care should run their own relevant benchmarks as results can depend on
the environment, workload, and compiler tool chain.
(cherry picked from commit 4e16a4a3112161a5c6981c0588142d4a4673a934)
Co-authored-by: Neil Schemenauer <nas-github@arctrix.com>
|
|
|
|
|
| |
concurrent.futures module. (GH-14905) (GH-14906)
(cherry picked from commit d309352c6fd93a51f2b3011ca8c2125d3a5d394b)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with attach_mock (GH 14688) (GH-14902)
* Clear name and parent of mock in autospecced objects used with attach_mock
* Add NEWS entry
* Fix reversed order of comparison
* Test child and standalone function calls
* Use a helper function extracting mock to avoid code duplication and refactor tests.
(cherry picked from commit 7397cda99795a4a8d96193d710105e77a07b7411)
Co-authored-by: Xtreak <tir.karthi@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 96e12d5f4f3c5a20986566038ee763dff3c228a1)
Co-authored-by: Min ho Kim <minho42@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit b530a4460b7a6ea96f1fa81a7c5bb529ead574ef)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 4214f1ec3b3c73badd639229eff81eb5e57b82ec)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
| |
Repeat the command line arguments most recently entered before so the user can edit them.
(cherry picked from commit 35b87e6001bd991f625abe305951c77ddeb9a9c5)
Co-authored-by: Ngalim Siregar <ngalim.siregar@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit 8e3a7380ecb310b50e48f47d1f26190cc9c45eb6)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
| |
consistency and appease linters (GH-14888) (GH-14889)
(cherry picked from commit 1c0e9bb94b8cfb5970532a9f3499563360ea5532)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
|
|
|
|
| |
(cherry picked from commit 22f0483d44b13140f6ea9927f0cf088c493e875a)
Co-authored-by: Ned Deily <nad@python.org>
|
|
|
|
| |
(GH-14871) (GH-14875)
|
|
|
|
|
| |
(cherry picked from commit af2f5b1723b95e45e1f15b5bd52102b7de560f7c)
Co-authored-by: Sergey Fedoseev <fedoseev.sergey@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit eed5e9a9562d4dcd137e9f0fc7157bc3373c98cc)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
|
|
|
|
|
|
| |
(GH-14858)
(cherry picked from commit 8dbe563aa6bd18b8c581951537dfb406d36e8063)
Co-authored-by: Raymond Hettinger <rhettinger@users.noreply.github.com>
|
|
|
|
|
|
|
|
| |
Move the Editors and IDE section out of the Unix section, to its own section.
https://bugs.python.org/issue37610
(cherry picked from commit 8f040b7a9f442e7c2605ef1cad9c6b5eb7dd7af7)
Co-authored-by: aldwinaldwin <aldwinaldwin@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
| |
(GH-14821) (#14846)
Eliminate delay of up to 100ms and accompanying visual artifact.
Fix bug of never showing context when hide and show.
(cherry picked from commit e0a1f8fb5c60886dbddf1a3ccb5d47576bdd43e2)
Co-authored-by: Tal Einat <taleinat@gmail.com>
|
|
|
|
|
|
|
|
| |
17763.615 (GH-14460)
A bug in MSVC UCRT version 17763.615 (which has been fixed in newer versions) is causing test failures in some strptime/strftime tests when the default code page is c65001. This change selectively skips the tests affected by this.
(cherry picked from commit 9cd39b16e2655f748f7aa8d20bca4812da00ba70)
Co-authored-by: Paul Monson <paulmon@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
| |
(GH-14829)
Add two indent spec methods from editor and Rstrip to existing file.
Tests are not added for indent methods because they need change
in lights of 3.x's prohibition on mixing tabs and spaces.
(cherry picked from commit 1b3892243433da7eae7f5f3a4f98f13d309c8926)
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
|
|
|
|
|
|
|
| |
This exception was caused because the input ended unexpectedly with only one
single quote instead of a pair with some value inside it.
(cherry picked from commit 719a062bcb7b08a56e6576dcd75f4244e6053209)
Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(GH-14794)
* bpo-37461: Fix infinite loop in parsing of specially crafted email headers.
Some crafted email header would cause the get_parameter method to run in an
infinite loop causing a DoS attack surface when parsing those headers. This
patch fixes that by making sure the DQUOTE character is handled to prevent
going into an infinite loop.
(cherry picked from commit a4a994bd3e619cbaff97610a1cee8ffa87c672f5)
Co-authored-by: Abhilash Raj <maxking@users.noreply.github.com>
|
|
|
|
|
|
|
| |
Rename paragraph.py to format.py and add region formatting methods
from editor.py. Add tests for the latter.
(cherry picked from commit 82494aa6d947c4a320c09c58fe0f100cdcf7af0b)
Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* Only create CodeContext instances for "real" editors windows, but
not e.g. shell or output windows.
* Remove configuration update Tk event fired every second, by having
the editor window ask its code context widget to update when
necessary, i.e. upon font or highlighting updates.
* When code context isn't being shown, avoid having a Tk event fired
every 100ms to check whether the code context needs to be updated.
* Use the editor window's getlineno() method where applicable.
* Update font of the code context widget before the main text widget
(cherry picked from commit 7036e1de3a87d36c7ef41b8a2b44ed6fc4d34be2)
Co-authored-by: Tal Einat <taleinat@gmail.com>
|
|
|
|
|
| |
(cherry picked from commit bd26a4466b507e196fc9a5e4a6cb7cd6d39f85aa)
Co-authored-by: Joseph Fox-Rabinovitz <madphysicist@users.noreply.github.com>
|