summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Python 3.10.6v3.10.6Pablo Galindo2022-08-0186-151/+832
|
* gh-95511: IDLE - fix Shell context menu copy-with-prompts bug (GH-95512)Miss Islington (bot)2022-08-014-15/+19
| | | | | | | | | If one selects whole lines, as the sidebar makes easy, do not add an extra line. Only move the end of a selection to the beginning of the next line when not already at the beginning of a line. (Also improve the surrounding code.) (cherry picked from commit fc31a13dc1799b8d972c1f4ea49f27090aed7f48) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* IDLE: Fix docs URL in the About window (GH-28417)Miss Islington (bot)2022-07-311-2/+3
| | | | | (cherry picked from commit 0f17a754d925345d67beff18897d86780436c506) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* [3.10] bpo-46053: Fix OSS audio support on NetBSD (GH-30065). (GH-95477)Thomas Klausner2022-07-313-0/+82
| | | | | (cherry picked from commit 2e7e3c4c109928870c1e33d8af36b78e92895594) Co-authored-by: Thomas Klausner <tk@giga.or.at>
* [3.10] gh-94635: Add Reference, How-to, and Explanation headings to sqlite3 ↵Erlend Egeberg Aasland2022-07-311-96/+120
| | | | | | | | | | docs (GH-94636) (#95483) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit 6c439b978bf55b29f21c595e9375202d63c8208d) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> * Fix refs
* gh-95471: IDLE - Tweak Edit menu (GH-95481)Miss Islington (bot)2022-07-313-1/+7
| | | | | | Move `Select All` above `Cut` as it is used with `Cut` and `Copy` but not `Paste`. Add a separator between `Replace` and `Go to Line` to separate items that belong to the 'Edit-find' (above) and 'Edit-show' (below) IDLE github project topics. (cherry picked from commit 53357b3ee53d767c2da5cd77f9c47117903e9a44) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.10] gh-90654: IDLE - Insert blank line in NEWS.txt (#95479)Terry Jan Reedy2022-07-301-0/+1
| | | | | Needed for backports. Cherrypicked from 9ec6abf6dc6ab622efda83a28d83d25ba129bbe2
* gh-94938: Fix test (GH-95396)Miss Islington (bot)2022-07-301-5/+0
| | | | | (cherry picked from commit 0956b6d9c44f66cc152c6afe22a3793e5b157cfd) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-95411: IDLE - Enable using the module browser with .pyw files (GH-95397)Miss Islington (bot)2022-07-304-9/+31
| | | | | | Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 7e19e417b5df765dabab8d6550ec0e9d897c573e) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-95273: Relocate sqlite3 enable load extension note (GH-95430)Miss Islington (bot)2022-07-291-12/+8
| | | | | (cherry picked from commit d92b19e1b500247f9a62b12b9da889b99fe333f6) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-95432: Fixup sqlite3 tutorial example (GH-95431)Miss Islington (bot)2022-07-291-5/+5
| | | | | | | - the insert statement should have five placeholders, not four - missing ... in the multiline row list (cherry picked from commit 2fbee85931296bbeddae6358583e400ce5321f89) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* [3.10] gh-95166: cancel map waited on future on timeout (GH-95169) (GH-95375)Łukasz Langa2022-07-293-2/+42
| | | | Co-authored-by: Thomas Grainger <tagrain@gmail.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* gh-95273: Improve sqlite3 class descriptions (GH-95379)Miss Islington (bot)2022-07-291-8/+34
| | | | | | Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit e003b64f40fa28954ec967024fa811adff6cffe7) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* gh-95273: Condense sqlite3 executescript example (GH-95383) (#95419)Miss Islington (bot)2022-07-292-27/+9
| | | | | (cherry picked from commit e9c8de669d40d993489981be2973d1ea5bd10d0c) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* gh-95273: Move sqlite3 executemany examples from reference to tutorial ↵Miss Islington (bot)2022-07-293-54/+26
| | | | | | | (GH-95351) (cherry picked from commit f0bf7956e60b452208f279146f928d71eb0aa11b) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* Improve documentation for adding datetime and timedelta (gh-95403) (gh-95409)Miss Islington (bot)2022-07-291-2/+2
| | | | | | | (cherry picked from commit 6e44bf9558dbcaffd78b7c4fc7f6b474388b4a9a) Co-authored-by: BenjaminHelyer <91896754+BenjaminHelyer@users.noreply.github.com> Co-authored-by: BenjaminHelyer <91896754+BenjaminHelyer@users.noreply.github.com>
* gh-89610: Add .pyi as a recognised extension for IDLE on macOS (GH-95393)Miss Islington (bot)2022-07-283-0/+5
| | | | | | | | This allows opening stub files by double clicking on them in the Finder. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit 06fc249135e5b98a74fc0213e157e80412354659) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-86128: Add warning to ThreadPoolExecutor docs about atexit behaviour ↵Miss Islington (bot)2022-07-282-0/+8
| | | | | | | (GH-94008) (cherry picked from commit 7df2f4d78714707cfb30d83ca99ce84ef9934892) Co-authored-by: [object Object] <lucas.wiman@gmail.com>
* gh-95355: Check tokens[0] after allocating memory (GH-95356)Miss Islington (bot)2022-07-282-1/+2
| | | | | | | | GH-95355 Automerge-Triggered-By: GH:pablogsal (cherry picked from commit b946f529efb4a623ac4ad968d8091edb81ebdcdb) Co-authored-by: Honglin Zhu <zhuhonglin.zhl@alibaba-inc.com>
* Docs: Fix refs & tweak wording in sqlite3 'Using shortcut methods' (#95358)Miss Islington (bot)2022-07-281-2/+3
| | | | | | Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit ea269b9a380a52828d4e401fa695737bcd699398) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* [3.10] GH-93899: fix checks for eventfd flags (GH-95170). (#95345)Kumar Aditya2022-07-283-10/+15
| | | | | (cherry picked from commit 4dd099bafff14639ef5d2185965016d8f253353f) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* [3.10] gh-94938: Fix errror detection of unexpected keyword arguments ↵Serhiy Storchaka2022-07-284-56/+110
| | | | | | | | | | | | | | | (GH-94999) (GH-95354) When keyword argument name is an instance of a str subclass with overloaded methods __eq__ and __hash__, the former code could not find the name of an extraneous keyword argument to report an error, and _PyArg_UnpackKeywords() returned success without setting the corresponding cell in the linearized arguments array. But since the number of expected initialized cells is determined as the total number of passed arguments, this lead to reading NULL as a keyword parameter value, that caused SystemError or crash or other undesired behavior.. (cherry picked from commit ebad53a4dc1bb591820724a22cef9b8459185b5f) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-95339: update bundled pip to 22.2.1 (gh-95340)Miss Islington (bot)2022-07-273-1/+2
| | | | | (cherry picked from commit 226d02bb109d08601fbccd645e9d67aee2e5bcdc) Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
* [3.10] gh-95273: Normalise sqlite3 reference wording (GH-95274) (#95330)Erlend Egeberg Aasland2022-07-271-42/+43
| | | | | | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit 2361908a9d5553102f2b2294af44852a76d2ab03) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
* gh-94630: Fixup sqlite3 argument spec docs for connection execute* methods ↵Miss Islington (bot)2022-07-271-5/+5
| | | | | | | (GH-95319) (cherry picked from commit 2b37395612ece0a8c37439801087ba9e2c56702f) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* GH-95045: gc untrack _lsprof.Profiler before deallocating it (GH-95315)Miss Islington (bot)2022-07-272-0/+2
| | | | | | Automerge-Triggered-By: GH:pablogsal (cherry picked from commit deacf391d7a1b3ab49bffa16088b3500fdb4c435) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* gh-95280: Fix test_get_ciphers on systems without RSA key exchange (GH-95282)Miss Islington (bot)2022-07-272-2/+16
| | | | | (cherry picked from commit 565403038b75eb64ea483b2757ba30769246d853) Co-authored-by: Christian Heimes <christian@python.org>
* gh-94635: Add sqlite3 'Introduction' and 'Tutorial' doc headings (GH-95269)Miss Islington (bot)2022-07-271-1/+11
| | | | | (cherry picked from commit 2e35a13e46663acf665da06267c54e66c7ecf18d) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-95291: Use import helper to improve sqlite3 audit tests (GH-95292)Miss Islington (bot)2022-07-261-4/+1
| | | | | | Now the tests are correctly reported as skipped if sqlite3 is not available. (cherry picked from commit 152eb90311fdf294510b5d077332580ba18c0ee4) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-95041: Fail syslog.syslog in case inner call to syslog.openlog fails ↵Miss Islington (bot)2022-07-261-1/+7
| | | | | | | (GH-95264) (cherry picked from commit b1f648efc56ff17e18ec2b7402d59a771b305004) Co-authored-by: Noam Cohen <noam@noam.me>
* [3.10] gh-95235: Add explicit parameter list to some sqlite3 methods ↵Erlend Egeberg Aasland2022-07-261-45/+87
| | | | | | | | (GH-95240) (#95268) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit 5012bedc7ca7d78b5a42bf60eef55bac263f4060) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-95041: Fix several minor issues in syslog.openlog() (GH-95058)Miss Islington (bot)2022-07-261-24/+33
| | | | | | | | | | | | | | * syslog_get_argv() swallows exceptions, but not in all cases. * if ident is non UTF-8 encodable, syslog.openlog() fails after setting the global reference to ident. Now the C string saved internally in the previous call to openlog() points to the freed memory. * PySys_Audit() can crash if ident is NULL. * There may be a race condition with syslog.syslog(), because the global reference to ident is decrefed before setting the new value. * Possible use of freed memory if syslog.openlog() is called while the GIL is released in syslog.syslog(). (cherry picked from commit 68c555a50a2b74731b0db0f4dcbf51b2c11d4853) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-95235: Document undocumented parameters in sqlite3 functions and methods ↵Miss Islington (bot)2022-07-251-13/+17
| | | | | | | | (GH-95236) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit ac6a94c669cba8c8384a61b4304c87cc83728335) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-95087: Fix IndexError in parsing invalid date in the email module (GH-95201)Miss Islington (bot)2022-07-254-23/+60
| | | | | | Co-authored-by: wouter bolsterlee <wouter@bolsterl.ee> (cherry picked from commit ea5ed0ba51c10cfdde7651a475438551964dfdfc) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* gh-95212: make multiprocessing test case parallel-safe (GH-95213)Miss Islington (bot)2022-07-252-1/+3
| | | | | (cherry picked from commit 5956de16cd00e7e1cf5cbf3d7b4a930eaa928321) Co-authored-by: Christian Heimes <christian@python.org>
* gh-95199: upgrade bundled setuptools to 63.2.0 (gh-95200)Miss Islington (bot)2022-07-244-1/+2
| | | | | (cherry picked from commit 3c94d3395edbcd299cbdacd09660ed88e654eeef) Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
* gh-95194: upgrade bundled pip to 22.2 (gh-95195)Miss Islington (bot)2022-07-244-1/+2
| | | | | | upgrade bundled pip to 22.2 (cherry picked from commit 068ffafa5465e9388a940692d1720266a1b37257) Co-authored-by: Stéphane Bidoul <stephane.bidoul@gmail.com>
* gh-93157: Fix fileinput didn't support `errors` in `inplace` mode (GH-95128)Miss Islington (bot)2022-07-243-3/+18
| | | | | (cherry picked from commit 5c7f3bcdafedd60a385e8ca5403bc6b0b7a862b3) Co-authored-by: Inada Naoki <songofacandy@gmail.com>
* Doc: Add omitted secondary prompt in inputoutput tutorial (GH-30317) (#95159)Miss Islington (bot)2022-07-231-1/+1
| | | | | | | | For the continuation lines, "..." should present as secondary prompt (cherry picked from commit de28ee8f755760fda13b481a34b1f326984d293a) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com> Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
* Fix copy-friendliness of tutorial example (GH-93424)Miss Islington (bot)2022-07-221-0/+1
| | | | | (cherry picked from commit 34d11f1b0c0e1936a37581e0fb0daec637afca47) Co-authored-by: Chenwei Xiao <chanvinxiao@163.com>
* Fix async method reference links in `compound_stmts` docs (GH-94935)Miss Islington (bot)2022-07-221-2/+2
| | | | | (cherry picked from commit 79d2f549adcbbefd4f2c0a0c9dd572bbbf252c62) Co-authored-by: July Tikhonov <july.tikh@gmail.com>
* Closes gh-95133: docs, fix indentation level in TestCase.assertLogs example ↵Miss Islington (bot)2022-07-221-2/+2
| | | | | | | (GH-95134) (cherry picked from commit 2a9c227ac11f7d8fc6d756542dd3410be0a6b6b0) Co-authored-by: Alexandru Mărășteanu <alexei@users.noreply.github.com>
* gh-81040: Improve sqlite3.Cursor.rowcount docs (GH-94940)Miss Islington (bot)2022-07-221-12/+5
| | | | | (cherry picked from commit f9b3706df65c4962646587b437a4eb39289dfd4c) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-95112: Fix What's New 3.10 contribution note periods (GH-95114)Miss Islington (bot)2022-07-221-25/+25
| | | | | | | Some are missing, a few placed after the ')'. One ') was missing. (cherry picked from commit c944649ffc06f155acea8454f9449fdccad0a74e) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-95095: Use SSL_CTX_get_max_proto_version instead of SSL_CTX_ctrl (GH-95096)Miss Islington (bot)2022-07-211-2/+2
| | | | | | | | | | The wrapper macros are more readable and match the form recommended in the OpenSSL documentation. They also slightly less error-prone, as the mapping of arguments to SSL_CTX_ctrl is not always clear. (Though in this case it's straightforward.) https://www.openssl.org/docs/man1.1.1/man3/SSL_CTX_get_max_proto_version.html (cherry picked from commit 936f71e5d4f50f2238b0320d44f7fb5f88e39809) Co-authored-by: David Benjamin <davidben@davidben.net>
* GH-95029: Describe Windows Store package isolation and redirection in more ↵Miss Islington (bot)2022-07-211-3/+31
| | | | | | | detail (GH-95030) (cherry picked from commit b1924b10069fb797845284552fb9da931b1ffdb9) Co-authored-by: Anthony Shaw <anthony.p.shaw@gmail.com>
* gh-94844: Add pathlib support to shutil archive management (GH-94846)Miss Islington (bot)2022-07-201-0/+2
| | | | | | Co-authored-by: Barney Gale <barney.gale@gmail.com> (cherry picked from commit ed4441567ec480d1e4d8f982bd1f7347e4d03c42) Co-authored-by: Oleg Iarygin <oleg@arhadthedev.net>
* [3.10] gh-90654: Update maintenance NEWS header (#94355)Terry Jan Reedy2022-07-201-3/+2
|
* gh-90654: Add item missing from idlelib/NEWS.txt (GH-95038)Miss Islington (bot)2022-07-201-0/+2
| | | | | (cherry picked from commit acb105a7c1f435f93fee08e292ee12438f716abd) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.10] gh-94930: skipitem() in getargs.c should return non-NULL on error ↵Miss Islington (bot)2022-07-194-8/+37
| | | | | | | | (GH-94931) (GH-94963) (cherry picked from commit 067f0da33506f70c36a67d5f3d8d011c8dae10c9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>