summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-42361: Update macOS installer build to use Tcl/Tk 8.6.11 (GH-24081)Ned Deily2021-01-042-3/+5
| | | As of 2021-01-03, Tcl/Tk 8.6.11rc2 is expected to be the final release.
* bpo-41837: Update macOS installer build to use OpenSSL 1.1.1i. (GH-24080)Ned Deily2021-01-043-47/+4
|
* bpo-42584: Update macOS installer to use SQLite 3.34.0 (GH-23674)Erlend Egeberg Aasland2021-01-042-4/+5
|
* bpo-42681: Fix range checks for color and pair numbers in curses (GH-23874)Serhiy Storchaka2021-01-035-93/+192
|
* bpo-41798: pyexpat: Allocate the expat_CAPI on the heap memory (GH-24061)Hai Shi2021-01-031-27/+40
|
* bpo-40077: Add traverse/clear/free to arraymodule (GH-24066)Erlend Egeberg Aasland2021-01-031-6/+33
|
* bpo-38308: Fix the "versionchanged" for the *weights* of harmonic_mean() ↵Zackery Spytz2021-01-031-1/+1
| | | | (GH-23919)
* bpo-42814: Fix undefined behavior in Objects/genericaliasobject.c (GH-24073)Zackery Spytz2021-01-032-1/+2
| | | | | In is_typing_name(), va_end() is not always called before the function returns. It is undefined behavior to call va_start() without also calling va_end().
* bpo-42093: Tweak the what's new message about the new LOAD_ATTR opcode cache ↵Pablo Galindo2021-01-031-3/+5
| | | | (GH-24070)
* bpo-42806: Fix ast locations of f-strings inside parentheses (GH-24067)Pablo Galindo2021-01-033-1/+56
|
* bpo-40631: Disallow single parenthesized star target (GH-24027)Lysandros Nikolaou2021-01-024-544/+823
|
* No need to test "istep==1" twice. (GH-24064)Raymond Hettinger2021-01-021-4/+2
|
* bpo-42772: Step argument ignored when stop is None. (GH-24018)Raymond Hettinger2021-01-023-1/+17
|
* bpo-42789: Don't skip curses tests on non-tty. (GH-24009)Serhiy Storchaka2021-01-021-38/+62
| | | | | | If __stdout__ is not attached to terminal, try to use __stderr__ if it is attached to terminal, or open the terminal device, or use regular file as terminal, but some functions will be untested in the latter case.
* bpo-42809: Improve pickle tests for recursive data. (GH-24060)Serhiy Storchaka2021-01-021-87/+253
|
* bpo-40077: Convert arraymodule to use heap types and establish module state ↵Erlend Egeberg Aasland2021-01-023-159/+196
| | | | (GH-23124)
* bpo-42195: Disallow isinstance/issubclass for subclasses of genericaliases ↵Ken Jin2021-01-022-1/+11
| | | | | | | | | | | | | | in Union (GH-24059) Previously this didn't raise an error. Now it will: ```python from collections.abc import Callable isinstance(int, list | Callable[..., str]) ``` Also added tests in Union since there were previously none for stuff like ``isinstance(list, list | list[int])`` either. Backport to 3.9 not required. Automerge-Triggered-By: GH:gvanrossum
* handle empty string in variable executable in platform.libc_ver() (#23140)Kurochan2021-01-022-1/+2
|
* bpo-41559: Documentation for PEP 612 (GH-24000)Ken Jin2021-01-024-8/+238
|
* bpo-42756: Configure LMTP Unix-domain socket to use global default timeout ↵Ross2021-01-014-1/+22
| | | | when timeout not provided (GH-23969)
* Bring Python into the new year. (GH-24036)Dong-hee Na2021-01-019-10/+10
|
* bpo-42794: Update test_nntplib to use offical group name for testing (GH-24037)Dong-hee Na2021-01-012-3/+9
|
* bpo-42781: Document the mechanics of cached_property from a user viewpoint ↵Raymond Hettinger2021-01-011-4/+14
| | | | (GH-24031)
* bpo-37193: Remove thread objects which finished process its request (GH-23127)Jason R. Coombs2020-12-313-12/+64
| | | This reverts commit aca67da4fe68d5420401ac1782203d302875eb27.
* Fixes a typo in importlib.metadata. (#23921)Tao He2020-12-311-2/+2
| | | Signed-off-by: Tao He <sighingnow@gmail.com>
* bpo-42163, bpo-42189, bpo-42659: Support uname_tuple._replace (for all but ↵Jason R. Coombs2020-12-313-2/+50
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | processor) (#23010) * Add test capturing missed expectation with uname_result._replace. * bpo-42163: Override uname_result._make to allow uname_result._replace to work (for everything but 'processor'. * Replace hard-coded length with one derived from the definition. * Add test capturing missed expectation with copy/deepcopy on namedtuple (bpo-42189). * bpo-42189: Exclude processor parameter when constructing uname_result. * In _make, rely on __new__ to strip processor. * Add blurb. * iter is not necessary here. * Rely on num_fields in __new__ * Add test for slices on uname * Add test for copy and pickle. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com> * import pickle * Fix equality test after pickling. * Simply rely on __reduce__ for pickling. Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
* bpo-42382: In importlib.metadata, `EntryPoint` objects now expose `dist` ↵Jason R. Coombs2020-12-317-154/+286
| | | | | | | | | | | | | | (#23758) * bpo-42382: In importlib.metadata, `EntryPoint` objects now expose a `.dist` object referencing the `Distribution` when constructed from a `Distribution`. Also, sync importlib_metadata 3.3: - Add support for package discovery under package normalization rules. - The object returned by `metadata()` now has a formally-defined protocol called `PackageMetadata` with declared support for the `.get_all()` method. * Add blurb * Remove latent footnote.
* bpo-42393: Raise OverflowError iso. DeprecationWarning on overflow in ↵Erlend Egeberg Aasland2020-12-315-42/+30
| | | | socket.ntohs and socket.htons (GH-23980)
* bpo-39068: Fix race condition in base64 (GH-17627)Brandon Stansbury2020-12-313-2/+5
| | | | There was a race condition in base64 in lazy initialization of multiple globals.
* Minor improvements to the convolve() recipe (GH-24012)Raymond Hettinger2020-12-301-2/+2
| | | | * Minor improvement to speed and space efficiency for the convolve() recipe * Don't require convolve's kernel to be a sequence.
* bpo-42773: fix tests not being run on pushes (GH-24004)Filipe Laíns2020-12-301-1/+1
| | | | | | | | There was a typo, we were checking if the "GITHUB_BASE_REF" string literal was empty instead of the $GITHUB_BASE_REF value. When $GITHUB_BASE_REF is empty, the action that triggered the run was not a pull request, so we always run the full test suite. Signed-off-by: Filipe Laíns <lains@riseup.net>
* bpo-27640: Add --disable-test-modules configure option (GH-23886)pxinwr2020-12-306-41/+116
| | | | | | | | | Added --disable-test-modules option to the configure script: don't build nor install test modules. Patch by Xavier de Gaye, Thomas Petazzoni and Peixing Xin. Co-Authored-By: Thomas Petazzoni <thomas.petazzoni@free-electrons.com> Co-Authored-By: Xavier de Gaye <xdegaye@gmail.com>
* bpo-27794: Add `name` attribute to `property` class (GH-23967)Yurii Karabas2020-12-305-11/+118
|
* bpo-40137: Fix refleak in _functools_exec() (GH-24006)Victor Stinner2020-12-301-0/+1
|
* bpo-40052: Fix alignment issue in PyVectorcall_Function() (GH-23999)Petr Viktorin2020-12-293-4/+7
| | | | | | | | | | | | | | | ``` In file included from /usr/include/python3.8/Python.h:147: In file included from /usr/include/python3.8/abstract.h:837: /usr/include/python3.8/cpython/abstract.h:91:11: error: cast from 'char *' to 'vectorcallfunc *' (aka 'struct _object *(**)(struct _object *, struct _object *const *, unsigned long, struct _object *)') increases required alignment from 1 to 8 [-Werror,-Wcast-align] ptr = (vectorcallfunc*)(((char *)callable) + offset); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 1 error generated. ``` Co-Authored-By: Andreas Schneider <asn@cryptomilk.org> Co-Authored-By: Antoine Pitrou <antoine@python.org>
* bpo-41224: Add versionadded for Symbol.is_annotated (GH-23861)Andre Delfino2020-12-291-0/+2
|
* bpo-40956: Convert _sqlite3.Row to Argument Clinic (GH-23964)Erlend Egeberg Aasland2020-12-292-21/+86
|
* bpo-42655: Fix subprocess extra_groups gid conversion (GH-23762)Jakub Kulík2020-12-294-11/+9
|
* bpo-40137: Convert _functools module to use PyType_FromModuleAndSpec. (GH-23405)Hai Shi2020-12-293-224/+255
|
* bpo-42700: Swap descriptions in pyexpat.errors (GH-23876)Michael Wayne Goodman2020-12-291-2/+2
| | | | | | The descriptions of the `codes` and `messages` dictionaries in `xml.parsers.expat.errors` were swapped, and this commit swaps them back. For example, `codes` maps string descriptions of errors to numeric error codes, not the other way around.
* Fix minor typo in comments in readline.c (GH-23911)Jero Bado2020-12-291-1/+1
|
* Allow / character in username,password fields in _PROXY envvars. (#23973)Senthil Kumaran2020-12-293-2/+15
|
* bpo-41781: Fix typo in internal function name in typing (GH-23957)Ross2020-12-291-3/+3
|
* Fix typo in NEWS (GH23958)Zackery Spytz2020-12-291-1/+1
|
* bpo-42759: Fix equality comparison of Variable and Font in Tkinter (GH-23968)Serhiy Storchaka2020-12-295-11/+27
| | | | Objects which belong to different Tcl interpreters are now always different, even if they have the same name.
* bpo-42749: Use dynamic version to test for unsupported bignum in Tk (GH-23966)Serhiy Storchaka2020-12-291-1/+1
| | | | Tk can internally support bignum even if Tkinter is built without support of bignum.
* bpo-42770: Fix a typo in the email.headerregistry docs (GH-23982)Zackery Spytz2020-12-291-1/+1
| | | Automerge-Triggered-By: GH:zware
* bpo-42740: Support PEP 604, 612 for typing.py get_args and get_origin (GH-23942)Ken Jin2020-12-293-1/+15
|
* Fix compiler warnings regarding loss of data (GH-23983)Pablo Galindo2020-12-292-2/+2
|
* Use Py_NewRef in Modules/_struct.c (GH-23981)Pablo Galindo2020-12-281-2/+1
|