summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-40701: tempfile mixes str and bytes in an inconsistent manner (GH-20442)Eric L2021-03-034-10/+98
| | | | | | | | | | | The case of tempfile.tempdir variable being bytes is now handled consistently. The getters return the right type and no more error of mixing str and bytes unless explicitly caused by the user. Adds a regression test. Expands the documentation to clarify the behavior. Co-authored-by: Eric L <ewl+git@lavar.de> Co-authored-by: Gregory P. Smith <greg@krypto.org>
* Add an attribution to the Green Tree Snakes in the AST docs (GH-24727)Pablo Galindo2021-03-031-0/+5
|
* bpo-43162: [Enum] update docs, renable doc tests (GH-24487)Ethan Furman2021-03-033-9/+10
| | | | * update docs, renable doc tests * make deprecation warning active for two releases
* bpo-43295: Fix error handling of datetime.strptime format string '%z' (GH-24627)Noor Michael2021-03-033-1/+4
| | | | | | | | | | | | | Previously, `datetime.strptime` would match `'z'` with the format string `'%z'` (for UTC offsets), throwing an `IndexError` by erroneously trying to parse `'z'` as a timestamp. As a special case, `'%z'` matches the string `'Z'` which is equivalent to the offset `'+00:00'`, however this behavior is not defined for lowercase `'z'`. This change ensures a `ValueError` is thrown when encountering the original example, as follows: ``` >>> from datetime import datetime >>> datetime.strptime('z', '%z') ValueError: time data 'z' does not match format '%z' ``` Automerge-Triggered-By: GH:pganssle
* bpo-43368: Fix fetching empty bytes in sqlite3 (GH-24706)Mariusz Felisiak2021-03-033-6/+8
| | | Regression introduced in 47feb1feb28631b6647699b7633109aa85340966.
* missing multiply symbol in the documentation (GH-24686)Alperen Serkan Aksöz2021-03-031-1/+1
|
* Doc: typo fix. (GH-24721)Julien Palard2021-03-031-2/+2
|
* Pin test runner to Ubuntu 18 to un-break CI (#24715)Brandt Bucher2021-03-031-1/+1
|
* Reorder contents of 3.10's What's New (#24687)Ken Jin2021-03-031-113/+129
|
* bpo-42994: Add MIME types for opus, AAC, 3gpp and 3gpp2 (#24287)Nathan Beals2021-03-032-0/+10
| | | Co-authored-by: Nathan Beals <ndbeals@users.noreply.github.com>
* bpo-42782: Fail fast for permission errors in shutil.move() (GH-24001)Winson Luk2021-03-023-0/+50
| | | | | * Fail fast in shutil.move() to avoid creating destination directories on failure. Co-authored-by: Zackery Spytz <zspytz@gmail.com>
* bpo-43049: Use io.IncrementalNewlineDecoder for doctest newline conversion ↵Peter Donis2021-03-021-6/+3
| | | | | (GH-24359) Followup to bpo-1812 and GH-17385.
* bpo-43358: Fix bad free in assemble function (GH-24697)Alex Henrie2021-03-021-2/+2
|
* bpo-39523: Use do-while loop pysqlite_cursor_executescript() (GH-18305)Alex Henrie2021-03-021-3/+2
|
* bpo-41282: distutils: Fix stacklevel for DeprecationWarning (GH-24657)Inada Naoki2021-03-022-1/+3
| | | DeprecationWarning is emit for `import distutils`, not for `distutils` itself.
* Doc: Improve library/json document. (GH-24390)Adorilson Bezerra2021-03-021-7/+6
|
* bpo-42840: Document providing kwargs to type. (#24173)Erik Soma2021-03-011-1/+8
| | | Co-authored-by: Ken Jin <28750310+Fidget-Spinner@users.noreply.github.com>
* Fixed linenumber missing when audit hook has an error (GH-24692)Jules Lasne2021-03-011-0/+1
| | | | | See https://github.com/sphinx-doc/sphinx/issues/8932 Co-authored-by: tk0miya <i.tkomiya@gmail.com>
* Post 3.10.0a6Pablo Galindo2021-03-011-1/+1
|
* Merge tag 'v3.10.0a6'Pablo Galindo2021-03-0157-5117/+8630
|\ | | | | | | Python 3.10.0a6
| * Remove unused suspicious rule in the docsv3.10.0a6Pablo Galindo2021-03-015-4998/+8092
| |
| * Python 3.10.0a6Pablo Galindo2021-03-0152-119/+538
| |
* | Fix grammar in enum documentation. (GH-24689)Mariatta Wijaya2021-03-011-1/+1
|/ | | | | | There is an extra `s` in the singular word `method`. Reported in docs mailing list by Steven Nguyen. Automerge-Triggered-By: GH:Mariatta
* Fix typo in Mac/README.rst (#24682)Ikko Ashimine2021-03-011-1/+1
| | | targetting -> targeting
* closes bpo-43349: Fix tuning(7) manpage hyperlink. (GH-24680)Erlend Egeberg Aasland2021-03-011-1/+3
|
* bpo-11717: fix ssize_t redefinition error when targeting 32bit Windows app ↵Jozef Grajciar2021-03-015-179/+181
| | | | (GH-24479)
* bpo-41837: Update macOS installer build to use OpenSSL 1.1.1j. (GH-24677)Ned Deily2021-03-012-3/+4
|
* bpo-43103: Fix build failure with macOS framework builds. (GH-24676)Ned Deily2021-03-012-2/+2
|
* bpo-42603: Add whatsnew and ACKS entries. (GH-24675)Ned Deily2021-03-012-0/+7
|
* bpo-42128: Add documentation for pattern matching (PEP 634) (#24664)Daniel F Moisset2021-03-015-3/+821
| | | | | | | | | This is a first edition, ready to go out with the implementation. We'll iterate during the rest of the period leading up to 3.10.0. Co-authored-by: Carol Willing <carolcode@willingconsulting.com> Co-authored-by: Fidget-Spinner <28750310+Fidget-Spinner@users.noreply.github.com> Co-authored-by: Brandt Bucher <brandt@python.org> Co-authored-by: Raymond Hettinger <1623689+rhettinger@users.noreply.github.com> Co-authored-by: Guido van Rossum <guido@python.org>
* bpo-42603: Use pkg-config to get TCL/TK paths for tkinter. (GH-23721)Manolis Stamatogiannakis2021-03-014-18/+61
|
* bpo-42128: Add documentation for the new match-based AST nodes (GH-24673)Pablo Galindo2021-03-011-0/+122
| | | | | | | | | | | * bpo-42128: Add documentation for the new match-based AST nodes * Update Doc/library/ast.rst Co-authored-by: Carol Willing <carolcode@willingconsulting.com> * Fix trailing whitespace Co-authored-by: Carol Willing <carolcode@willingconsulting.com>
* GH-42128: Add Pattern Matching to What's New (#24667)Carol Willing2021-02-281-0/+275
| | | | | | | | | | | * Add Pattern Matching to What's New * add review suggestions * fix stray indent * Add suggestions from gvr and lr * trim whitespace
* bpo-29753: fix merging packed bitfields in ctypes struct/union (GH-19850)Filipe Laíns2021-02-283-8/+91
| | | | | | | | | | From the commit message: > When the structure is packed we should always expand when needed, > otherwise we will add some padding between the fields. This patch makes > sure we always merge bitfields together. It also changes the field merging > algorithm so that it handles bitfields correctly. Automerge-Triggered-By: GH:jaraco
* bpo-37146: Deactivate opcode cache only when using huntrleaks in the test ↵Pablo Galindo2021-02-285-11/+49
| | | | suite (GH-24643)
* Add whatsnew note for GH-22904 (#24672)Dennis Sweeney2021-02-281-0/+5
|
* bpo-41972: Use the two-way algorithm for string searching (GH-22904)Dennis Sweeney2021-02-284-20/+941
| | | | | Implement an enhanced variant of Crochemore and Perrin's Two-Way string searching algorithm, which reduces worst-case time from quadratic (the product of the string and pattern lengths) to linear. This applies to forward searches (like``find``, ``index``, ``replace``); the algorithm for reverse searches (like ``rfind``) is not changed. Co-authored-by: Tim Peters <tim.peters@gmail.com>
* bpo-43251: sqlite3_column_name() failures now raise MemoryError (GH-24609)Erlend Egeberg Aasland2021-02-282-24/+31
|
* bpo-43345: Enhance TypedDict documentation. (#24668)Paul Bryan2021-02-281-12/+13
|
* bpo-43335: Update macro to check gcc version (GH-24662)Dong-hee Na2021-02-281-2/+2
|
* bpo-43321: Fix SystemError in getargs.c (GH-24656)Inada Naoki2021-02-272-2/+4
|
* bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)Brandt Bucher2021-02-2643-1444/+9704
| | | | | Co-authored-by: Guido van Rossum <guido@python.org> Co-authored-by: Talin <viridia@gmail.com> Co-authored-by: Pablo Galindo <pablogsal@gmail.com>
* bpo-38302: __pow__/__rpow__ now called when __ipow__ returns NotImplemented ↵Alex2021-02-264-21/+73
| | | | (#16459)
* bpo-43294: Remove unused variables in pysqlite_connection_*() (GH-24658)Erlend Egeberg Aasland2021-02-261-6/+4
|
* bpo-43317: Use io.DEFAULT_BUFFER_SIZE instead of 1024 in gzip CLI (#24645)Ruben Vorderman2021-02-262-1/+4
| | | This improves the performance slightly.
* Update logging.config.rst (GH-24630)takahashi2021-02-261-1/+1
| | | | | # a typo fix Automerge-Triggered-By: GH:vsajip
* closes bpo-43278: remove unnecessary leading '\n' from COMPILER when build ↵Joseph Shen2021-02-262-2/+3
| | | | | with GCC/Clang (GH-24606) Automerge-Triggered-By: GH:benjaminp
* bpo-43144: Mark unicodedata's test_normalization as requiring network (GH-24650)Ammar Askar2021-02-261-0/+1
| | | Co-authored-by: Arkadiusz Miśkiewicz <arekm@maven.pl>
* bpo-43316: gzip: Fix sys.exit() usage. (GH-24652)Inada Naoki2021-02-262-2/+2
|
* bpo-43314: Remove SQLITE_OPEN_URI ifdef (GH-24637)Erlend Egeberg Aasland2021-02-261-11/+0
| | | | | SQLite 3.7.15 is required as by GH-24106. SQLITE_OPEN_URI was added in SQLite 3.7.7.