Erlend E. Aasland
928a692320
[3.10] gh-95432: Add doctests for the sqlite3 docs (GH-96225) ( #96379 )
...
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 bf9259776d )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-29 12:29:46 +02:00
Miss Islington (bot)
b6fb779489
GH-96359: Fix docs that claim int(0|1) doesn't match False (GH-96361)
...
(cherry picked from commit 3d3a86ed40 )
Co-authored-by: Jonathan Oberländer <github@l3vi.de>
2022-08-29 00:14:33 -07:00
Dong-hee Na
f6f8acb6d1
[3.10] gh-96191: Update the configure file to use GitHub issue (gh-96211) (gh-96376)
2022-08-29 15:50:36 +09:00
Miss Islington (bot)
60f704f125
gh-95950: Add a test for both csv.Dialect and kwargs (GH-95951)
...
(cherry picked from commit 1c01bd28a0 )
Co-authored-by: Nikita Sobolev <mail@sobolevn.me>
2022-08-28 18:11:02 -07:00
Ezio Melotti
f51c232ec8
[3.10] gh-95994: Clarify escaped newlines. (GH-96066) ( #96360 )
...
* 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 c3d591fd06 )
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
2022-08-28 15:17:01 +02:00
Miss Islington (bot)
9b070d361d
gh-96021: Explicitly tear down the IsolatedAsyncioTestCase loop in tests (GH-96135) (GH-96235)
...
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 tear down the loop explicitly even if
currently there is no a public API for this.
(cherry picked from commit 4de06e3cc0 )
Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
2022-08-28 08:35:39 +03:00
Miss Islington (bot)
c0a9859afb
[3.10] gh-89047: Fix msecs computation so you never end up with 1000 msecs. (GH-96340) (GH-96342)
2022-08-27 15:10:17 +01:00
Miss Islington (bot)
a2cf98449c
[3.10] gh-92007: Handle elevation errors in NTEventLogHandler more grace… (GH-96322) (GH-96338)
2022-08-27 12:37:55 +01:00
Miss Islington (bot)
91b6ca4e76
[3.10] gh-77116: Add SMTP buffering example to logging cookbook. (GH-96324) (GH-96325)
2022-08-27 12:15:23 +01:00
Miss Islington (bot)
5d82cefdc4
fixes gh-96292: Fix Trivial Typo in cpython/Modules/atexitmodule.c (GH-96327)
...
(cherry picked from commit 0ace820bec )
Co-authored-by: Ansab Gillani <56605828+ansabgillani@users.noreply.github.com>
2022-08-26 22:53:47 -07:00
Miss Islington (bot)
c216af8e8e
fix threading.Event.isSet() docstring (GH-96297)
...
fixes gh-96296
(cherry picked from commit e534440510 )
Co-authored-by: Daniel Giger <danielg3432@gmail.com>
2022-08-26 22:30:41 -07:00
Miss Islington (bot)
b69ba3d723
gh-96197: Define the behavior of repr if sys.displayhook is lost (gh-96242)
...
(cherry picked from commit 0319cd6825 )
Co-authored-by: Dong-hee Na <donghee.na@python.org>
2022-08-25 19:13:04 -07:00
Miss Islington (bot)
5f4588feec
gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293)
...
(cherry picked from commit 47d406ffc4 )
Co-authored-by: Dong-hee Na <donghee.na@python.org>
2022-08-25 19:03:16 -07:00
Steve Dower
fa118f0cd3
bpo-46744: Support "-Win32" and make platform flags case insensitive in Windows build scripts. (GH-31803)
...
Co-authored-by: conioh <10606081+conioh@users.noreply.github.com>
2022-08-25 21:16:15 +01:00
Miss Islington (bot)
2f88289cf5
Clarify API stability of PyTypeObject in relation to static types. (GH-96217)
...
Fixes:
https://github.com/python/cpython/issues/95300
Related:
https://github.com/python/cpython/issues/91271
(cherry picked from commit caa2a9799a )
Co-authored-by: ov2k <ov2k.github@gmail.com>
2022-08-25 06:42:32 -07:00
Miss Islington (bot)
147b8312ea
[3.10] gh-91070: Add note about SysLogHandler on macOS 12.x (Monterey). (GH-94803) (GH-96261)
2022-08-25 08:37:42 +01:00
Miss Islington (bot)
979a3b8cd3
gh-95243: Mitigate the race condition in testSockName (GH-96173)
...
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 df11012697 )
Co-authored-by: Ross Burton <ross.burton@arm.com>
2022-08-24 19:01:50 -07:00
Miss Islington (bot)
41e8257449
GH-96179: Fix misleading example on the bisect documentation (GH-96228)
...
The `movies[bisect(movies, 1960, key=by_year)]` will actually return only movies **after** 1960.
(cherry picked from commit 4317b25a23 )
Co-authored-by: prego <pedropregueiro@gmail.com>
2022-08-24 08:55:45 -07:00
Miss Islington (bot)
83ff85bc59
gh-96197: Define the behavior of breakpoint if sys.breakpointhook is lost (gh-96231)
...
(cherry picked from commit 09563a764e )
Co-authored-by: Dong-hee Na <donghee.na@python.org>
2022-08-24 07:20:38 -07:00
Erlend E. Aasland
203b598e51
[3.10] gh-94635: Frame sqlite3 how-to headings as such & move default 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 6bda5b85b5 )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-24 09:52:16 +02:00
Kumar Aditya
e3c4a5b8ed
[3.10] GH-96071: add regression test for GH-96071 (GH-96137) ( #96205 )
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2022-08-23 23:28:54 +01:00
Miss Islington (bot)
e783a23702
gh-96175: add missing self._localName assignment in xml.dom.minidom.Attr (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 58f6953d6d )
Co-authored-by: Kevin Kirsche <Kev.Kirsche+GitHub@gmail.com>
2022-08-23 09:42:10 -07:00
Pablo Galindo Salgado
a6c3f6d347
[3.10] GH-96187: Prevent _PyCode_GetExtra to return garbage for negative indexes (GH-96188). ( #96210 )
...
(cherry picked from commit 16ebae4cd4 )
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
2022-08-23 15:58:25 +01:00
Kristján Valur Jónsson
d23ab79952
[3.10] GH--93592: Fix frame chain when throwing exceptions into coroutines (GH-95207)
2022-08-23 12:23:39 +01:00
Miss Islington (bot)
9c34d644ed
[3.10] gh-96159: Fix significant performance degradation in logging.TimedRotat… (GH-96182) (GH-96195)
...
Co-authored-by: Duncan Grisby <duncan-github@grisby.org>
2022-08-23 08:00:40 +01:00
Miss Islington (bot)
e9ede9d2a0
gh-96096: Add undocumented SQLITE_OK/DENY/IGNORE sqlite3 constants (GH-96134)
...
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
(cherry picked from commit d6259c58cb )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-22 23:58:17 -07:00
Miss Islington (bot)
145d8f0e57
gh-95432: Add doctest for sqlite3 tutorial (GH-96193)
...
(cherry picked from commit 04c73e5efb )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-22 23:56:39 -07:00
Miss Islington (bot)
a836204777
gh-96121: Merge sqlite3.Row examples into sqlite3.Row class doc (GH-96122)
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
(cherry picked from commit 18b1782192 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no>
2022-08-22 01:10:53 -07:00
Miss Islington (bot)
5a094f0255
gh-96098: Clearly link concurrent.futures from threading & multiprocessing 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 bcc4cb0c7d )
Co-authored-by: Nick Coghlan <ncoghlan@gmail.com>
2022-08-20 21:27:22 -07:00
Miss Islington (bot)
442674e37e
Docs: Fix markup of module name in sqlite3 docs (GH-96115)
...
(cherry picked from commit ee9f22d346 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-19 01:25:27 -07:00
Miss Islington (bot)
d52834d5f5
Doc: Use consistent markup for example Point class in sqlite3 (GH-96095)
...
(cherry picked from commit 303ef0913e )
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
2022-08-19 00:49:39 -07:00
Miss Islington (bot)
8a6e651e20
Docs: group sqlite3.Connection attributes and methods (GH-96090)
...
(cherry picked from commit 1a140af40b )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-19 00:38:21 -07:00
Miss Islington (bot)
5e28ec54ff
gh-94635: Remove sqlite3 doc introduction heading (GH-96089)
...
(cherry picked from commit ede771cdf9 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-19 00:28:49 -07:00
Miss Islington (bot)
b6e8304b25
GH-95822: Need _PyType_Lookup() in descriptor howto code equivalent. (GH-95967) ( #96100 )
2022-08-19 00:18:59 -05:00
Erlend E. Aasland
eb182fe9eb
[3.10] Docs: Escape lone stars in sqlite3 docs (GH-96081). ( #96085 )
...
(cherry picked from commit 91afe66707 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-18 22:27:51 +02:00
Miss Islington (bot)
882dd9fe0d
gh-95271: Rework sqlite3 tutorial (GH-95749)
...
Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM>
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
(cherry picked from commit c87ea10fc9 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-18 11:44:58 -07:00
Miss Islington (bot)
230b630a76
gh-78143: IDLE - fix settings dialog page label. (GH-96009)
...
'/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 f6b811059a )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-15 16:25:10 -07:00
Miss Islington (bot)
a372a7d653
gh-94439: typing docs: Add minimum version to __required_keys__ and __optional_keys__ (GH-95373)
...
(cherry picked from commit f235178bec )
Co-authored-by: Howie Zhao <howiezhaohr@hotmail.com>
2022-08-12 21:31:51 -07:00
Miss Islington (bot)
83bde57f6e
Fix typo in internal/pycore_atomic.h (GH-95939)
...
(cherry picked from commit 8281cbddc6 )
Co-authored-by: fluesvamp <105884371+fluesvamp@users.noreply.github.com>
2022-08-12 21:05:37 -07:00
Shantanu
9fbc81760e
[3.10] gh-94996: Disallow lambda pos only params with feature_version < (3, 8) (GH-95934) (GH-95938)
...
(cherry picked from commit a965db37f2 )
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Automerge-Triggered-By: GH:lysnikolaou
2022-08-12 12:47:07 -07:00
Shantanu
a92c2d6eb5
[3.10] gh-94996: Disallow parsing pos only params with feature_version < (3, 8) (GH-95935)
...
(cherry picked from commit b5e3ea2862 )
Co-authored-by: Shantanu <12621235+hauntsaninja@users.noreply.github.com>
Automerge-Triggered-By: GH:lysnikolaou
2022-08-12 12:03:44 -07:00
Miss Islington (bot)
44bf05ed0c
gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346) (GH-95930)
...
(cherry picked from commit 50bf5fafcc )
Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
2022-08-12 19:03:37 +02:00
Miss Islington (bot)
e21574a823
gh-92412: Clarify the documentation on library/syslog (GH-92587) (GH-95266)
...
(cherry picked from commit b7ce4625fe )
Co-authored-by: Nicolas Haller <nicolas@haller.im>
2022-08-12 18:19:08 +02:00
Julian Maurin
345daea076
[3.10] gh-95789: update documentation RFC base URL (GH-95800)
...
* 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>
2022-08-12 18:15:45 +02:00
Erlend E. Aasland
75299dcab5
[3.10] gh-95273: Improve sqlite3.complete_statement docs (GH-95840) ( #95918 )
...
Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM>.
(cherry picked from commit e6623e7083 )
Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com>
2022-08-12 09:37:45 +02:00
Miss Islington (bot)
bfaa071e1c
gh-95841: IDLE - Revise Windows local doc url (GH-95845)
...
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 bdb2cf8e91 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-11 14:35:36 -07:00
Miss Islington (bot)
2579c4954f
gh-84910: Change 'IDLE Help' to 'IDLE Doc' (GH-95873)
...
'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 05a0f37029 )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-11 14:17:11 -07:00
Christian Heimes
2a6b67f1c5
[3.10] gh-95876: Fix format string in pegen error location code (GH-95877 (GH-95901)
...
(cherry picked from commit b4c857d0fd )
Co-authored-by: Christian Heimes <christian@python.org>
2022-08-11 12:41:35 -07:00
Miss Islington (bot)
9c04e25308
gh-95878: Fix format char in datetime CAPI tests (GH-95879)
...
(cherry picked from commit 8b34e914bb )
Co-authored-by: Christian Heimes <christian@python.org>
2022-08-11 11:06:48 -07:00
Miss Islington (bot)
759227f7e9
gh-75510: Edit idlelib entry in doc (GH-95869)
...
Make section instead of subsection and revise sentence.
(cherry picked from commit 9af4aed73a )
Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
2022-08-10 20:03:01 -07:00