summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Fix typos in comments, docs and test names (#15018)Min ho Kim2019-07-3063-73/+73
| | | | | | | | | | | | | | | | | | | | | | | | * Fix typos in comments, docs and test names * Update test_pyparse.py account for change in string length * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: splitable -> splittable Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Apply suggestion: Dealloccte -> Deallocate Co-Authored-By: Terry Jan Reedy <tjreedy@udel.edu> * Update posixmodule checksum. * Reverse idlelib changes.
* Fix idlelib typos discovered by min ho, pr 15018. (GH-15029)Terry Jan Reedy2019-07-306-9/+9
|
* bpo-36084: Add threading Native ID information to What's New documentation ↵Jake Tesler2019-07-302-5/+13
| | | | (GH-14845)
* Don't skip pickle check_frame_opcodes() (GH-15025)Neil Schemenauer2019-07-301-1/+0
| | | | This looks like the only place that proto 4 framing gets exercised so leave it as part of the PGO task.
* bpo-37707: Exclude expensive unit tests from PGO task (GH-15009)Neil Schemenauer2019-07-308-0/+24
| | | | | Mark some individual tests to skip when --pgo is used. The tests marked increase the PGO task time significantly and likely don't help improve optimization of the final executable.
* bpo-37704: Remove Tools/scripts/h2py.py (GH-15000)Victor Stinner2019-07-304-173/+2
| | | Use cffi to access a C API in Python.
* bpo-37587: Make json.loads faster for long strings (GH-14752)Marco Paolini2019-07-302-1/+2
| | | | | | | | | | When scanning the string, most characters are valid, so checking for invalid characters first means never needing to check the value of strict on valid strings, and only needing to check it on invalid characters when doing non-strict parsing of invalid strings. This provides a measurable reduction in per-character processing time (~11% in the pre-merge patch testing).
* bpo-37268: Add deprecation notice and a DeprecationWarning for the parser ↵Pablo Galindo2019-07-305-4/+25
| | | | | | | | | | | | | | | module (GH-15017) Deprecate the parser module and add a deprecation warning triggered on import and a warning block in the documentation. https://bugs.python.org/issue37268 Automerge-Triggered-By: @pablogsal
* bpo-34162: Update idlelib/news.txt. (#15011)Terry Jan Reedy2019-07-291-0/+24
|
* bpo-37706: Disable 3 IDLE scrollbar tests on Mac. (#15010)Terry Jan Reedy2019-07-291-7/+29
| | | They pass with tk 8.5.9 (Azure) but fail with the 8.6.x we install.
* Fix publishing of Windows release (GH-15006)Steve Dower2019-07-292-1/+5
|
* Add additional test for multi-line SyntaxError (GH-15003)Anthony Sottile2019-07-291-0/+16
|
* Fix `SyntaxError` indicator printing too many spaces for multi-line strings ↵Anthony Sottile2019-07-293-0/+17
| | | | (GH-14433)
* bpo-36044: Avoid warnings in Windows PGO build and add lzma, bz2 and sqlite ↵Steve Dower2019-07-293-0/+5
| | | | | | | | | coverage (GH-14985) https://bugs.python.org/issue36044 Automerge-Triggered-By: @zooba
* bpo-37697: Sync with importlib_metadata 0.19 (#14993)Jason R. Coombs2019-07-287-794/+841
| | | | | | | | * bpo-37697: Sync with importlib_metadata 0.19 * Run make regen-importlib * 📜🤖 Added by blurb_it.
* bpo-37692: Improve highlight config sample (#14983)Terry Jan Reedy2019-07-282-18/+19
| | | Use an example shell interaction in the sample and better labels for shell elements.
* Remove trailing .0 from version changed note (GH-14987)Nick Coghlan2019-07-281-1/+1
|
* bpo-37691: Let math.dist() accept sequences and iterables for coordinates ↵Raymond Hettinger2019-07-275-20/+47
| | | | (GH-14975)
* bpo-37628: Fix IDLE config sample sizes (#14958)Tal Einat2019-07-275-51/+129
| | | | 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.
* Add Qt GUI example to the logging cookbook. (GH-14978)Vinay Sajip2019-07-271-0/+213
|
* bpo-17535: Increase line number horizontal padding by 2 pixels (GH-14959)Tal Einat2019-07-271-1/+1
|
* bpo-32910: Remove implementation detail in venv documentation. (GH-14968)Derek Keeler2019-07-262-4/+3
|
* bpo-35524: Update Windows installer image in docs (GH-14966)Steve Dower2019-07-261-0/+0
|
* bpo-37664: Update regex for ignoring cache warning on some buildbots (GH-14960)Steve Dower2019-07-261-2/+3
|
* bpo-37340: remove free_list for bound method objects (GH-14232)Inada Naoki2019-07-265-101/+14
|
* bpo-29446: tkinter 'import *' only imports what it should (GH-14864)Flavian Hautbois2019-07-2612-15/+52
| | | | Add __all__ to tkinter.__init__ and submodules. Replace 'import *' with explicit imports in some submodules.
* bpo-37641 preserve relative file location in embeddable zip (GH-14884)Bill Collins2019-07-251-6/+5
| | | | | | | | | | | | | | 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>
* Swap 'if' branches so content matches to condition in importlib example ↵Tzu-ping Chung2019-07-251-3/+3
| | | | | | | | | (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
* bpo-37502: handle default parameter for buffers argument of pickle.loads ↵Markus Mohrhard2019-07-253-1/+7
| | | | correctly (GH-14593)
* closes bpo-37675: Use pkgutil.iter_modules to find fixers in a package ↵Benjamin Peterson2019-07-242-4/+5
| | | | rather than listdir. (14942)
* bpo-37672: Switch Windows Store package to use pip.ini for user mode (GH-14939)Steve Dower2019-07-244-35/+50
|
* Remove duplicate call to strip method in Parser/pgen/token.py (GH-14938)Hansraj Das2019-07-241-6/+2
|
* bpo-37664: Update bundled pip to 19.2.1 and setuptools to 41.0.1 (GH-14934)Pradyun Gedam2019-07-244-2/+3
|
* bpo-34160: explain how to deal with attribute order in ElementTree (GH-14867)Stefan Behnel2019-07-241-2/+40
| | | | | | | * 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.
* bpo-37399: Correctly attach tail text to the last element/comment/pi (GH-14856)Stefan Behnel2019-07-242-24/+124
| | | | * 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.
* bpo-29548: deprecate PyEval_Call* functions (GH-14804)Jeroen Demeyer2019-07-242-10/+13
|
* bpo-37667: Add regression test for regrtest. (GH-14929)Gregory P. Smith2019-07-241-0/+26
| | | Verify that it appears to find roughly the right number of tests in the stdlib's testsuite.
* Only setup PGO tests when --pgo is enabled. (GH-14927)Gregory P. Smith2019-07-241-2/+3
|
* Touch up venv docs (GH-14922)Brett Cannon2019-07-231-21/+26
|
* bpo-29446: IDLE -- add explicit imports (GH-14919)Terry Jan Reedy2019-07-231-0/+2
| | | Stop depending on tkinter import *.
* bpo-37653: Fix libinstall target in Makefile (GH-14911)Erlend Egeberg Aasland2019-07-231-2/+0
|
* bpo-17535: IDLE editor line numbers (GH-14030)Tal Einat2019-07-2318-80/+891
|
* bpo-33610: validate non-negative integer inputs in IDLE's config (GH-14822)Tal Einat2019-07-231-7/+31
|
* bpo-36044: Reduce number of unit tests run for PGO build (GH-14702)Neil Schemenauer2019-07-227-4/+96
| | | | | | | | | | | | 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.
* Update logging cookbook to show multiple worker processes using the ↵Vinay Sajip2019-07-221-0/+35
| | | | concurrent.futures module. (#14905)
* bpo-21478: Record calls to parent when autospecced objects are used as child ↵Xtreak2019-07-223-11/+55
| | | | | | | | | | | | | | with attach_mock (GH 14688) * 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.
* Add examples to elucidate the formulas (GH-14898)Raymond Hettinger2019-07-211-6/+10
|
* bpo-37627: Add acknowledgment (#14883)Terry Jan Reedy2019-07-211-0/+1
|
* Fix typos in docs, comments and test assert messages (#14872)Min ho Kim2019-07-2121-24/+24
|
* Fix typo found by Min ho Kim (#14879)Terry Jan Reedy2019-07-211-1/+1
|