summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* [3.10] gh-77116: Add SMTP buffering example to logging cookbook. (GH-96324) ↵Miss Islington (bot)2022-08-271-0/+82
| | | | (GH-96325)
* fixes gh-96292: Fix Trivial Typo in cpython/Modules/atexitmodule.c (GH-96327)Miss Islington (bot)2022-08-271-1/+1
| | | | | (cherry picked from commit 0ace820bec8892d621a4aadc1feb6c56e25560bf) Co-authored-by: Ansab Gillani <56605828+ansabgillani@users.noreply.github.com>
* fix threading.Event.isSet() docstring (GH-96297)Miss Islington (bot)2022-08-271-1/+1
| | | | | | fixes gh-96296 (cherry picked from commit e53444051018af3351cc26c4bf1ed2d380292016) Co-authored-by: Daniel Giger <danielg3432@gmail.com>
* gh-96197: Define the behavior of repr if sys.displayhook is lost (gh-96242)Miss Islington (bot)2022-08-261-0/+2
| | | | | (cherry picked from commit 0319cd6825f3c247a875c91493a38992fb33a5b3) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293)Miss Islington (bot)2022-08-261-1/+1
| | | | | (cherry picked from commit 47d406ffc4946b023e38322c5235bec25f068481) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* bpo-46744: Support "-Win32" and make platform flags case insensitive in ↵Steve Dower2022-08-252-28/+30
| | | | | Windows build scripts. (GH-31803) Co-authored-by: conioh <10606081+conioh@users.noreply.github.com>
* Clarify API stability of PyTypeObject in relation to static types. (GH-96217)Miss Islington (bot)2022-08-251-3/+3
| | | | | | | | | | Fixes: https://github.com/python/cpython/issues/95300 Related: https://github.com/python/cpython/issues/91271 (cherry picked from commit caa2a9799a47294441e4206037620322eea9ed06) Co-authored-by: ov2k <ov2k.github@gmail.com>
* [3.10] gh-91070: Add note about SysLogHandler on macOS 12.x (Monterey). ↵Miss Islington (bot)2022-08-251-0/+6
| | | | (GH-94803) (GH-96261)
* gh-95243: Mitigate the race condition in testSockName (GH-96173)Miss Islington (bot)2022-08-252-2/+16
| | | | | | | | | | | find_unused_port() has an inherent race condition, but we can't use bind_port() as that uses .getsockname() which this test is exercising. Try binding to unused ports a few times before failing. Signed-off-by: Ross Burton <ross.burton@arm.com> (cherry picked from commit df110126971d0271a977ce10779083b3e335b4da) Co-authored-by: Ross Burton <ross.burton@arm.com>
* GH-96179: Fix misleading example on the bisect documentation (GH-96228)Miss Islington (bot)2022-08-242-1/+2
| | | | | | The `movies[bisect(movies, 1960, key=by_year)]` will actually return only movies **after** 1960. (cherry picked from commit 4317b25a2323ae4be04574e45de0e335c571c463) Co-authored-by: prego <pedropregueiro@gmail.com>
* gh-96197: Define the behavior of breakpoint if sys.breakpointhook is lost ↵Miss Islington (bot)2022-08-241-0/+2
| | | | | | | (gh-96231) (cherry picked from commit 09563a764ebc54f98087c128419f46cf0822b4b7) Co-authored-by: Dong-hee Na <donghee.na@python.org>
* [3.10] gh-94635: Frame sqlite3 how-to headings as such & move default ↵Erlend E. Aasland2022-08-241-43/+45
| | | | | | | | | adapters to reference (GH-96136) (#96227) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>. (cherry picked from commit 6bda5b85b53443f3467865fbf85cbe72932e7cd6) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* [3.10] GH-96071: add regression test for GH-96071 (GH-96137) (#96205)Kumar Aditya2022-08-231-0/+14
| | | Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* gh-96175: add missing self._localName assignment in `xml.dom.minidom.Attr` ↵Miss Islington (bot)2022-08-233-1/+18
| | | | | | | | | | (GH-96176) X-Ref: https://github.com/python/typeshed/pull/8590GH-discussion_r951473977 Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> (cherry picked from commit 58f6953d6d3fe20d972bfa2f6e982206adcf1353) Co-authored-by: Kevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
* [3.10] GH-96187: Prevent _PyCode_GetExtra to return garbage for negative ↵Pablo Galindo Salgado2022-08-232-1/+3
| | | | | | | indexes (GH-96188). (#96210) (cherry picked from commit 16ebae4cd4029205d932751f26c719c6cb8a6e92) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.10] GH--93592: Fix frame chain when throwing exceptions into coroutines ↵Kristján Valur Jónsson2022-08-233-4/+35
| | | | (GH-95207)
* [3.10] gh-96159: Fix significant performance degradation in ↵Miss Islington (bot)2022-08-232-3/+8
| | | | | logging.TimedRotat… (GH-96182) (GH-96195) Co-authored-by: Duncan Grisby <duncan-github@grisby.org>
* gh-96096: Add undocumented SQLITE_OK/DENY/IGNORE sqlite3 constants (GH-96134)Miss Islington (bot)2022-08-231-4/+14
| | | | | | | Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit d6259c58cbb48b8f3fbd70047f004ea19fe91e86) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* gh-95432: Add doctest for sqlite3 tutorial (GH-96193)Miss Islington (bot)2022-08-231-16/+47
| | | | | (cherry picked from commit 04c73e5efbfea8ae9da5bd518cee96086017ef4f) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-96121: Merge sqlite3.Row examples into sqlite3.Row class doc (GH-96122)Miss Islington (bot)2022-08-222-70/+18
| | | | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit 18b1782192f85bd26db89f5bc850f8bee4247c1a) Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
* gh-96098: Clearly link concurrent.futures from threading & multiprocessing ↵Miss Islington (bot)2022-08-213-1/+26
| | | | | | | | | | docs (GH-96112) Clearly link concurrent.futures from threading & multiprocessing docs Also link directly to asyncio from the beginning of the threading docs. (cherry picked from commit bcc4cb0c7d5e0590928e74cae86b0a7938c0f74b) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
* Docs: Fix markup of module name in sqlite3 docs (GH-96115)Miss Islington (bot)2022-08-191-3/+3
| | | | | (cherry picked from commit ee9f22d3464308566c63e972133ebf71b7664baa) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* Doc: Use consistent markup for example Point class in sqlite3 (GH-96095)Miss Islington (bot)2022-08-191-3/+3
| | | | | (cherry picked from commit 303ef0913e5b80adbe63def41829bff5effab6a0) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Docs: group sqlite3.Connection attributes and methods (GH-96090)Miss Islington (bot)2022-08-191-39/+37
| | | | | (cherry picked from commit 1a140af40b7204faf7896b67b8ef5af200427565) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-94635: Remove sqlite3 doc introduction heading (GH-96089)Miss Islington (bot)2022-08-191-3/+0
| | | | | (cherry picked from commit ede771cdf90431d4db22f98e35f43888842f231e) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* GH-95822: Need _PyType_Lookup() in descriptor howto code equivalent. ↵Miss Islington (bot)2022-08-191-1/+21
| | | | (GH-95967) (#96100)
* [3.10] Docs: Escape lone stars in sqlite3 docs (GH-96081). (#96085)Erlend E. Aasland2022-08-181-2/+2
| | | | | (cherry picked from commit 91afe66707237558d808aeca4683d0822aa0511e) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-95271: Rework sqlite3 tutorial (GH-95749)Miss Islington (bot)2022-08-181-50/+138
| | | | | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit c87ea10fc91f040822ab3eed2d08b073861360f6) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-78143: IDLE - fix settings dialog page label. (GH-96009)Miss Islington (bot)2022-08-151-1/+1
| | | | | | | '/Tab' should have been removed from the font page label when the tab-spaces setting was moved to the Windows page. (cherry picked from commit f6b811059ac945a283bb59bf37efac162c3bbab6) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-94439: typing docs: Add minimum version to `__required_keys__` and ↵Miss Islington (bot)2022-08-131-0/+5
| | | | | | | `__optional_keys__` (GH-95373) (cherry picked from commit f235178beccf5eb5b47e770240f32d9ba24b26fd) Co-authored-by: Howie Zhao <howiezhaohr@hotmail.com>
* Fix typo in internal/pycore_atomic.h (GH-95939)Miss Islington (bot)2022-08-131-1/+1
| | | | | (cherry picked from commit 8281cbddc6f0fbc94f0c21cacfac79a2d4057a4b) Co-authored-by: fluesvamp <105884371+fluesvamp@users.noreply.github.com>
* [3.10] gh-94996: Disallow lambda pos only params with feature_version < (3, ↵Shantanu2022-08-123-4/+11
| | | | | | | | | 8) (GH-95934) (GH-95938) (cherry picked from commit a965db37f27ffb232312bc13d9a509f0d93fcd20) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Automerge-Triggered-By: GH:lysnikolaou
* [3.10] gh-94996: Disallow parsing pos only params with feature_version < (3, ↵Shantanu2022-08-125-6/+15
| | | | | | | | | 8) (GH-95935) (cherry picked from commit https://github.com/python/cpython/commit/b5e3ea286289fcad12be78480daf3756e350f69f) Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com> Automerge-Triggered-By: GH:lysnikolaou
* gh-82180: Document support for non-integer arg removed from grp.getgrgid in ↵Miss Islington (bot)2022-08-121-3/+2
| | | | | | | 3.10 (GH-95346) (GH-95930) (cherry picked from commit 50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-92412: Clarify the documentation on library/syslog (GH-92587) (GH-95266)Miss Islington (bot)2022-08-121-3/+7
| | | | | (cherry picked from commit b7ce4625fe2a8a4d6c1db6b39b52c7f97d384caa) Co-authored-by: Nicolas Haller <nicolas@haller.im>
* [3.10] gh-95789: update documentation RFC base URL (GH-95800)Julian Maurin2022-08-122-0/+9
| | | | | | | * pythongh-95789: update documentation RFC base URL * 📜🤖 Added by blurb_it. Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* [3.10] gh-95273: Improve sqlite3.complete_statement docs (GH-95840) (#95918)Erlend E. Aasland2022-08-122-38/+16
| | | | | | | Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit e6623e7083ce08a247e5df169bcc749f99327823) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-95841: IDLE - Revise Windows local doc url (GH-95845)Miss Islington (bot)2022-08-111-4/+14
| | | | | | | | | GH-91242 replaced the Windows chm help file with a copy of the html docs. This PR replaces the IDLE code that fetches the Windows local help url passed to os.startfile. Co-authored-by: Steve Dower (cherry picked from commit bdb2cf8e913c041f26e8976abe58414819b3e8ff) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-84910: Change 'IDLE Help' to 'IDLE Doc' (GH-95873)Miss Islington (bot)2022-08-111-1/+1
| | | | | | | 'IDLE Help' was a plain text file. It was superceded years ago by a copy of the much more complete html doc. . (cherry picked from commit 05a0f37029f8ef917ed7ddbf7871856fc73aaca1) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.10] gh-95876: Fix format string in pegen error location code (GH-95877 ↵Christian Heimes2022-08-112-1/+5
| | | | | | | (GH-95901) (cherry picked from commit b4c857d0fd74abb1ede6fe083c4fa3ca728b2b83) Co-authored-by: Christian Heimes <christian@python.org>
* gh-95878: Fix format char in datetime CAPI tests (GH-95879)Miss Islington (bot)2022-08-111-4/+4
| | | | | (cherry picked from commit 8b34e914bba2ccd6ae39609410db49d0beb19cb1) Co-authored-by: Christian Heimes <christian@python.org>
* gh-75510: Edit idlelib entry in doc (GH-95869)Miss Islington (bot)2022-08-111-3/+6
| | | | | | Make section instead of subsection and revise sentence. (cherry picked from commit 9af4aed73af0accffd26176c09aa263b68c8ca5d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-84910: Tweak IDLE Glossary entry (GH-95866)Miss Islington (bot)2022-08-111-3/+3
| | | | | | | Link "IDLE" to its doc and add 'and Learning' to its expansion, as in the doc. (cherry picked from commit 3646f6cd880f8f91e189a2fe44a687798aa1fef1) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-95349: Hide a Distutils Warning Filter for test_check_c_globals (GH-95837)Miss Islington (bot)2022-08-111-1/+6
| | | | | | Under certain build conditions, test_check_c_globals fails. This fix takes the same approach as we took for gh-84236 (via gh-20095). We'll be removing use of distutils in the c-analyzer at some point. Until then we'll hide the warning filter. (cherry picked from commit 3ff6d9affb351292ad8530802e7c06f651520706) Co-authored-by: Eric Snow <ericsnowcurrently@gmail.com>
* gh-95605: Fix `float(s)` error message when `s` contains only whitespace ↵Miss Islington (bot)2022-08-103-1/+14
| | | | | | | | (GH-95665) (GH-95859) This PR fixes the error message from float(s) in the case where s contains only whitespace. (cherry picked from commit 97e9cfa75a80b54a0630b7371f35e368a12749d1) Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
* Fix documentation typo for functools.cmp_to_key (GH-95766) (#95777)Miss Islington (bot)2022-08-101-1/+1
|
* gh-75500: Add idlelib section to IDLE doc (GH-95832)Miss Islington (bot)2022-08-092-1/+31
| | | | | | This enables accessing IDLE as 'idlelib' in the Doc Module listing. (cherry picked from commit 70fc9641b56144854777aef29c145cd10789e3df) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* [3.11] gh-88878: IDLE - replace type('') with str (GH-95792)Miss Islington (bot)2022-08-091-1/+1
| | | | | | | Change in idlelib.browser, line 54 cherrypicked from 3680ebed7f3e529d01996dd0318601f9f0d02b4b (cherry picked from commit 1a22ec5d69c2cbe51afdaff2cc3bc25a9514dd4f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-95767: Fix grammatical error in asyncio loop.create_task docs (GH-95768)Miss Islington (bot)2022-08-091-1/+1
| | | | | (cherry picked from commit 141f2517fc36cc7a0caf177f270edb6d39cf3d23) Co-authored-by: Andrzej Bartosiński <6197476+Neob91@users.noreply.github.com>
* [3.10] gh-95273: Reorganize sqlite3 doc module level funcs and vars ↵Erlend E. Aasland2022-08-081-124/+121
| | | | | | | | | (GH-95626) (#95803) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>. (cherry picked from commit 41c939cb35cda395388a775156c367676efffebe) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>