summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-44002: Switch to lru_cache in urllib.parse. (GH-25798)Gregory P. Smith2021-05-123-31/+50
| | | | | | | | | | | | Switch to lru_cache in urllib.parse. urllib.parse now uses functool.lru_cache for its internal URL splitting and quoting caches instead of rolling its own like its the 90s. The undocumented internal Quoted class API is now deprecated as it had no reason to be public and no existing OSS users were found. The clear_cache() API remains undocumented but gets an explicit test as it is used in a few projects' (twisted, gevent) tests as well as our own regrtest.
* bpo-44061: Fix pkgutil.iter_modules regression when passed a pathlib.Path ↵Miguel Brito2021-05-113-0/+49
| | | | object (GH-25964)
* bpo-28528: Fix pdb.checkline() attribute error when 'curframe' is None. (#25438)Erlend Egeberg Aasland2021-05-113-1/+42
| | | | Co-authored-by: Thomas Kluyver <takowl@gmail.com>
* Correct the changelog entry for the syntax error message for multiple ↵Thomas Grainger2021-05-111-1/+1
| | | | exception types (GH-26038)
* Fix import of HTTPError (GH-22304)Sebastian Rittau2021-05-112-2/+3
| | | Import HTTPError from urllib.error instead of urllib.request.
* bpo-10548: expectedFailure does not apply to fixtures (#23201)Irit Katriel2021-05-111-2/+3
|
* bpo-23750: Document os-system, subprocess. Patch by Martin Panter. (GH-26016)uniocto2021-05-112-5/+11
| | | | | | | | | * Document os-system, subprocess Patch * Update Doc/library/os.rst Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* bpo-25821: Fix inaccuracy in threading.enumerate/is_alive documentation (#23192)Irit Katriel2021-05-112-6/+7
|
* bpo-43795: PEP 652 user documentation (GH-25668)Petr Viktorin2021-05-117-1105/+1188
| | | | | | - Reformat the C API and ABI Versioning page (and extend/clarify a bit) - Rewrite the stable ABI docs into a general text on C API Compatibility - Add a list of Limited API contents, and notes for the individual items. - Replace `Include/README.rst` with a link to a devguide page with the same info
* Doc: http.server: directory is not a class attribute, but an argument. ↵Julien Palard2021-05-111-8/+8
| | | | | (GH-26017) * Doc: http.server: directory is not a class attribute, but an argument.
* bpo-43743 add comment stating _USE_CP_SENDFILE should not be removed (#26024)Giampaolo Rodola2021-05-101-0/+2
|
* bpo-44074: let patchcheck infer the base branch name (GH-25991)Leonardo Lai2021-05-102-4/+27
|
* bpo-43558: Add note about base class initialization to dataclasses doc ↵dhoekstra20002021-05-103-0/+24
| | | | (GH-25967)
* Prevent access outside buffer (GH-26012)Dennis Sweeney2021-05-101-3/+5
|
* Revert test for Tix deprecation warning (GH-26005)Zachary Ware2021-05-091-6/+3
| | | | | | Added in bpo-41730 (GH-22186), the test apparently causes refleaks. The test isn't worth hunting them down, so it's simply reverted. This partially reverts commit 4a2d98a1e98de25c5114d11fcb0f9fedbb057e51.
* Fix a word in dataclasses docs. (GH-26003)Eric V. Smith2021-05-091-1/+1
|
* bpo-43417: Better buffer handling for ast.unparse (GH-24772)Batuhan Taskaya2021-05-082-65/+86
|
* bpo-28307: Convert simple C-style formatting with literal format into ↵Serhiy Storchaka2021-05-084-2165/+2390
| | | | | | | | | | | f-string. (GH-5012) C-style formatting with literal format containing only format codes %s, %r and %a (with optional width, precision and alignment) will be converted to an equivalent f-string expression. It can speed up formatting more than 2 times by eliminating runtime parsing of the format string and creating temporary tuple.
* bpo-43149: Correct the syntax error message for multiple exception types ↵Pablo Galindo2021-05-085-8/+10
| | | | | (GH-25996) Automerge-Triggered-By: GH:pablogsal
* Update references to master to point to main in customsourcelink.html (GH-25993)Pablo Galindo2021-05-081-1/+1
|
* bpo-42725: mention the changes on what's new (GH-25974)Batuhan Taskaya2021-05-081-0/+10
|
* bpo-31904: Correct error string in test_file_not_exists() for VxWorks (GH-25965)pxinwr2021-05-082-1/+2
| | | The error string on VxWorks is "no such file or directory" for FileNotFoundError. That is, the 1st letter of the error string has lower case.
* Fix make libainstall. (GH-25980)Senthil Kumaran2021-05-081-1/+1
| | | Initial patch by Benno Leslie.
* Fix the whatsnew/3.11.rst to link to the blurb-generated changelog. (GH-25979)Ned Deily2021-05-081-1/+1
|
* Update the SOURCE_URI in pyspecific.py to point to the new branch (GH-25977)Pablo Galindo2021-05-081-1/+1
|
* Add the blurbify of the 3.10.0b1 changelog to the main branch (GH-25976)Ned Deily2021-05-08169-443/+1807
|
* Do not use Py_ssize_clean_t (GH-25940)Inada Naoki2021-05-089-56/+46
|
* bpo-44026: Idle - display interpreter's 'did you mean' hints (GH-25912)E-Paine2021-05-074-5/+63
| | | | | | | A C function accessible by the default exception handler, but not by python code, finds the existing name closest to the name causing a name or attribute error. For such errors, call the default handler after capturing stderr and retrieve its message line. Co-authored-by: Terry Jan Reedy <tjreedy@udel.edu>
* bpo-44063: set the missing end locations on the compiler (GH-25956)Batuhan Taskaya2021-05-072-5/+20
|
* bpo-41730: Show deprecation warnings for tkinter.tix (GH-22186)wyz23x22021-05-073-6/+19
| | | | Co-authored-by: E-Paine <63801254+E-Paine@users.noreply.github.com> Co-authored-by: Zachary Ware <zach@python.org>
* bpo-40222: "Zero cost" exception handling (GH-25729)Mark Shannon2021-05-0730-5688/+6615
| | | | | | | | "Zero cost" exception handling. * Uses a lookup table to determine how to handle exceptions. * Removes SETUP_FINALLY and POP_TOP block instructions, eliminating (most of) the runtime overhead of try statements. * Reduces the size of the frame object by about 60%.
* Simple Enhancement. Add missing return statements in ftplib documentation. ↵Senthil Kumaran2021-05-071-0/+2
| | | | (GH-25968)
* bpo-44047: Remove unused argument to _pysqlite_seterror (GH-25915)Erlend Egeberg Aasland2021-05-074-22/+23
|
* Doc: What's new in Python 3.11 (GH-25963)Julien Palard2021-05-072-0/+114
|
* bpo-44029: Remove Py_UNICODE APIs (GH-25881)Inada Naoki2021-05-0711-840/+15
| | | | | | | | | | | | Remove deprecated `Py_UNICODE` APIs: `PyUnicode_Encode`, `PyUnicode_EncodeUTF7`, `PyUnicode_EncodeUTF8`, `PyUnicode_EncodeUTF16`, `PyUnicode_EncodeUTF32`, `PyUnicode_EncodeLatin1`, `PyUnicode_EncodeMBCS`, `PyUnicode_EncodeDecimal`, `PyUnicode_EncodeRawUnicodeEscape`, `PyUnicode_EncodeCharmap`, `PyUnicode_EncodeUnicodeEscape`, `PyUnicode_TransformDecimalToASCII`, `PyUnicode_TranslateCharmap`, `PyUnicodeEncodeError_Create`, `PyUnicodeTranslateError_Create`. See :pep:`393` and :pep:`624` for reference.
* bpo-40943: Fix skipitem() didn't raise SystemError (GH-25937)Inada Naoki2021-05-073-11/+32
| | | | `convertitem()` raises `SystemError` when '#' is used without `PY_SSIZE_T_CLEAN`. This commit makes `skipitem()` raise it too.
* Fix minor grammar problems in dataclasses documentation (GH-25948)Scott Noyes2021-05-061-7/+7
| | | Some missing words; some odd word choices.
* docs: clearly document that ":#X" string formatting results in "0X..." ↵Tal Einat2021-05-061-2/+4
| | | | | | | (GH-25941) * clearly document that ":#X" string formatting results in "0X..." * put back the "serial comma"
* bpo-43972: Set content-length to 0 for http.server.SimpleHTTPRequestHandler ↵Stephen Rosen2021-05-063-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | 301s (GH-25705) * Set content-length for simple http server 301s When http.server.SimpleHTTPRequestHandler sends a 301 (Moved Permanently) due to a missing file, it does not set a Content-Length of 0. Unfortunately, certain clients can be left waiting for the connection to be closed in this circumstance, even though no body will be sent. At time of writing, both curl and Firefox demonstrate this behavior. * Test Content-Length on simple http server redirect When serving a redirect, the SimpleHTTPRequestHandler will now send `Content-Length: 0`. Several tests for http.server already cover various behaviors and checks including redirection. This change only adds one check for the expected Content-Length on the simplest case for a redirect. * Add news entry for SimpleHTTPRequestHandler fix * Clarify the specific kind of 301 Co-authored-by: Senthil Kumaran <skumaran@gatech.edu>
* bpo-44059: Register the SerenityOS Browser in the webbrowser module (GH-25947)Linus Groh2021-05-063-0/+6
| | | Automerge-Triggered-By: GH:gpshead
* 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
|