summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* gh-46845: clean up unused DK_IXSIZE (GH-96405)Miss Islington (bot)2022-08-301-9/+0
| | | | | (cherry picked from commit d21d2f0793ce32d72759d5cfc11622d13e3e6b81) Co-authored-by: Matthias Görgens <matthias.goergens@gmail.com>
* Docs: normalize SQL style in sqlite3 docs (GH-96403)Miss Islington (bot)2022-08-291-7/+7
| | | | | (cherry picked from commit 6d403e264a7dcd1544a91708f139c6dd8612204d) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683)Miss Islington (bot)2022-08-299-20/+27
| | | | | (cherry picked from commit 873554ef84011773618911ffa698cea181cec9fd) Co-authored-by: Christian Heimes <christian@python.org>
* gh-90814: Correct NEWS wording re. optional C11 features (GH-96309) (GH-96384)Petr Viktorin2022-08-292-2/+4
| | | | | | | | | | | The previous wording of this entry suggests that CPython won't work if optional compiler features are enabled. That's not the case. The change is that we require C11 rather than C89. Note that PEP 7 does say "Python 3.11 and newer versions use C11 without optional features." It is correct there: that's not a guide for users who compile Python, but for CPython devs who must avoid the features.
* gh-95432: Add doctests for the sqlite3 docs (GH-96225)Miss Islington (bot)2022-08-291-64/+125
| | | | | | | | | | As a consequence of the added test, this commit also includes fixes for broken examples. - Add separate namespace for trace tests bco. module level callback - Move more backup and cursor examples under separate namespaces (cherry picked from commit bf9259776dff5348bc854983409ea68618c1f174) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
* GH-96359: Fix docs that claim int(0|1) doesn't match False (GH-96361)Miss Islington (bot)2022-08-291-1/+1
| | | | | (cherry picked from commit 3d3a86ed40626471b2c9e7f1336b228eb0dd0879) Co-authored-by: Jonathan Oberländer <github@l3vi.de>
* [3.11] gh-96191: Update the configure file to use GitHub issue (gh-96211) ↵Dong-hee Na2022-08-292-16/+16
| | | | (gh-96375)
* [3.11] gh-89047: Fix msecs computation so you never end up with 1000 msecs. ↵Miss Islington (bot)2022-08-272-1/+9
| | | | (GH-96340) (GH-96341)
* Docs: Fix count of bullets in asyncio-task.rst (GH-96307) (#96330)Miss Islington (bot)2022-08-271-1/+1
| | | | | | | (cherry picked from commit 35e4da25d4c86c891a99cae4ddbb9edb7d911e9f) Co-authored-by: zhanpon <pon.zhan@gmail.com> Co-authored-by: zhanpon <pon.zhan@gmail.com>
* [3.11] gh-92007: Handle elevation errors in NTEventLogHandler more grace… ↵Miss Islington (bot)2022-08-271-1/+10
| | | | (GH-96322) (GH-96337)
* [3.11] gh-77116: Add SMTP buffering example to logging cookbook. (GH-96324) ↵Miss Islington (bot)2022-08-271-0/+82
| | | | (GH-96326)
* 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-95994: Clarify escaped newlines. (GH-96066)Miss Islington (bot)2022-08-261-11/+22
| | | | | | | | | | | | | | | | * gh-95994: clarify escaped newlines. * Rephrase ambiguous sentence. Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> * Use `<newline>` in escape sequences table. Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> (cherry picked from commit c3d591fd0699605c8253beda2372114052a7bdba) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* Port regression test for issue GH-93592 (GH-96208) (GH-96313)Miss Islington (bot)2022-08-261-0/+24
|
* 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>
* bpo-46744: Support "-Win32" and make platform flags case insensitive in ↵Miss Islington (bot)2022-08-252-30/+32
| | | | | | | Windows build scripts. (GH-31803) (cherry picked from commit 1288097088dcf3bad3799bd5867e7675515a5b18) 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.11] gh-91070: Add note about SysLogHandler on macOS 12.x (Monterey). ↵Miss Islington (bot)2022-08-251-0/+6
| | | | (GH-94803) (GH-96260)
* gh-96021: Explicitly close the IsolatedAsyncioTestCase runner in tests ↵Miss Islington (bot)2022-08-251-2/+7
| | | | | | | | | | | (GH-96135) Tests for IsolatedAsyncioTestCase.debug() rely on the runner be closed in __del__. It makes tests depending on the GC an unreliable on other implementations. It is better to close the runner explicitly even if currently there is no a public API for this. (cherry picked from commit 4de06e3cc0a58d73934f9a2759ad9cd2f6b031b0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* 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.11] gh-94635: Frame sqlite3 how-to headings as such & move default ↵Erlend E. Aasland2022-08-241-43/+45
| | | | | | | | | adapters to reference (GH-96136) (#96226) 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.11] gh-96189: Fix test_invalid_utf8 on a number of build bots (GH-96190) ↵Miss Islington (bot)2022-08-231-43/+43
| | | | | (#96218) Co-authored-by: Michael Droettboom <mdboom@gmail.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>
* GH-96071: add regression test for GH-96071 (GH-96137)Miss Islington (bot)2022-08-231-0/+15
| | | | | | Automerge-Triggered-By: GH:ericsnowcurrently (cherry picked from commit 079baee1962ff7c1f4b60f4dd4c803535ecbd18e) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* GH-96187: Prevent _PyCode_GetExtra to return garbage for negative indexes ↵Miss Islington (bot)2022-08-232-1/+3
| | | | | | | (GH-96188) (cherry picked from commit 16ebae4cd4029205d932751f26c719c6cb8a6e92) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* [3.11] gh-96159: Fix significant performance degradation in ↵Miss Islington (bot)2022-08-232-3/+8
| | | | | logging.TimedRotat… (GH-96182) (GH-96196) 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-96076: Change test_launcher to use non-admin location for py.ini (GH-96091)Miss Islington (bot)2022-08-221-3/+5
| | | | | | Patch authored by Eryksun. (cherry picked from commit 216ccacda193733ef92146c8ac1eb81893b4478d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* gh-96046: Initialize ht_cached_keys in PyType_Ready() (GH-96047)Miss Islington (bot)2022-08-222-9/+30
| | | | | (cherry picked from commit 53e6a9a7254bdcd0538580ba7d799cd453e2dca5) Co-authored-by: Christian Heimes <christian@python.org>
* 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>
* small grammatical change (GH-96138) (GH-96157)Miss Islington (bot)2022-08-211-1/+1
|
* gh-96125: Fix sys.thread_info.name on pthread platforms (GH-96126) (#96128)Miss Islington (bot)2022-08-213-1/+11
| | | | | | | | Automerge-Triggered-By: GH:tiran (cherry picked from commit 822955c16654c22c10a993f5a94bbb68b857a150) Co-authored-by: Christian Heimes <christian@python.org> Co-authored-by: Christian Heimes <christian@python.org>
* GH-95880: Clarify StringIO append/overwrite behavior. (GH-96104) (GH-96156)Miss Islington (bot)2022-08-211-2/+6
|
* Add polynomial_from_roots() to the itertools recipes (GH-96102) (#96155)Miss Islington (bot)2022-08-211-0/+19
|
* 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>
* GH-96071: fix deadlock in PyGILState_Ensure (GH-96124) (#96129)Miss Islington (bot)2022-08-192-11/+17
| | | | | | | | Alternative of GH-96107 (cherry picked from commit e0d54a4a799dae4ebdd72a16bcf287ed62ae2972) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.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) (#96099)
* gh-95463: Remove backwards incompatible change regarding the ↵Miss Islington (bot)2022-08-192-1/+3
| | | | | | | | _MASK_UTF_FILENAME flags in bpo-28080 (GH-96072) Automerge-Triggered-By: GH:pablogsal (cherry picked from commit 9d066e2aa621125cd141b14df79955d74b7f258e) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* gh-95914: Add Py_UNICODE encode APIs removed in PEP 624 to 3.11 What's New ↵Miss Islington (bot)2022-08-191-0/+25
| | | | | | | | | | (GH-96016) * 3.11 Whatsnew: Add Py_UNICODE encode functions removed in PEP 624 * Just use :func: instead of :c:func: for non-resolved funcs so ! works (cherry picked from commit b6d88b7225c36821845d4ba1312a6d6b2f7f65c8) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
* Docs: Escape lone stars in sqlite3 docs (GH-96081)Miss Islington (bot)2022-08-181-5/+5
| | | | | (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>
* [3.11] GH-95736: fix IsolatedAsyncioTestCase to initialize Runner bef… ↵Kumar Aditya2022-08-183-0/+20
| | | | | | (#96042) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>