summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Eliminate duplicated calculations and unnecessary work for linear regression ↵Raymond Hettinger2021-05-061-2/+7
| | | | (GH-25922)
* bpo-38820: Test with OpenSSL 3.0.0-alpha16 (GH-25942)Christian Heimes2021-05-062-45/+12
| | | Also use new make target to install FIPS provider.
* bpo-44017: Update test_contextlib_async not to emit DeprecationWarn (GH-25918)Dong-hee Na2021-05-062-9/+6
|
* bpo-43882 Remove the newline, and tab early. From query and fragments. ↵Senthil Kumaran2021-05-052-11/+21
| | | | (GH-25921)
* bpo-44022: Fix http client infinite line reading (DoS) after a HTTP 100 ↵Gen Xu2021-05-053-18/+32
| | | | | | | Continue (GH-25916) Fixes http.client potential denial of service where it could get stuck reading lines from a malicious server after a 100 Continue response. Co-authored-by: Gregory P. Smith <greg@krypto.org>
* bpo-36515: Disable unaligned memory access in _sha3 on ARM (GH-25927)Gregory P. Smith2021-05-052-0/+7
| | | | | Contributed-By: Matthias Klose Automerge-Triggered-By: GH:tiran
* bpo-35753: Fix crash in doctest with unwrap-able functions (#22981)Alfred Perlstein2021-05-053-3/+29
| | | | | | | | | Ignore objects that inspect.unwrap throws due to too many wrappers. This is a very rare case, however it can easily be surfaced when a module under doctest imports unitest.mock.call into its namespace. We simply skip any object that throws this exception. This should handle the majority of cases.
* bpo-43795: Mark PyCodec_Unregister as a function, not data, in stable ABI ↵Petr Viktorin2021-05-053-2/+4
| | | | (GH-25920)
* typing: format patch with make patchcheck (GH-25919)Dong-hee Na2021-05-051-1/+1
|
* bpo-44040: Update broken link in pathlib source (GH-25905)Kevin Follstad2021-05-051-6/+6
|
* Eliminate duplicated assignment in _randommodule.c (GH-25904)Brad Larsen2021-05-051-1/+1
|
* bpo-40521: Convert deque freelist from global vars to instance vars (GH-25906)Raymond Hettinger2021-05-052-28/+34
|
* bpo-40297: Fix test_socket.CANTest.testSendFrame (GH-19548)karl ding2021-05-041-2/+1
| | | | | | | | | | The address tuple for CAN_RAW no longer returns the address family after the introduction of CAN ISO-TP support in a30f6d45ac3. However, updating test_socket.CANTest.testSendFrame was missed as part of the change, so the test incorrectly attempts to index past the last tuple item to retrieve the address family. This removes the now-redundant check for equality against socket.AF_CAN, as the tuple will not contain the address family.
* Clarify rx parameter of compileall functions (#25857)Jean-Abou-Samra2021-05-041-4/+6
|
* Fix inconsistent fsum vs sum and fmean vs mean (GH-25898)Raymond Hettinger2021-05-041-3/+3
|
* Fix typo in ast.py (GH-25740)Ikko Ashimine2021-05-041-2/+2
| | | parantheses -> parentheses
* bpo-42686: Enable SQLite math functions in Windows build (#24053)Erlend Egeberg Aasland2021-05-042-1/+2
|
* bpo-32822: Add finally with return/break/continue to the tutorial (#25600)Roberto Hueso2021-05-042-0/+5
| | | | | This documents in the tutorial docs the behavior of a finally clause in case it should re-raise an exception but contains a return/break/continue statement.
* Fix error in Enum documentation example code that was referring to the wrong ↵krisaoe2021-05-041-1/+1
| | | | enum. (#25837)
* Add C-API tests (#25886)Ken Jin2021-05-042-0/+23
|
* bpo-38352: Add to typing.__all__ (#25821)Jelle Zijlstra2021-05-042-0/+9
| | | | | | This adds IO, TextIO, BinaryIO, Match, and Pattern. Co-authored-by: Łukasz Langa <lukasz@langa.pl> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* Copyedits to 3.10 What's New (#25787)Jelle Zijlstra2021-05-041-46/+46
| | | Co-authored-by: Dominic Davis-Foster <dominic@davis-foster.co.uk>
* bpo-44025: Clarify when '_' is a keyword. (#25873)Terry Jan Reedy2021-05-042-2/+5
| | | | | In match statements, in case patterns and nowhere else. Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
* bpo-40465: Remove random module features deprecated in 3.9 (GH-25874)Raymond Hettinger2021-05-044-64/+25
|
* bpo-44001: improve Literal documentation (GH-25877)Jelle Zijlstra2021-05-043-5/+5
|
* bpo-43666: Lib/_aix_support.py routines may fail in a WPAR environment ↵Michael Felt2021-05-042-12/+20
| | | | | | | | | (GH-25095) Since WPAR and LPAR both have a builddate for teh fileset bos.rte The name of the fileset checked is modified. To prevent a similiar situation (no builddate in ODM) a value sufficient for pep425 activity if retrieved buildate is zero or NULL Patch by M Felt.
* update docstring for `win_getpass` to reflect code changes (GH-24967)Jürgen Gmach2021-05-041-1/+1
| | | | | | | The code was updated in https://github.com/python/cpython/commit/0ec88b33d093db00ec68b220247681354a650f0c but the docstring was left untouched. => updated the docstring to reflect the code changes
* fix enum.property reference in docs (GH-25875)Jelle Zijlstra2021-05-041-1/+1
|
* fix enum and backslash warnings (GH-25861)Ethan Furman2021-05-042-2/+2
| | | | - Enum warning in test_faulthandler - backslash warning in test_ipaddress
* build(deps): bump actions/cache from v2.1.4 to v2.1.5 (#25773)dependabot[bot]2021-05-041-2/+2
| | | | | | | | | Bumps [actions/cache](https://github.com/actions/cache) from v2.1.4 to v2.1.5. - [Release notes](https://github.com/actions/cache/releases) - [Commits](https://github.com/actions/cache/compare/v2.1.4...1a9e2138d905efd099035b49d8b7a3888c653ca8) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* build(deps): bump actions/upload-artifact from v2.2.2 to v2.2.3 (#25772)dependabot[bot]2021-05-041-1/+1
| | | | | | | | | Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from v2.2.2 to v2.2.3. - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v2.2.2...ee69f02b3dfdecd58bb31b4d133da38ba6fe3700) Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* bpo-43822: Prioritize tokenizer errors over custom syntax errors when ↵Pablo Galindo2021-05-043-1/+6
| | | | raising parser exceptions (GH-25866)
* Correct the version of the first alpha in the README.rst (GH-25862)Pablo Galindo2021-05-031-1/+1
|
* bpo-44018: random.seed() no longer mutates its inputs (GH-25856)Raymond Hettinger2021-05-033-2/+7
|
* Update CI files to account for the master -> main rename (GH-25860)Pablo Galindo2021-05-0315-2040/+1881
|
* Python 3.11.0a0Pablo Galindo2021-05-036-13/+13
|
* Remove Enum warnings from test_httpservers (GH-25844)Shreyan Avigyan2021-05-031-2/+2
|
* bpo-38530: Refactor and improve AttributeError suggestions (GH-25776)Dennis Sweeney2021-05-034-77/+303
| | | | | | | | | | | | | | | | | | | | - Make case-swaps half the cost of any other edit - Refactor Levenshtein code to not use memory allocator, and to bail early on no match. - Add comments to Levenshtein distance code - Add test cases for Levenshtein distance behind a debug macro - Set threshold to `(name_size + item_size + 3) * MOVE_COST / 6`. - Reasoning: similar to `difflib.SequenceMatcher.ratio()` >= 2/3: ``` "Multiset Jaccard similarity" >= 2/3 matching letters / total letters >= 2/3 (name_size - distance + item_size - distance) / (name_size + item_size) >= 2/3 1 - (2*distance) / (name_size + item_size) >= 2/3 1/3 >= (2*distance) / (name_size + item_size) (name_size + item_size) / 6 >= distance With rounding: (name_size + item_size + 3) // 6 >= distance ``` Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* bpo-43943: ssl tests: Increase server socket timeout, backlog, debugging ↵Christian Heimes2021-05-031-5/+11
| | | | | (GH-25850) Signed-off-by: Christian Heimes <christian@python.org>
* bpo-44011: Revert "New asyncio ssl implementation (GH-17975)" (GH-25848)Pablo Galindo2021-05-0312-2480/+527
| | | | This reverts commit 5fb06edbbb769561e245d0fe13002bab50e2ae60 and all subsequent dependent commits.
* bpo-43754: Fix compiler warning in Python/compile.c (GH-25855)Pablo Galindo2021-05-031-1/+1
| | | | | This fixes the following warning: 'initializing': conversion from 'Py_ssize_t' to 'int', possible loss of data [D:\a\cpython\cpython\PCbuild\pythoncore.vcxproj]
* bpo-43916: Move the _PyStructSequence_InitType function to the internal API ↵Pablo Galindo2021-05-0310-9/+26
| | | | (GH-25854)
* Doc: Fix random.uniform example comment. (GH-25784)Julien Palard2021-05-031-1/+1
|
* Increase test timeout (GH-25842)Andrew Svetlov2021-05-031-3/+3
|
* bpo-42725: Render annotations effectless on symbol table with PEP 563 (GH-25583)Batuhan Taskaya2021-05-035-18/+149
|
* bpo-44011: Fix asyncio tests without ssl module (GH-25840)Christian Heimes2021-05-032-3/+9
| | | Signed-off-by: Christian Heimes <christian@python.org>
* bpo-44015: dataclasses should allow KW_ONLY to be specified only once per ↵Eric V. Smith2021-05-033-0/+83
| | | | | class (GH-25841) bpo-44015: Raise a TypeError if KW_ONLY is specified more than once.
* dataclasses docs: add a missing word. (GH-25839)Eric V. Smith2021-05-031-1/+1
|
* More clarification of kw_only args. (GH-25838)Eric V. Smith2021-05-031-13/+20
| | | Also, clarify that the dataclass decorator is what raises an error for some mutable defaults.
* Update macOS installer welcome and readme for 3.10b1 (GH-25835)Ned Deily2021-05-032-8/+28
|