summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-23544: Disable IDLE Stack Viewer when running user code (GH-17163) (#24366)Miss Islington (bot)2021-01-296-5/+37
| | | | | | | | Starting stack viewer when user code is running, including when Debugger is active, hangs or crashes IDLE. Co-authored-by: Zackery Spytz <zspytz@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 23a567c11ca36eedde0e119443c85cc16075deaf)
* bpo-29076: Add fish support to macOS installer (GH-23302) (GH-23938)Miss Islington (bot)2021-01-282-1/+18
| | | | | | (cherry picked from commit 7f162e867c674f57c308a87fffcdcca3540c8933) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-43008: Make IDLE respect sys.excepthook (GH-24302)Miss Islington (bot)2021-01-275-13/+63
| | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 7a34380ad788886f5ad50d4175ceb2d5715b8cff) Co-authored-by: Ken <kenny2minecraft@gmail.com>
* [3.8] bpo-41841: Prepare IDLE NEWS for 3.8.8 (GH-24344)Terry Jan Reedy2021-01-261-2/+6
|
* [3.8] bpo-42383: pdb: do not fail to restart the target if the current ↵Andrey Bienkowski2021-01-262-0/+25
| | | | directory changed (GH-23412) (#24323)
* [3.8] bpo-42384: pdb: correctly populate sys.path[0] (GH-23338) (#24320)Andrey Bienkowski2021-01-253-1/+45
|
* bpo-43013: Fix old tkinter module names in idlelib (GH-24326)Miss Islington (bot)2021-01-2513-67/+66
| | | | | | | | Lowercase 'tkColorChooser', 'tkFileDialog', 'tkSimpleDialog', and 'tkMessageBox' and remove 'tk'. Just lowercase 'tkFont' as 'font' is already used. Adjust import. (cherry picked from commit 879986d8a932c4524cb6ff822afc9537de16e28d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.9] bpo-33289: Return RGB triplet of ints instead of floats from ↵Miss Islington (bot)2021-01-255-26/+102
| | | | | | | | | | tkinter.colorchooser (GH-6578). (GH-24318) (cherry picked from commit 6713e869c4989c04318158b406c30a147ea52904) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> (cherry picked from commit 3d5434d5cbc945c58be663e3dbd5ef4875677b7a) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-43013: Update idlelib code to 3.x (GH-24315) (#24317)Miss Islington (bot)2021-01-2410-47/+49
| | | | | | Remove 9 remaining '(object)' occurrences in class headers in idlelib and 25 '()' occurrences in idlelib.idle_test class headers. (cherry picked from commit 8dfe15625e6ea4357a13fec7989a0e6ba2bf1359) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* closes bpo-43011: Fix DeprecationWarnings in test_ctypes (GH-24305)Miss Islington (bot)2021-01-231-2/+2
| | | | | (cherry picked from commit f7fa64f0e87edc61d990ed51b4da722906a10928) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-40304: Correct type(name, bases, dict) doc (GH-19553)Miss Islington (bot)2021-01-222-8/+11
| | | | | | | | Co-authored-by: Éric Araujo <merwok@netwok.org> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> Co-authored-by: Tal Einat <532281+taleinat@users.noreply.github.com> (cherry picked from commit 644d52818a6391535e5838fd57d58ffcb1163056) Co-authored-by: Борис Верховский <boris.verk@gmail.com>
* bpo-42780: Fix set_inheritable() for O_PATH file descriptors on Linux ↵cptpcrd2021-01-213-0/+35
| | | | | (GH-24172) (GH-24277) (cherry picked from commit 7dc71c425cf6aa6a4070a418dce5d95ca435c79f)
* Fix typos in unittest documentation (GH-24194)Miss Islington (bot)2021-01-201-3/+3
| | | | | | | * addCleanupClass -> addClassCleanup * doCleanupsClass -> doClassCleanups (cherry picked from commit e0e398ef1855f3db708c682f70adc412f0877d59) Co-authored-by: Conchylicultor <etiennefg.pot@gmail.com>
* bpo-36769: Document that fnmatch.filter supports any kind of iterable (GH-13039)Miss Islington (bot)2021-01-202-2/+2
| | | | | (cherry picked from commit e8d22642105d57007ab1242848a8cbadc7f179df) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-42005: profile and cProfile catch BrokenPipeError (GH-22643)Miss Islington (bot)2021-01-203-2/+14
| | | | | (cherry picked from commit 3554fa4abecfb77ac5fcaa5ce8310eeca5683960) Co-authored-by: Zhiming Wang <i@zhimingwang.org>
* closes bpo-42938: Replace snprintf with Python unicode formatting in ctypes ↵Miss Islington (bot)2021-01-183-32/+64
| | | | | | | | | param reprs. (GH-24248) (cherry picked from commit 916610ef90a0d0761f08747f7b0905541f0977c7) Co-authored-by: Benjamin Peterson <benjamin@python.org> Co-authored-by: Benjamin Peterson <benjamin@python.org>
* [3.8] bpo-42531: Teach importlib.resources.path to handle packages without ↵William Schwartz2021-01-163-3/+18
| | | | | | | | | __file__ (GH-23611) Fixes [bpo-42531]() for Python 3.8. The issue also applies to 3.7. If this PR looks like it'll be accepted, I can cherry-pick it to the 3.7 branch and submit a follow-up PR. Automerge-Triggered-By: GH:jaraco
* [3.8] bpo-40052: Fix alignment issue in PyVectorcall_Function() (GH-23999) ↵Petr Viktorin2021-01-123-4/+7
| | | | | | | | | | (GH-24120) Co-Authored-By: Andreas Schneider <asn@cryptomilk.org> Co-Authored-By: Antoine Pitrou <antoine@python.org>. Co-authored-by: Petr Viktorin <encukou@gmail.com> (cherry picked from commit 056c08211b402b4dbc1530a9de9d00ad5309909f) https://bugs.python.org/issue40052
* bpo-33065: Fix problem debugging user classes with __repr__ method (GH-24183)Miss Islington (bot)2021-01-104-3/+20
| | | | | | | | If __repr__ uses instance attributes, as normal, and one steps through the __init__ method, debugger may try to get repr before the instance attributes exist. reprlib.repr handles the error. (cherry picked from commit 81f87bbf9f65702062021a78abd9b8f82c98a414) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-42811: Update importlib.utils.resolve_name() docs to use __spec__.parent ↵Miss Islington (bot)2021-01-072-1/+3
| | | | | | | | (GH-24100) (GH-24144) Automerge-Triggered-By: GH:brettcannon (cherry picked from commit ff8458b918050168acda1ad6d079f52b8effa821) Co-authored-by: Yair Frid <fridyair@gmail.com>
* bpo-42584: Update Windows installer to use SQLite 3.34.0 (GH-23675)Steve Dower2021-01-064-3/+4
| | | Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-42755: Fix sqlite3.Connection.backup docs (GH-23965)Miss Islington (bot)2021-01-061-1/+1
| | | | | | The `pages` argument default value now reflects the implementation. (cherry picked from commit abba83b4b91f78dc556dc0b7700ecb46cba22c01) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* bpo-38413: Remove outdated section about multithreading in sqlite3 (GH-23159)Miss Islington (bot)2021-01-061-13/+0
| | | | | (cherry picked from commit f9949f82e17c88609adb53eff3a7d5cd63a645bd) Co-authored-by: Vladimir <greatvovan@gmail.com>
* bpo-41837: Updated Windows installer to include OpenSSL 1.1.1i (GH-24125)Steve Dower2021-01-064-5/+6
|
* [3.8] bpo-42584: Update macOS installer to use SQLite 3.34.0 (GH-23674). ↵Erlend Egeberg Aasland2021-01-052-3/+4
| | | | | | | | | (GH-24129) (cherry picked from commit c94ee13ad596d26d1859078bc09806aa59bb0000) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> Automerge-Triggered-By: GH:ned-deily
* [3.8] [3.9] bpo-42681: Fix test_curses failures related to color pairs ↵Serhiy Storchaka2021-01-052-15/+44
| | | | | | | | | | (GH-24089) (GH-24113) (GH-24116) On ncurses 6.1 pair numbers are limited by SHORT_MAX-1. Improve error reporting and tests for color functions. (cherry picked from commit 59f9b4e4509be67494f3d45489fa55523175ff69) (cherry picked from commit 9b3a53a8264d4c469a3f3d8c037e74c010be3e5c)
* [3.8] bpo-32631: IDLE: Enable zzdummy example extension module (GH-14491)Terry Jan Reedy2021-01-056-31/+227
| | | | | | | | | Make menu items work with formatter, add docstrings, add 100% tests. Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit e40e2a2cc94c554e7e245a8ca5a7432d31a95766)
* Fix broken NEWS markup (GH-24110)Miss Islington (bot)2021-01-051-1/+1
| | | | | (cherry picked from commit cde988e893793f58bf87e7a8c014926fd2e32904) Co-authored-by: Brandt Bucher <brandtbucher@gmail.com>
* bpo-42508: Keep IDLE running on macOS (GH-23577) (#23670)Miss Islington (bot)2021-01-053-19/+14
| | | | | | | | Remove obsolete workaround that prevented running files with shortcuts when using new universal2 installers built on macOS 11. Ignore buggy 2nd run_module_event call. (cherry picked from commit 57e511361047895231f5ee7abfdfbbc60e11d2db) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-40810: Fix CheckTraceCallbackContent for SQLite pre 3.7.15 (GH-20530)Miss Islington (bot)2021-01-042-0/+9
| | | | | | | Ref. [SQLite 3.7.15 changelog](https://sqlite.org/changes.htmlGH-version_3_7_15): _"Avoid invoking the sqlite3_trace() callback multiple times when a statement is automatically reprepared due to SQLITE_SCHEMA errors."_ (cherry picked from commit f7f0ed59bcc41ed20674d4b2aa443d3b79e725f4) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* Do not remove x bit from published directories (GH-24101)Miss Islington (bot)2021-01-041-2/+2
| | | | | (cherry picked from commit af4cd16479f2d55bee3db899e7679d7cde1d2ab7) Co-authored-by: Steve Dower <steve.dower@python.org>
* Revert "[3.8] [doc] Fix erroneous backslashes in signatures and names ↵Julien Palard2021-01-049-11/+11
| | | | | | | | (GH-23658)" (GH-24093) This partially reverts commit 02349e2dc9d93202c658ae383b2de2e36b2366f8, which was removing backslashes in documentations compiled with Sphinx < 3, used for Python 3.8 and 3.9 docs.
* bpo-41837: Update macOS installer build to use OpenSSL 1.1.1i. (GH-24080) ↵Miss Islington (bot)2021-01-042-3/+4
| | | | | | | | (#24084) (cherry picked from commit 14097a2785414c728d41d8d730a469a8c46ecdb9) Co-authored-by: Ned Deily <nad@python.org>
* Update Sphinx version for macOS installer build. (GH-24082) (GH-24088)Miss Islington (bot)2021-01-041-1/+0
| | | | | | (cherry picked from commit 0f3b96b368dd7ebb5dcd3759a30322dbd027f292) Co-authored-by: Ned Deily <nad@python.org>
* [3.8] [3.9] bpo-42681: Fix range checks for color and pair numbers in curses ↵Serhiy Storchaka2021-01-045-61/+157
| | | | | | | (GH-23874). (GH-24077) (GH-24079) (cherry picked from commit 1470edd6131c29b8a09ce012cdfee3afa269d553) (cherry picked from commit b0ee2b492dbf550fbd2a63b82de0a4dc9d67f32e)
* [3.8] [3.9] bpo-42789: Don't skip curses tests on non-tty. (GH-24009) ↵Serhiy Storchaka2021-01-031-39/+63
| | | | | | | | | | | (GH-24076) (GH-24078) If __stdout__ is not attached to terminal, try to use __stderr__ if it is attached to terminal, or open the terminal device, or use regular file as terminal, but some functions will be untested in the latter case. (cherry picked from commit 607501abb488fb37e33cf9d35260ab7baefa192f) (cherry picked from commit 0303008ebceb6ac6035cd9722d1393267304171d)
* bpo-42809: Improve pickle tests for recursive data. (GH-24060)Miss Islington (bot)2021-01-021-87/+253
| | | | | (cherry picked from commit a25011be8c6f62cb3333903befe6295d57f0bd30) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.8] bpo-26407: Do not mask errors in csv. (GH-20536) (GH-24021)Serhiy Storchaka2021-01-013-9/+30
| | | | | | | Unexpected errors in calling the __iter__ method are no longer masked by TypeError in csv.reader(), csv.writer.writerow() and csv.writer.writerows(). (cherry picked from commit c88239f864a27f673c0f0a9e62d2488563f9d081)
* [3.8] bpo-39068: Fix race condition in base64 (GH-17627) (GH-24022)Serhiy Storchaka2021-01-013-2/+5
| | | | | | | There was a race condition in base64 in lazy initialization of multiple globals. (cherry picked from commit 9655434cca5dfbea97bf6d355aec028e840b289c) Co-authored-by: Brandon Stansbury <brandonrstansbury@gmail.com>
* [3.8] bpo-36589: Fix the error handling in curses.update_lines_cols(). ↵Serhiy Storchaka2021-01-013-21/+26
| | | | | | | | | (GH-12766) (GH-24023) Return None instead of 1. (cherry picked from commit 2bc343417a4de83fa6998ff91303877734ecd366) Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* [3.8] bpo-42425: Fix possible leak in initialization of errmap for OSError ↵Serhiy Storchaka2021-01-011-1/+3
| | | | | | (GH-23446). (GH-24025) (cherry picked from commit ed1007c0d74e658d1e6c9b51b12ce7501eb8cbf9)
* [3.8] bpo-42759: Fix equality comparison of Variable and Font in Tkinter ↵Serhiy Storchaka2021-01-015-12/+38
| | | | | | | | (GH-23968) (GH-24026) Objects which belong to different Tcl interpreters are now always different, even if they have the same name. (cherry picked from commit 1df56bc0597a051c13d53514e120e9b6764185f8)
* Bring Python into the new year. (GH-24036)Miss Islington (bot)2021-01-019-10/+10
| | | | | (cherry picked from commit de6f20a6de48d63066b2cf5b317f50629f01d74a) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* bpo-42794: Update test_nntplib to use offical group name for testing (GH-24037)Miss Islington (bot)2021-01-012-3/+9
| | | | | (cherry picked from commit ec3165320e81ac87edcb85c86c452528ddbaec1c) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* Fixes a typo in importlib.metadata. (GH-23921) (#24030)Miss Islington (bot)2020-12-311-2/+2
| | | | | | | | Signed-off-by: Tao He <sighingnow@gmail.com> (cherry picked from commit 3631d6deab064de0bb286ef2943885dca3c3075e) Co-authored-by: Tao He <sighingnow@gmail.com> Co-authored-by: Tao He <sighingnow@gmail.com>
* [3.8] bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861). (GH-24016)Andre Delfino2020-12-311-0/+6
| | | | (cherry picked from commit 2edfc86f69d8a74f4821974678f664ff94a9dc22)
* Allow / character in username,password fields in _PROXY envvars. (GH-23973) ↵Miss Islington (bot)2020-12-293-2/+15
| | | | | | | (#23992) (cherry picked from commit 030a713183084594659aefd77b76fe30178e23c8) Co-authored-by: Senthil Kumaran <senthil@uthcode.com>
* bpo-42700: Swap descriptions in pyexpat.errors (GH-23876)Miss Islington (bot)2020-12-291-2/+2
| | | | | | | | | The descriptions of the `codes` and `messages` dictionaries in `xml.parsers.expat.errors` were swapped, and this commit swaps them back. For example, `codes` maps string descriptions of errors to numeric error codes, not the other way around. (cherry picked from commit 84402eb11086f97d31164aaa23e7238da3464f41) Co-authored-by: Michael Wayne Goodman <goodman.m.w@gmail.com>
* [doc] Fix missing commas in signatures (GH-23693)Miss Islington (bot)2020-12-292-3/+3
| | | | | | | | * Fix star in signatures * Fix comma in signatures (cherry picked from commit 60eccd095624f39195cc5ae0b49a59022bbbb028) Co-authored-by: Andre Delfino <adelfino@gmail.com>
* bpo-42749: Use dynamic version to test for unsupported bignum in Tk (GH-23966)Miss Islington (bot)2020-12-291-1/+1
| | | | | | | Tk can internally support bignum even if Tkinter is built without support of bignum. (cherry picked from commit 156b7f7052102ee1633a18e9a136ad8c38f66db0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>