summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* GH-96458: Statically initialize utf8 representation of static strings (#96481)Kumar Aditya2022-09-036-165/+139
|
* gh-45108: Improve docstring and testing of ZipFile.testfile() (GH-96233)Serhiy Storchaka2022-09-033-12/+13
|
* [Enum] bump version tag on HTTP status category indicators (GH-96508)Alexandru Mărășteanu2022-09-021-1/+1
|
* bpo-30419: DOC: Update missing information in bdb docs (#1687)Cheryl Sabella2022-09-022-65/+133
| | | | | 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>
* gh-95180: Add `TaskGroup` and `Runner` to AsyncIO API Index (#95189)siph2022-09-021-9/+20
| | | | | Also rearrange some items in the list. Co-authored-by: Thomas Grainger <tagrain@gmail.com>
* gh-95778: CVE-2020-10735: Prevent DoS by very large int() (#96499)Gregory P. Smith2022-09-0228-20/+803
| | | | | | | | | | | | | | | | 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. 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#). Much of that text wound up in the Issue. Backports PRs already exist. See the issue for links.
* Allow whitespace around a slash in fraction string inputs (GH-96496)Raymond Hettinger2022-09-024-4/+7
|
* gh-96168: Improve sqlite3 dict_factory example (#96457)Erlend E. Aasland2022-09-011-18/+9
| | | | Co-authored-by: C.A.M. Gerlach <CAM.Gerlach@Gerlach.CAM> Co-authored-by: Ezio Melotti <ezio.melotti@gmail.com>
* gh-93554: Conditional jump opcodes only jump forward (GH-96318)Irit Katriel2022-09-0113-448/+298
|
* gh-96455: update example in exception_handling_notes.txt to the 3.11RC ↵Irit Katriel2022-09-011-25/+28
| | | | bytecode (GH-96456)
* gh-93678: apply remove_redundant_jumps in optimize_cfg (GH-96274)Irit Katriel2022-09-012-14/+36
|
* gh-96143: subprocess API %s/universal_newlines=/text=/g. (GH-96468)Gregory P. Smith2022-09-011-4/+4
| | | | | minor missed test cleanup to use the modern API from the big review. Automerge-Triggered-By: GH:gpshead
* GH-96079 Fix missing field name for _AnnotatedAlias (#96080)Anh71me2022-08-313-1/+6
|
* gh-96408: Document difference between set-like view and sets. (GH-96439)Piotr Kaznowski2022-08-311-1/+5
|
* gh-89258: Add a getChildren() method to logging.Logger. (GH-96444)Vinay Sajip2022-08-314-0/+47
| | | Co-authored-by: Éric <merwok@netwok.org>
* gh-96414: Inline code examples in sqlite3 docs (#96442)Erlend E. Aasland2022-08-3115-349/+380
|
* gh-95865: Speed up urllib.parse.quote_from_bytes() (GH-95872)Dennis Sweeney2022-08-312-1/+2
|
* Remove the binary_subscr_dict_error label (GH-96443)Brandt Bucher2022-08-301-11/+4
|
* gh-96408: Test set operation on items dict view. (GH-96438)Filip Łajszczak2022-08-301-0/+18
|
* Docs: normalise sqlite3 placeholder how-to heading (#96413)Erlend E. Aasland2022-08-301-2/+2
|
* gh-96143: Add some comments and minor fixes missed in the original PR (#96433)Pablo Galindo Salgado2022-08-304-1/+17
| | | | | | | | | * gh-96132: Add some comments and minor fixes missed in the original PR * Update Doc/using/cmdline.rst Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com> Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
* Automatically update more GitHub projects. (#94921)Ezio Melotti2022-08-301-4/+12
| | | | | | | | | | | * Automatically update the `asyncio` GitHub project. * Use a matrix to add issues to projects. * Remove trailing whitespace. Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com> Co-authored-by: Hugo van Kemenade <hugovk@users.noreply.github.com>
* gh-95149: Enhance `http.HTTPStatus` with properties that indicate the HTTP ↵Alexandru Mărășteanu2022-08-305-1/+93
| | | | status category (GH-95453)
* Fix regeneration of global objects through the Windows build files (GH-96394)Kumar Aditya2022-08-301-1/+8
|
* gh-95987: Fix `repr` of `Any` type subclasses (#96412)Nikita Sobolev2022-08-303-1/+10
|
* gh-96143: Allow Linux perf profiler to see Python calls (GH-96123)Pablo Galindo Salgado2022-08-3024-2/+1412
| | | | | | | :warning: :warning: Note for reviewers, hackers and fellow systems/low-level/compiler engineers :warning: :warning: If you have a lot of experience with this kind of shenanigans and want to improve the **first** version, **please make a PR against my branch** or **reach out by email** or **suggest code changes directly on GitHub**. If you have any **refinements or optimizations** please, wait until the first version is merged before starting hacking or proposing those so we can keep this PR productive.
* GH-95245: Document use of `MANAGED` flags instead of offsets. (GH-96044)Mark Shannon2022-08-304-79/+78
|
* gh-95337: update TypeVarTuple example (#95338)Adrian Garcia Badaracco2022-08-301-8/+13
| | | Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
* gh-96349: fix minor performance regression initializing threading.Event ↵Daniel Giger2022-08-302-9/+4
| | | | (gh-96350)
* gh-95413: Remove references to deprecated CGI library (#95414)partev2022-08-302-3/+3
|
* Docs: Improve clarity for bytes.hex() (#95257)Tim Burke2022-08-301-3/+4
|
* Doc: Update Py_TPFLAGS_HAVE_FINALIZE in docs (GH-96273)da-woods2022-08-301-3/+6
| | | It is now deprecated and the docs should reflect that.
* gh-96385: Correctly raise error on `[*T, *V]` substitution (GH-96386)Nikita Sobolev2022-08-303-1/+7
|
* gh-46845: clean up unused DK_IXSIZE (GH-96405)Matthias Görgens2022-08-301-9/+0
|
* gh-95853: Improve WASM build script (GH-96389)Christian Heimes2022-08-302-14/+195
| | | | | | | - pre-build Emscripten ports and system libraries - check for broken EMSDK versions - use EMSDK's node for wasm32-emscripten - warn when PKG_CONFIG_PATH is set - add support level information
* gh-96320: WASI socket fixes (#96388)Christian Heimes2022-08-303-3/+7
| | | | | | | | * gh-96320: WASI socket fixes - ignore missing functions in ``socket.__repr__`` - bundle network files with assets * blurb
* Docs: normalize SQL style in sqlite3 docs (#96403)Erlend E. Aasland2022-08-291-7/+7
|
* gh-91305: Add a note about DatagramHandler and DNS latency. (GH-96380)Vinay Sajip2022-08-291-0/+7
|
* GH-74116: Allow multiple drain waiters for asyncio.StreamWriter (GH-94705)Kumar Aditya2022-08-293-19/+36
|
* Improve accuracy for Spearman's rank correlation coefficient. (#96392)Raymond Hettinger2022-08-291-3/+4
|
* gh-94682: Build and test with OpenSSL 1.1.1q (gh-94683)Christian Heimes2022-08-299-20/+27
|
* ast.parse: check `feature_version` common case first (GH-94640)Anthony Sottile2022-08-291-3/+3
|
* Fix Py_INCREF() statistics in limited C API 3.10 (#96120)Victor Stinner2022-08-291-1/+1
| | | | | In the limited C API with a debug build, Py_INCREF() is implemented by calling _Py_IncRef() which calls Py_INCREF(). Only call _Py_INCREF_STAT_INC() once.
* gh-90814: Correct NEWS wording re. optional C11 features (GH-96309)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 (#96225)Erlend E. Aasland2022-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
* gh-96191: Update the configure file to use GitHub issue (gh-96211)Dong-hee Na2022-08-292-17/+17
|
* Prepare private _rank() function to be made public. (#96372)Raymond Hettinger2022-08-291-5/+15
|
* gh-96357: Improve `typing.get_overloads` coverage (#96358)Nikita Sobolev2022-08-291-0/+3
|
* gh-95950: Add a test for both `csv.Dialect` and `kwargs` (#95951)Nikita Sobolev2022-08-291-0/+28
|
* GH-96359: Fix docs that claim int(0|1) doesn't match False (GH-96361)Jonathan Oberländer2022-08-281-1/+1
|