Nathan Beals
3a87e562ea
bpo-42994: Add MIME types for opus, AAC, 3gpp and 3gpp2 ( #24287 )
...
Co-authored-by: Nathan Beals <ndbeals@users.noreply.github.com >
2021-03-02 16:20:18 -08:00
Winson Luk
132131b404
bpo-42782: Fail fast for permission errors in shutil.move() (GH-24001)
...
* Fail fast in shutil.move() to avoid creating destination directories on failure.
Co-authored-by: Zackery Spytz <zspytz@gmail.com >
2021-03-02 12:53:15 -08:00
Inada Naoki
5bfa945605
bpo-41282: distutils: Fix stacklevel for DeprecationWarning (GH-24657)
...
DeprecationWarning is emit for `import distutils`, not for `distutils` itself.
2021-03-02 11:49:10 +09:00
Pablo Galindo
06c245fb67
Python 3.10.0a6
2021-03-01 16:45:40 +00:00
Ned Deily
0242494a15
bpo-41837: Update macOS installer build to use OpenSSL 1.1.1j. (GH-24677)
2021-03-01 02:39:08 -05:00
Ned Deily
a65b050516
bpo-42603: Add whatsnew and ACKS entries. (GH-24675)
2021-03-01 00:27:20 -05:00
Manolis Stamatogiannakis
d20279494a
bpo-42603: Use pkg-config to get TCL/TK paths for tkinter. (GH-23721)
2021-02-28 22:29:57 -05:00
Filipe Laíns
0d7ad9fb38
bpo-29753: fix merging packed bitfields in ctypes struct/union (GH-19850)
...
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
2021-02-28 14:43:19 -08:00
Dennis Sweeney
73a85c4e1d
bpo-41972: Use the two-way algorithm for string searching (GH-22904)
...
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 >
2021-02-28 12:20:50 -06:00
Erlend Egeberg Aasland
2183d06bc8
bpo-43251: sqlite3_column_name() failures now raise MemoryError (GH-24609)
2021-02-28 19:01:06 +02:00
Inada Naoki
c71d24f558
bpo-43321: Fix SystemError in getargs.c (GH-24656)
2021-02-27 20:31:03 +09:00
Brandt Bucher
145bf269df
bpo-42128: Structural Pattern Matching (PEP 634) (GH-22917)
...
Co-authored-by: Guido van Rossum <guido@python.org >
Co-authored-by: Talin <viridia@gmail.com >
Co-authored-by: Pablo Galindo <pablogsal@gmail.com >
2021-02-26 14:51:55 -08:00
Alex
cc02b4f2e8
bpo-38302: __pow__/__rpow__ now called when __ipow__ returns NotImplemented ( #16459 )
2021-02-26 11:58:39 -08:00
Ruben Vorderman
7956ef8849
bpo-43317: Use io.DEFAULT_BUFFER_SIZE instead of 1024 in gzip CLI ( #24645 )
...
This improves the performance slightly.
2021-02-26 21:17:51 +09:00
Joseph Shen
28a30bc2e2
closes bpo-43278: remove unnecessary leading '\n' from COMPILER when build with GCC/Clang (GH-24606)
...
Automerge-Triggered-By: GH:benjaminp
2021-02-25 20:24:21 -08:00
Ruben Vorderman
cc3df6368d
bpo-43316: gzip: CLI uses non-zero return code on error. (GH-24647)
...
Exit code is now 1 instead of 0. A message is printed to stderr instead of stdout. This is
the proper behaviour for a tool that can be used in scripts.
2021-02-25 20:30:24 +09:00
Felix C. Stegerman
1f433406bd
bpo-42151: don't set specified_attributes=1 in pure Python ElementTree (GH-22987)
2021-02-24 11:25:31 +09:00
Terry Jan Reedy
2827e8a177
bpo-43283: Add IDLE doc paragraph about print speed (GH-24615)
...
Printing to IDLE's Shell is often slower than printing to a system
terminal, but it can be made faster by pre-formatting a single
string before printing.
2021-02-23 19:39:51 -05:00
Irit Katriel
b798ab0693
bpo-43146: fix None-handling in single-arg traceback.print_exception(None) (GH-24629)
...
(The previous commit fixed print_exception(None, None, None).)
2021-02-23 09:43:04 -08:00
Irit Katriel
26f18b8540
bpo-43146: fix regression in traceback.print_exception(None) (GH-24463)
2021-02-23 06:58:47 -08:00
Petr Viktorin
7bb1cafa4e
bpo-43239: Export PyCFunction_New with PyAPI_FUNC (GH-24551)
2021-02-23 13:23:56 +01:00
Inada Naoki
2d6f2eed14
bpo-36346: Document removal schedule of deprecate APIs (GH-20879)
...
We will remove wstr cache in Python 3.12. See PEP 623.
2021-02-23 08:06:51 +09:00
Inada Naoki
91a639a094
bpo-36346: Emit DeprecationWarning for PyArg_Parse() with 'u' or 'Z'. (GH-20927)
...
Emit DeprecationWarning when PyArg_Parse*() is called with 'u', 'Z' format.
See PEP 623.
2021-02-22 22:11:48 +09:00
Dennis Sweeney
b19855bb6f
bpo-42808: Add PyType_Type.tp_vectorcall for type(obj) performance (GH-24058)
2021-02-22 11:59:16 +09:00
Inada Naoki
01806d5beb
bpo-43260: io: Prevent large data remains in textio buffer. (GH-24592)
...
When very large data remains in TextIOWrapper, flush() may fail forever.
So prevent that data larger than chunk_size is remained in TextIOWrapper internal
buffer.
Co-Authored-By: Eryk Sun
2021-02-22 08:29:30 +09:00