Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-40701: tempfile mixes str and bytes in an inconsistent manner (GH-20442) | Eric L | 2021-03-03 | 4 | -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 Galindo | 2021-03-03 | 1 | -0/+5 |
| | |||||
* | bpo-43162: [Enum] update docs, renable doc tests (GH-24487) | Ethan Furman | 2021-03-03 | 3 | -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 Michael | 2021-03-03 | 3 | -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 Felisiak | 2021-03-03 | 3 | -6/+8 |
| | | | Regression introduced in 47feb1feb28631b6647699b7633109aa85340966. | ||||
* | missing multiply symbol in the documentation (GH-24686) | Alperen Serkan Aksöz | 2021-03-03 | 1 | -1/+1 |
| | |||||
* | Doc: typo fix. (GH-24721) | Julien Palard | 2021-03-03 | 1 | -2/+2 |
| | |||||
* | Pin test runner to Ubuntu 18 to un-break CI (#24715) | Brandt Bucher | 2021-03-03 | 1 | -1/+1 |
| | |||||
* | Reorder contents of 3.10's What's New (#24687) | Ken Jin | 2021-03-03 | 1 | -113/+129 |
| | |||||
* | bpo-42994: Add MIME types for opus, AAC, 3gpp and 3gpp2 (#24287) | Nathan Beals | 2021-03-03 | 2 | -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 Luk | 2021-03-02 | 3 | -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 Donis | 2021-03-02 | 1 | -6/+3 |
| | | | | | (GH-24359) Followup to bpo-1812 and GH-17385. | ||||
* | bpo-43358: Fix bad free in assemble function (GH-24697) | Alex Henrie | 2021-03-02 | 1 | -2/+2 |
| | |||||
* | bpo-39523: Use do-while loop pysqlite_cursor_executescript() (GH-18305) | Alex Henrie | 2021-03-02 | 1 | -3/+2 |
| | |||||
* | bpo-41282: distutils: Fix stacklevel for DeprecationWarning (GH-24657) | Inada Naoki | 2021-03-02 | 2 | -1/+3 |
| | | | DeprecationWarning is emit for `import distutils`, not for `distutils` itself. | ||||
* | Doc: Improve library/json document. (GH-24390) | Adorilson Bezerra | 2021-03-02 | 1 | -7/+6 |
| | |||||
* | bpo-42840: Document providing kwargs to type. (#24173) | Erik Soma | 2021-03-01 | 1 | -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 Lasne | 2021-03-01 | 1 | -0/+1 |
| | | | | | See https://github.com/sphinx-doc/sphinx/issues/8932 Co-authored-by: tk0miya <i.tkomiya@gmail.com> | ||||
* | Post 3.10.0a6 | Pablo Galindo | 2021-03-01 | 1 | -1/+1 |
| | |||||
* | Merge tag 'v3.10.0a6' | Pablo Galindo | 2021-03-01 | 57 | -5117/+8630 |
|\ | | | | | | | Python 3.10.0a6 | ||||
| * | Remove unused suspicious rule in the docsv3.10.0a6 | Pablo Galindo | 2021-03-01 | 5 | -4998/+8092 |
| | | |||||
| * | Python 3.10.0a6 | Pablo Galindo | 2021-03-01 | 52 | -119/+538 |
| | | |||||
* | | Fix grammar in enum documentation. (GH-24689) | Mariatta Wijaya | 2021-03-01 | 1 | -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 Ashimine | 2021-03-01 | 1 | -1/+1 |
| | | | targetting -> targeting | ||||
* | closes bpo-43349: Fix tuning(7) manpage hyperlink. (GH-24680) | Erlend Egeberg Aasland | 2021-03-01 | 1 | -1/+3 |
| | |||||
* | bpo-11717: fix ssize_t redefinition error when targeting 32bit Windows app ↵ | Jozef Grajciar | 2021-03-01 | 5 | -179/+181 |
| | | | | (GH-24479) | ||||
* | bpo-41837: Update macOS installer build to use OpenSSL 1.1.1j. (GH-24677) | Ned Deily | 2021-03-01 | 2 | -3/+4 |
| | |||||
* | bpo-43103: Fix build failure with macOS framework builds. (GH-24676) | Ned Deily | 2021-03-01 | 2 | -2/+2 |
| | |||||
* | bpo-42603: Add whatsnew and ACKS entries. (GH-24675) | Ned Deily | 2021-03-01 | 2 | -0/+7 |
| | |||||
* | bpo-42128: Add documentation for pattern matching (PEP 634) (#24664) | Daniel F Moisset | 2021-03-01 | 5 | -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 Stamatogiannakis | 2021-03-01 | 4 | -18/+61 |
| | |||||
* | bpo-42128: Add documentation for the new match-based AST nodes (GH-24673) | Pablo Galindo | 2021-03-01 | 1 | -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 Willing | 2021-02-28 | 1 | -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íns | 2021-02-28 | 3 | -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 Galindo | 2021-02-28 | 5 | -11/+49 |
| | | | | suite (GH-24643) | ||||
* | Add whatsnew note for GH-22904 (#24672) | Dennis Sweeney | 2021-02-28 | 1 | -0/+5 |
| | |||||
* | bpo-41972: Use the two-way algorithm for string searching (GH-22904) | Dennis Sweeney | 2021-02-28 | 4 | -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 Aasland | 2021-02-28 | 2 | -24/+31 |
| | |||||
* | bpo-43345: Enhance TypedDict documentation. (#24668) | Paul Bryan | 2021-02-28 | 1 | -12/+13 |
| | |||||
* | bpo-43335: Update macro to check gcc version (GH-24662) | Dong-hee Na | 2021-02-28 | 1 | -2/+2 |
| | |||||
* | bpo-43321: Fix SystemError in getargs.c (GH-24656) | Inada Naoki | 2021-02-27 | 2 | -2/+4 |
| | |||||
* | bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917) | Brandt Bucher | 2021-02-26 | 43 | -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 ↵ | Alex | 2021-02-26 | 4 | -21/+73 |
| | | | | (#16459) | ||||
* | bpo-43294: Remove unused variables in pysqlite_connection_*() (GH-24658) | Erlend Egeberg Aasland | 2021-02-26 | 1 | -6/+4 |
| | |||||
* | bpo-43317: Use io.DEFAULT_BUFFER_SIZE instead of 1024 in gzip CLI (#24645) | Ruben Vorderman | 2021-02-26 | 2 | -1/+4 |
| | | | This improves the performance slightly. | ||||
* | Update logging.config.rst (GH-24630) | takahashi | 2021-02-26 | 1 | -1/+1 |
| | | | | | # a typo fix Automerge-Triggered-By: GH:vsajip | ||||
* | closes bpo-43278: remove unnecessary leading '\n' from COMPILER when build ↵ | Joseph Shen | 2021-02-26 | 2 | -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 Askar | 2021-02-26 | 1 | -0/+1 |
| | | | Co-authored-by: Arkadiusz Miśkiewicz <arekm@maven.pl> | ||||
* | bpo-43316: gzip: Fix sys.exit() usage. (GH-24652) | Inada Naoki | 2021-02-26 | 2 | -2/+2 |
| | |||||
* | bpo-43314: Remove SQLITE_OPEN_URI ifdef (GH-24637) | Erlend Egeberg Aasland | 2021-02-26 | 1 | -11/+0 |
| | | | | | SQLite 3.7.15 is required as by GH-24106. SQLITE_OPEN_URI was added in SQLite 3.7.7. |