https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
6cc6b13 Python 3.10.7 05 September 2022, 13:00:02 UTC
e13f49a [3.10] gh-84095: Fill documentation gap regarding user-defined objects. (GH-… (GH-96576) 05 September 2022, 07:21:22 UTC
f5a7847 Docs: alphabetically order sqlite3.Cursor attrs (GH-96565) (cherry picked from commit 9e5568578234f0ecd003247c8a2deaeb69976b4b) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 04 September 2022, 21:41:13 UTC
eace09e [3.10] gh-95778: Correctly pre-check for int-to-str conversion (GH-96537) (#96563) Converting a large enough `int` to a decimal string raises `ValueError` as expected. However, the raise comes _after_ the quadratic-time base-conversion algorithm has run to completion. For effective DOS prevention, we need some kind of check before entering the quadratic-time loop. Oops! =) The quick fix: essentially we catch _most_ values that exceed the threshold up front. Those that slip through will still be on the small side (read: sufficiently fast), and will get caught by the existing check so that the limit remains exact. The justification for the current check. The C code check is: ```c max_str_digits / (3 * PyLong_SHIFT) <= (size_a - 11) / 10 ``` In GitHub markdown math-speak, writing $M$ for `max_str_digits`, $L$ for `PyLong_SHIFT` and $s$ for `size_a`, that check is: $$\left\lfloor\frac{M}{3L}\right\rfloor \le \left\lfloor\frac{s - 11}{10}\right\rfloor$$ From this it follows that $$\frac{M}{3L} < \frac{s-1}{10}$$ hence that $$\frac{L(s-1)}{M} > \frac{10}{3} > \log_2(10).$$ So $$2^{L(s-1)} > 10^M.$$ But our input integer $a$ satisfies $|a| \ge 2^{L(s-1)}$, so $|a|$ is larger than $10^M$. This shows that we don't accidentally capture anything _below_ the intended limit in the check. <!-- gh-issue-number: gh-95778 --> * Issue: gh-95778 <!-- /gh-issue-number --> Co-authored-by: Gregory P. Smith [Google LLC] <greg@krypto.org> (cherry picked from commit b126196838bbaf5f4d35120e0e6bcde435b0b480) Co-authored-by: Mark Dickinson <dickinsm@gmail.com> 04 September 2022, 16:54:56 UTC
4dea99f gh-68163: Correct conversion of Rational instances to float (GH-25619) (GH-96557) * gh-68163: Correct conversion of Rational instances to float Also document that numerator/denominator properties are instances of Integral. Co-authored-by: Mark Dickinson <dickinsm@gmail.com> (cherry picked from commit 8464b754c4168586b99e2135ccd2567e025625a9) Co-authored-by: Sergey B Kirpichev <skirpichev@gmail.com> 04 September 2022, 12:40:24 UTC
3a56a93 gh-95778: remove unneeded doc note on float.as_integer_ratio (GH-96553) Per mdickinson@'s comment on the main branch PR. (cherry picked from commit 69bb83c2bf254f92491d527ccec1ff41897add56) Co-authored-by: Gregory P. Smith <greg@krypto.org> 04 September 2022, 07:12:34 UTC
76d7105 doc typo: spell limitation (GH-96542) (cherry picked from commit af6359dd5c5e20adec12501aaa6074716c316e41) Co-authored-by: Mehrdad Moradizadeh <mhrddmoradii@gmail.com> 04 September 2022, 06:30:11 UTC
c3dbbc8 [3.10] gh-90195: Unset logger disabled flag when configuring it. (GH-96530) (GH-96533) 03 September 2022, 14:10:04 UTC
7b163f8 [3.10] gh-89087: Update logging.QueueHandler documentation to clarify record… (GH-96527) (GH-96529) 03 September 2022, 12:17:07 UTC
9fe9b9c gh-75500: Update idlelib/help.html (GH-96523) (cherry picked from commit 837ce6460d6554e9d7a847951ca5108ac6926ee5) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 03 September 2022, 07:59:15 UTC
cb39a44 bpo-30419: DOC: Update missing information in bdb docs (GH-1687) Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com> Co-authored-by: Martin Panter <vadmium@users.noreply.github.com> Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> (cherry picked from commit ccce9b77e1f599e05425eadc0cc372d142fe05e0) Co-authored-by: Cheryl Sabella <cheryl.sabella@gmail.com> 02 September 2022, 17:49:23 UTC
8f0fa4b [3.10] gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96501) Integer to and from text conversions via CPython's bignum `int` type is not safe against denial of service attacks due to malicious input. Very large input strings with hundred thousands of digits can consume several CPU seconds. This PR comes fresh from a pile of work done in our private PSRT security response team repo. This backports https://github.com/python/cpython/pull/96499 aka 511ca9452033ef95bc7d7fc404b8161068226002 Signed-off-by: Christian Heimes [Red Hat] <christian@python.org> Tons-of-polishing-up-by: Gregory P. Smith [Google] <greg@krypto.org> Reviews via the private PSRT repo via many others (see the NEWS entry in the PR). <!-- gh-issue-number: gh-95778 --> * Issue: gh-95778 <!-- /gh-issue-number --> I wrote up [a one pager for the release managers](https://docs.google.com/document/d/1KjuF_aXlzPUxTK4BMgezGJ2Pn7uevfX7g0_mvgHlL7Y/edit#). 02 September 2022, 16:51:49 UTC
bbcb03e gh-96168: Improve sqlite3 dict_factory example (GH-96457) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit 91f40f3f78d6016a283989e32ec3d1fb61bcebca) Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no> 01 September 2022, 21:55:41 UTC
2ecc195 [3.10] gh-96414: Inline code examples in sqlite3 docs (GH-96442). (#96453) * [3.10] gh-96414: Inline code examples in sqlite3 docs (GH-96442). (cherry picked from commit f7e7bf161aaec5a5cffdcec7c97e1f09e445421b) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 31 August 2022, 08:10:55 UTC
a0d0a77 Docs: normalise sqlite3 placeholder how-to heading (GH-96413) (cherry picked from commit 7b01ce7953c0e24aa7aeaf207216fc9e7aefd18a) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 30 August 2022, 20:56:02 UTC
9389e2f Docs: Improve clarity for bytes.hex() (GH-95257) (cherry picked from commit 860fa351452de1502da12ec6f027d3f72dfc309f) Co-authored-by: Tim Burke <tim.burke@gmail.com> 30 August 2022, 11:16:34 UTC
0a096e0 [3.10] Clean up junk & fix typo in 3.10.6 release notes (#95997) 30 August 2022, 10:58:21 UTC
57f4472 [3.10] gh-91305: Add a note about DatagramHandler and DNS latency. (GH-96380) (GH-96400) 30 August 2022, 08:58:14 UTC
e89f8b0 Doc: Update Py_TPFLAGS_HAVE_FINALIZE in docs (GH-96273) It is now deprecated and the docs should reflect that. (cherry picked from commit 9625de6fab4597bcd04ec390b680b053b0533816) Co-authored-by: da-woods <dw-git@d-woods.co.uk> 30 August 2022, 08:38:53 UTC
af9fbec [3.10] Docs: normalize SQL style in sqlite3 docs (GH-96403). (#96409) (cherry picked from commit 6d403e264a7dcd1544a91708f139c6dd8612204d) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 30 August 2022, 08:35:21 UTC
069fefd gh-95231: Disable md5 & crypt modules if FIPS is enabled (GH-94742) If kernel fips is enabled, we get permission error upon doing `import crypt`. So, if kernel fips is enabled, disable the unallowed hashing methods. Python 3.9.1 (default, May 10 2022, 11:36:26) [GCC 10.2.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> import crypt Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/lib/python3.9/crypt.py", line 117, in <module> _add_method('MD5', '1', 8, 34) File "/usr/lib/python3.9/crypt.py", line 94, in _add_method result = crypt('', salt) File "/usr/lib/python3.9/crypt.py", line 82, in crypt return _crypt.crypt(word, salt) PermissionError: [Errno 1] Operation not permitted Signed-off-by: Shreenidhi Shedi <sshedi@vmware.com> (cherry picked from commit 2fa03b1b0708d5d74630c351ec9abd2aac7550da) Co-authored-by: Shreenidhi Shedi <53473811+sshedi@users.noreply.github.com> 30 August 2022, 07:59:56 UTC
32a4501 [3.10] gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683) (gh-96391) Co-authored-by: Christian Heimes <christian@python.org> 29 August 2022, 18:02:00 UTC
928a692 [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 bf9259776dff5348bc854983409ea68618c1f174) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 29 August 2022, 10:29:46 UTC
b6fb779 GH-96359: Fix docs that claim int(0|1) doesn't match False (GH-96361) (cherry picked from commit 3d3a86ed40626471b2c9e7f1336b228eb0dd0879) Co-authored-by: Jonathan Oberländer <github@l3vi.de> 29 August 2022, 07:14:33 UTC
f6f8acb [3.10] gh-96191: Update the configure file to use GitHub issue (gh-96211) (gh-96376) 29 August 2022, 06:50:36 UTC
60f704f gh-95950: Add a test for both `csv.Dialect` and `kwargs` (GH-95951) (cherry picked from commit 1c01bd28a0ec7e46e570a07d970c590b1809f8f1) Co-authored-by: Nikita Sobolev <mail@sobolevn.me> 29 August 2022, 01:11:02 UTC
f51c232 [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 c3d591fd0699605c8253beda2372114052a7bdba) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> 28 August 2022, 13:17:01 UTC
9b070d3 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 4de06e3cc0a58d73934f9a2759ad9cd2f6b031b0) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 28 August 2022, 05:35:39 UTC
c0a9859 [3.10] gh-89047: Fix msecs computation so you never end up with 1000 msecs. (GH-96340) (GH-96342) 27 August 2022, 14:10:17 UTC
a2cf984 [3.10] gh-92007: Handle elevation errors in NTEventLogHandler more grace… (GH-96322) (GH-96338) 27 August 2022, 11:37:55 UTC
91b6ca4 [3.10] gh-77116: Add SMTP buffering example to logging cookbook. (GH-96324) (GH-96325) 27 August 2022, 11:15:23 UTC
5d82cef fixes gh-96292: Fix Trivial Typo in cpython/Modules/atexitmodule.c (GH-96327) (cherry picked from commit 0ace820bec8892d621a4aadc1feb6c56e25560bf) Co-authored-by: Ansab Gillani <56605828+ansabgillani@users.noreply.github.com> 27 August 2022, 05:53:47 UTC
c216af8 fix threading.Event.isSet() docstring (GH-96297) fixes gh-96296 (cherry picked from commit e53444051018af3351cc26c4bf1ed2d380292016) Co-authored-by: Daniel Giger <danielg3432@gmail.com> 27 August 2022, 05:30:41 UTC
b69ba3d gh-96197: Define the behavior of repr if sys.displayhook is lost (gh-96242) (cherry picked from commit 0319cd6825f3c247a875c91493a38992fb33a5b3) Co-authored-by: Dong-hee Na <donghee.na@python.org> 26 August 2022, 02:13:04 UTC
5f4588f gh-96197: Fix expression when :func:`sys.breakpointhook is missing (gh-96293) (cherry picked from commit 47d406ffc4946b023e38322c5235bec25f068481) Co-authored-by: Dong-hee Na <donghee.na@python.org> 26 August 2022, 02:03:16 UTC
fa118f0 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> 25 August 2022, 20:16:15 UTC
2f88289 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 caa2a9799a47294441e4206037620322eea9ed06) Co-authored-by: ov2k <ov2k.github@gmail.com> 25 August 2022, 13:42:32 UTC
147b831 [3.10] gh-91070: Add note about SysLogHandler on macOS 12.x (Monterey). (GH-94803) (GH-96261) 25 August 2022, 07:37:42 UTC
979a3b8 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 df110126971d0271a977ce10779083b3e335b4da) Co-authored-by: Ross Burton <ross.burton@arm.com> 25 August 2022, 02:01:50 UTC
41e8257 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 4317b25a2323ae4be04574e45de0e335c571c463) Co-authored-by: prego <pedropregueiro@gmail.com> 24 August 2022, 15:55:45 UTC
83ff85b gh-96197: Define the behavior of breakpoint if sys.breakpointhook is lost (gh-96231) (cherry picked from commit 09563a764ebc54f98087c128419f46cf0822b4b7) Co-authored-by: Dong-hee Na <donghee.na@python.org> 24 August 2022, 14:20:38 UTC
203b598 [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 6bda5b85b53443f3467865fbf85cbe72932e7cd6) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 24 August 2022, 07:52:16 UTC
e3c4a5b [3.10] GH-96071: add regression test for GH-96071 (GH-96137) (#96205) Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> 23 August 2022, 22:28:54 UTC
e783a23 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 58f6953d6d3fe20d972bfa2f6e982206adcf1353) Co-authored-by: Kevin Kirsche <Kev.Kirsche+GitHub@gmail.com> 23 August 2022, 16:42:10 UTC
a6c3f6d [3.10] GH-96187: Prevent _PyCode_GetExtra to return garbage for negative indexes (GH-96188). (#96210) (cherry picked from commit 16ebae4cd4029205d932751f26c719c6cb8a6e92) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com> 23 August 2022, 14:58:25 UTC
d23ab79 [3.10] GH--93592: Fix frame chain when throwing exceptions into coroutines (GH-95207) 23 August 2022, 11:23:39 UTC
9c34d64 [3.10] gh-96159: Fix significant performance degradation in logging.TimedRotat… (GH-96182) (GH-96195) Co-authored-by: Duncan Grisby <duncan-github@grisby.org> 23 August 2022, 07:00:40 UTC
e9ede9d 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 d6259c58cbb48b8f3fbd70047f004ea19fe91e86) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 23 August 2022, 06:58:17 UTC
145d8f0 gh-95432: Add doctest for sqlite3 tutorial (GH-96193) (cherry picked from commit 04c73e5efbfea8ae9da5bd518cee96086017ef4f) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 23 August 2022, 06:56:39 UTC
a836204 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 18b1782192f85bd26db89f5bc850f8bee4247c1a) Co-authored-by: Erlend E. Aasland <erlend.aasland@innova.no> 22 August 2022, 08:10:53 UTC
5a094f0 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 bcc4cb0c7d5e0590928e74cae86b0a7938c0f74b) Co-authored-by: Nick Coghlan <ncoghlan@gmail.com> 21 August 2022, 04:27:22 UTC
442674e Docs: Fix markup of module name in sqlite3 docs (GH-96115) (cherry picked from commit ee9f22d3464308566c63e972133ebf71b7664baa) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 19 August 2022, 08:25:27 UTC
d52834d Doc: Use consistent markup for example Point class in sqlite3 (GH-96095) (cherry picked from commit 303ef0913e5b80adbe63def41829bff5effab6a0) Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> 19 August 2022, 07:49:39 UTC
8a6e651 Docs: group sqlite3.Connection attributes and methods (GH-96090) (cherry picked from commit 1a140af40b7204faf7896b67b8ef5af200427565) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 19 August 2022, 07:38:21 UTC
5e28ec5 gh-94635: Remove sqlite3 doc introduction heading (GH-96089) (cherry picked from commit ede771cdf90431d4db22f98e35f43888842f231e) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 19 August 2022, 07:28:49 UTC
b6e8304 GH-95822: Need _PyType_Lookup() in descriptor howto code equivalent. (GH-95967) (#96100) 19 August 2022, 05:18:59 UTC
eb182fe [3.10] Docs: Escape lone stars in sqlite3 docs (GH-96081). (#96085) (cherry picked from commit 91afe66707237558d808aeca4683d0822aa0511e) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 18 August 2022, 20:27:51 UTC
882dd9f 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 c87ea10fc91f040822ab3eed2d08b073861360f6) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 18 August 2022, 18:44:58 UTC
230b630 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 f6b811059ac945a283bb59bf37efac162c3bbab6) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 15 August 2022, 23:25:10 UTC
a372a7d gh-94439: typing docs: Add minimum version to `__required_keys__` and `__optional_keys__` (GH-95373) (cherry picked from commit f235178beccf5eb5b47e770240f32d9ba24b26fd) Co-authored-by: Howie Zhao <howiezhaohr@hotmail.com> 13 August 2022, 04:31:51 UTC
83bde57 Fix typo in internal/pycore_atomic.h (GH-95939) (cherry picked from commit 8281cbddc6f0fbc94f0c21cacfac79a2d4057a4b) Co-authored-by: fluesvamp <105884371+fluesvamp@users.noreply.github.com> 13 August 2022, 04:05:37 UTC
9fbc817 [3.10] gh-94996: Disallow lambda pos only params with feature_version < (3, 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 12 August 2022, 19:47:07 UTC
a92c2d6 [3.10] gh-94996: Disallow parsing pos only params with feature_version < (3, 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 12 August 2022, 19:03:44 UTC
44bf05e gh-82180: Document support for non-integer arg removed from grp.getgrgid in 3.10 (GH-95346) (GH-95930) (cherry picked from commit 50bf5fafcceacf8d7460fd8f9fb4297ac74d3eac) Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> 12 August 2022, 17:03:37 UTC
e21574a gh-92412: Clarify the documentation on library/syslog (GH-92587) (GH-95266) (cherry picked from commit b7ce4625fe2a8a4d6c1db6b39b52c7f97d384caa) Co-authored-by: Nicolas Haller <nicolas@haller.im> 12 August 2022, 16:19:08 UTC
345daea [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> 12 August 2022, 16:15:45 UTC
75299dc [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 e6623e7083ce08a247e5df169bcc749f99327823) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 12 August 2022, 07:37:45 UTC
bfaa071 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 bdb2cf8e913c041f26e8976abe58414819b3e8ff) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 11 August 2022, 21:35:36 UTC
2579c49 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 05a0f37029f8ef917ed7ddbf7871856fc73aaca1) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 11 August 2022, 21:17:11 UTC
2a6b67f [3.10] gh-95876: Fix format string in pegen error location code (GH-95877 (GH-95901) (cherry picked from commit b4c857d0fd74abb1ede6fe083c4fa3ca728b2b83) Co-authored-by: Christian Heimes <christian@python.org> 11 August 2022, 19:41:35 UTC
9c04e25 gh-95878: Fix format char in datetime CAPI tests (GH-95879) (cherry picked from commit 8b34e914bba2ccd6ae39609410db49d0beb19cb1) Co-authored-by: Christian Heimes <christian@python.org> 11 August 2022, 18:06:48 UTC
759227f gh-75510: Edit idlelib entry in doc (GH-95869) Make section instead of subsection and revise sentence. (cherry picked from commit 9af4aed73af0accffd26176c09aa263b68c8ca5d) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 11 August 2022, 03:03:01 UTC
fe5cc63 gh-84910: Tweak IDLE Glossary entry (GH-95866) 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> 11 August 2022, 02:15:03 UTC
b11895e gh-95349: Hide a Distutils Warning Filter for test_check_c_globals (GH-95837) 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> 11 August 2022, 00:15:53 UTC
b4f968e gh-95605: Fix `float(s)` error message when `s` contains only whitespace (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> 10 August 2022, 18:57:55 UTC
346aa78 Fix documentation typo for functools.cmp_to_key (GH-95766) (#95777) 10 August 2022, 05:40:15 UTC
64abb73 gh-75500: Add idlelib section to IDLE doc (GH-95832) 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> 09 August 2022, 19:33:37 UTC
a9c25cd [3.11] gh-88878: IDLE - replace type('') with str (GH-95792) Change in idlelib.browser, line 54 cherrypicked from 3680ebed7f3e529d01996dd0318601f9f0d02b4b (cherry picked from commit 1a22ec5d69c2cbe51afdaff2cc3bc25a9514dd4f) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 09 August 2022, 18:10:00 UTC
d57d86a gh-95767: Fix grammatical error in asyncio loop.create_task docs (GH-95768) (cherry picked from commit 141f2517fc36cc7a0caf177f270edb6d39cf3d23) Co-authored-by: Andrzej Bartosiński <6197476+Neob91@users.noreply.github.com> 09 August 2022, 14:07:21 UTC
49e505c [3.10] gh-95273: Reorganize sqlite3 doc module level funcs and vars (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> 08 August 2022, 20:08:43 UTC
da4aae2 [3.10] gh-91838: Resolve more HTTP links which redirect to HTTPS (GH-95650). (GH-95786) (cherry picked from commit cc9160a29bc3356ced92348bcd8e6668c67167c9) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 08 August 2022, 15:09:06 UTC
6d19190 gh-95491: Mention IDLE Issue project in Readme (GH-95750) (cherry picked from commit 63140b445e4a303df430b3d60c1cd4ef34f27c03) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 08 August 2022, 14:03:23 UTC
255f7de gh-94635: Fixup sqlite3 'Introduction' seealso note (GH-95751) In gh-95269, the seealso note incorrectly ended up in the 'Tutorial' section. (cherry picked from commit 56af5a200d60e86a8ac450264729d693053275e3) Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> 06 August 2022, 21:38:18 UTC
f05a0f4 gh-95376: Add test for names containing null (GH-GH-5394) (GH-95747) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> (cherry picked from commit a17cd47b614f8bc660788647a009a25e121221d7) Co-authored-by: Sion Kang <31057849+Yaminyam@users.noreply.github.com> 06 August 2022, 17:32:27 UTC
9278fc4 gh-95395: Add argument type error test (GH-95412) (GH-95745) (cherry picked from commit 4703c158116bd157e20938bbf5356b79422470bb) Co-authored-by: Sion Kang <31057849+Yaminyam@users.noreply.github.com> 06 August 2022, 17:30:29 UTC
32b71ff gh-95155: Update "Using Python on a Mac" documentation (GH-95284) (GH-95743) Co-authored-by: Łukasz Langa <lukasz@langa.pl> (cherry picked from commit d25ff1f61387edd65a91b3930b12bcf4d734e8a1) Co-authored-by: Howie Zhao <howiezhaohr@hotmail.com> 06 August 2022, 17:15:32 UTC
9a23f58 Fix typo in test_dataclasses.py (gh-95735) `dataclass` was called as a function when it was almost certainly intended to be a decorator. (cherry picked from commit 59e09efe888affe549e9249f188797c1325edecc) Co-authored-by: da-woods <dw-git@d-woods.co.uk> 06 August 2022, 16:16:01 UTC
426bf7b gh-95251: IDLE - Add What's New section to README (GH-95688) Document what I (TJR) currently do for 3.10/3.11. Co-authored-by: Erlend E. Aasland <erlend.aasland@protonmail.com> (cherry picked from commit a302a274892f2dad4e1fa492c4886d55e4df0a80) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 05 August 2022, 21:43:53 UTC
7c711ae gh-89362: Doc IDLE menu and search (GH-95697) Update menu item position and capitalization. Add paragraph about search. For help.html, include save-as addition. (cherry picked from commit 834064c19a110dad425dc290c91c0545eaa24471) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 05 August 2022, 16:51:53 UTC
b66b6e1 gh-91271: Document which parts of structs are in limited API/stable ABI (GH-32196) (GH-95711) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no> 05 August 2022, 15:30:51 UTC
57446f9 bpo-42037: Corrected request dependencies in CookieJar functions (GH-23112) (GH-95515) (cherry picked from commit d29e279de38e7bc3b7deda573ba23d65831d9351) Co-authored-by: markus-sus <73822103+markus-sus@users.noreply.github.com> 05 August 2022, 08:20:29 UTC
9e859e1 GH-95685: Fix rendering of the string documentation (GH-95686) (GH-95701) There's an extra underlines that messed the rest of the documentation rendering. Closes #95685 (cherry picked from commit a525f2ada407d6677bf8ca708f104694de0525e4) Co-authored-by: Mariatta Wijaya <Mariatta@users.noreply.github.com> 05 August 2022, 07:58:17 UTC
2351593 gh-65802: IDLE - explain SaveAs and extensions (GH-95690) File name extensions may or may not be shown for the current name and are added in an OS-dependent manner if not given for the new name. (cherry picked from commit 9890f86ae2001d19e7a18fee5b13aa0dd6069aef) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 05 August 2022, 06:26:26 UTC
c576665 [3.10] Docs: sqlite3 docs fixup (GH-95681) (#95684) - Disable links to the module itself - Consistent ref markup (cherry picked from commit 44f1f63ad5cf00b6f50cef0cc1a62c42632138be) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 05 August 2022, 04:41:09 UTC
54ea127 [3.10] gh-95271: Extract placeholders howto from sqlite3 tutorial (GH-95522) (#95678) Co-authored-by: CAM Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> (cherry picked from commit b24e8b28a7dc585ba367a959be83393f2352d21d) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 04 August 2022, 20:53:51 UTC
4a204c1 [3.10] gh-95273: Improve documented return values and exceptions raised for sqlite3 class methods (GH-95530) (#95674) Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>. (cherry picked from commit 12d92c733cfc00ee630b30e4e0250da400c83395) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com> 04 August 2022, 20:14:02 UTC
f6b1c5e Docs: fix two typos in the sqlite3 docs (GH-95661) - statment => statement - transaciton => transaction (cherry picked from commit 962acd446839c7e10caf301931760133644ce8ca) Co-authored-by: ceh <emil@hessman.se> 04 August 2022, 18:34:37 UTC
be30a6d gh-91838: Resolve HTTP links which redirect to HTTPS (GH-95642) It updates links which redirect to HTTPS with different authority or path. (cherry picked from commit d0d0154443cafb2f0a2cdfb6a1267d80cce8388e) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 04 August 2022, 13:15:01 UTC
54d4b4d [3.10] gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527) (GH-95644) If an HTTP link is redirected to a same looking HTTPS link, the latter can be used directly without changes in readability and behavior. It protects from a men-in-the-middle attack. This change does not affect Python examples.. (cherry picked from commit f79547a429d5c90af83a0da821e082cba20d4712) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> 04 August 2022, 09:19:44 UTC
c5916a0 gh-95638: Update idlelib README file and menu lists (GH-95639) (cherry picked from commit 621b33ce258f3eaf154322c1edf0ead1e4892e36) Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu> 04 August 2022, 08:05:20 UTC
back to top