Xinhang Xu
3581c7abbe
bpo-46055: Speed up binary shifting operators (GH-30044)
...
Co-authored-by: Mark Dickinson <dickinsm@gmail.com>
2021-12-27 18:36:55 +00:00
Mark Dickinson
360fedc2d2
bpo-46055: Streamline inner loop for right shifts ( #30243 )
2021-12-27 18:04:36 +00:00
E-Paine
2e3e0d23ad
bpo-45496: Allow flexibility in winfo_rgb tests (GH-30185)
2021-12-26 13:28:24 +02:00
Serhiy Storchaka
ad4857884b
bpo-43413: Revert changes in set.__init__ (GH-28403)
...
Co-authored-by: Jason R. Coombs <jaraco@jaraco.com>
2021-12-26 13:27:01 +02:00
Serhiy Storchaka
1944434b44
bpo-22815: Print unexpected successes in summary in TextTestResult (GH-30138)
2021-12-26 13:22:44 +02:00
Kumar Aditya
a23ab7b6d8
bpo-23819: Fix asyncio tests on python optimized mode (GH-30195)
2021-12-26 13:13:14 +02:00
David Gilbertson
f9a4352056
Fix typo in io.rst (GH-30218)
2021-12-26 13:11:08 +02:00
Joe
10bf0a9ac3
doc: fix a typo in unittest.mock.rst (GH-30227)
2021-12-26 13:09:17 +02:00
Rafael Fontenelle
c1d7a6bed9
docs: Fix typos and use anchor for internal link (GH-30236)
2021-12-26 12:43:06 +02:00
Serhiy Storchaka
1fb7c61ca7
Remove a NEWS entry for bpo-45878 (GH-30259)
...
The docs linter complains about it, and in general news entries for such changes are not required.
2021-12-26 12:38:19 +02:00
Serhiy Storchaka
078abb676c
bpo-46032: Check types in singledispatch's register() at declaration time (GH-30050)
...
The registry() method of functools.singledispatch() functions checks now
the first argument or the first parameter annotation and raises a TypeError if it is
not supported. Previously unsupported "types" were ignored (e.g. typing.List[int])
or caused an error at calling time (e.g. list[int]).
2021-12-25 14:16:14 +02:00
Nikita Sobolev
1b30660c3b
bpo-46120: State that `|` is preferred over `Union` (GH-30222)
...
Co-authored-by: Éric <merwok@netwok.org>
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
2021-12-24 13:36:09 -08:00
Nikita Sobolev
b8de8b7039
bpo-46150: ensure `fakeuser` does not exist in `PosixPathTest.test_expanduser` (GH-30240)
...
Ensure `fakeuser` does not exist in `PosixPathTest.test_expanduser`
2021-12-24 00:07:50 -08:00
Gregory P. Smith
d8880677a7
Allow test_pathlib to pass on systems where fakeuser exists. (GH-30244)
2021-12-23 19:17:40 -08:00
Kumar Aditya
cf15419a99
typos ( #30239 )
2021-12-23 12:25:12 +02:00
Kumar Aditya
71ef0b4c2b
bpo-46157: fix typo in docs (GH-30237)
2021-12-23 11:17:31 +02:00
David Hewitt
31ff96712e
bpo-46140: take more Py_buffer arguments as const * (GH-30217)
2021-12-22 15:07:46 +02:00
Kumar Aditya
fc54e722a2
bpo-46106: Update OpenSSL to 1.1.1m (GH-30211)
...
Co-authored-by: Ned Deily <nad@python.org>
2021-12-21 21:20:16 -05:00
Irit Katriel
c66fc0fb53
bpo-46107: ExceptionGroup.subgroup()/split() should copy __note__ to the parts (GH-30159)
2021-12-21 10:12:26 +00:00
Mark Dickinson
e9a01e231a
Update potentially confusing note for mean. (GH-30174)
2021-12-21 09:00:53 +00:00
Pablo Galindo Salgado
e9898bf153
bpo-46110: Add a recursion check to avoid stack overflow in the PEG parser (GH-30177)
...
Co-authored-by: Batuhan Taskaya <isidentical@gmail.com>
2021-12-20 15:43:26 +00:00
Serhiy Storchaka
6ca78affc8
bpo-23819: Get rid of assert statements in test_asyncio (GH-30212)
...
To keep checks even if run tests with optimized Python.
Either use special assertion methods like assertEqual() or
raise an AssertionError explicitly.
2021-12-20 12:23:05 +02:00
Alex Waygood
7c5c3f7254
bpo-46104: Fix example broken by GH-30148 (GH-30203)
...
See discussion in GH-30179.
2021-12-20 12:48:35 +08:00
Raymond Hettinger
29ea68bd1d
Revert "bpo-46131: add fastpath for PyFloat_Check() (GH-30200)" (GH-30208)
...
This reverts commit 2ef06d4125
.
2021-12-19 15:05:46 -06:00
Matti Picus
2ef06d4125
bpo-46131: add fastpath for PyFloat_Check() ( #30200 )
2021-12-19 14:24:30 -06:00
Alex Waygood
aeb9ef4c72
bpo-46076: Improve documentation for per-attribute docstrings with `__slots__` (GH-30109)
2021-12-19 14:20:07 -06:00
neonene
0b582a4a1b
bpo-46123: Disable optimizations for _freeze_module.exe on MSVC for faster building (GH-30181)
2021-12-19 14:55:13 +00:00
Andrew Svetlov
9c06fd8951
bpo-46129: Rewrite asyncio.locks tests with IsolatedAsyncioTestCase (GH-30198)
...
Co-authored-by: Kumar Aditya <59607654+kumaraditya303@users.noreply.github.com>
2021-12-19 16:35:56 +02:00
Rafael Fontenelle
3d3615f41f
bpo-46130: [docs] Add anchor for whatsnew/3.10 type hint section (GH-30199)
...
This allows the title to be translated to other languages without linking problems.
2021-12-19 22:06:35 +08:00
Kumar Aditya
da4b214304
bpo-42413: Replace `concurrent.futures.TimeoutError` and `asyncio.TimeoutError` with builtin `TimeoutError` (GH-30197)
...
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2021-12-19 13:22:40 +02:00
Jason R. Coombs
9b52920173
bpo-46125: Refactor tests to test traversable API directly. Includes changes from importlib_resources 5.4.0. (GH-30189)
2021-12-18 21:28:49 -05:00
Matthias Bussonnier
fe68486197
bpo-46044: Fix doc typo introduced in GH-30043 (GH-30171)
...
See https://github.com/python/cpython/pull/30043/files#r770944718
My bad I likely messed up by using a repeat command in my editor
Automerge-Triggered-By: GH:merwok
2021-12-18 13:19:07 -08:00
Christian Heimes
0339434835
bpo-40280: Add Tools/wasm with helpers for cross building (GH-29984)
...
Co-authored-by: Ethan Smith <ethan@ethanhs.me>
Co-authored-by: Brett Cannon <brett@python.org>
2021-12-18 15:54:02 +01:00
andrei kulakov
ae36cd1e79
bpo-37578: glob.glob -- added include_hidden parameter (GH-30153)
...
Automerge-Triggered-By: GH:asvetlov
2021-12-18 06:23:34 -08:00
Vivek Vashist
6f2df42951
bpo-46113: Minor fixes in stdtypes documentation (GH-30167)
...
* Fix#1 - isidentifier() function output
* Fix#2 Update the str.splitlines() function parameter
* Fix#3 Removed unwanted full stop for str and bytes types double quotes examples.
* Fix#4 Updated class dict from **kwarg to **kwargs
2021-12-18 21:52:51 +08:00
Jakub Kulík
427a490c49
bpo-46099: Fix pthread_getcpuclockid test on Solaris (GH-30140)
...
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2021-12-18 15:26:24 +02:00
Steve Dower
6fc91daf73
bpo-46088: Automatically detect or install bootstrap Python runtime when building from Visual Studio (GH-30143)
2021-12-18 13:05:45 +00:00
neonene
6214caafbe
bpo-40915: Avoid compiler warnings by fixing mmapmodule conversion from LARGE_INTEGER to Py_ssize_t (GH-30175)
2021-12-18 13:03:43 +00:00
Alex Waygood
6ada013df1
bpo-46104: Reduce use of pre-PEP 526 syntax in typing docs (GH-30148)
...
Co-authored-by: Andrew Svetlov <andrew.svetlov@gmail.com>
2021-12-18 18:23:51 +08:00
Christian Heimes
da8cf8a747
bpo-44035: Show git diff after autoreconf and regen (GH-30117)
2021-12-17 16:17:56 +01:00
Christian Heimes
2985feac4e
bpo-46114: Fix OpenSSL version check for 3.0.1 (GH-30170)
2021-12-17 16:17:32 +01:00
Mark Shannon
efd6236d36
bpo-46072: Add top level stats struct (GH-30169)
2021-12-17 14:48:01 +00:00
Irit Katriel
396b58345f
bpo-45711: Remove type and traceback from exc_info (GH-30122)
...
* Do not PUSH/POP traceback or type to the stack as part of exc_info
* Remove exc_traceback and exc_type from _PyErr_StackItem
* Add to what's new, because this change breaks things like Cython
2021-12-17 14:46:22 +00:00
Julien Palard
62a0a2a25d
Doc: some rst linting. (GH-30149)
2021-12-17 13:55:03 +01:00
Serhiy Storchaka
95a922b3bb
bpo-46111: Fix unittest tests in optimized mode (GH-30163)
2021-12-17 11:10:55 +02:00
Yilei "Dolee" Yang
69ef1b5998
Fix a typo in the message from make_ssl_certs. (GH-30152)
...
The file is utils.py not util.py.
Automerge-Triggered-By: GH:gpshead
2021-12-16 21:08:18 -08:00
Irit Katriel
8d6155ee9d
bpo-45635: Do not suppress errors in functions called from _PyErr_Display (GH-30073)
...
Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@innova.no>
2021-12-16 23:00:13 +00:00
Jason R. Coombs
04deaee4c8
bpo-44893: Implement EntryPoint as simple class with attributes. (GH-30150)
...
* bpo-44893: Implement EntryPoint as simple class and deprecate tuple access in favor of attribute access. Syncs with importlib_metadata 4.8.1.
* Apply refactorings found in importlib_metadata 4.8.2.
2021-12-16 15:49:42 -05:00
Jason R. Coombs
109d966021
bpo-46105: Honor spec when generating requirement specs with urls and extras. (GH-30151)
2021-12-16 15:48:35 -05:00
Matthias Bussonnier
ecdc0ccede
bpo-46044: Annotate deprecated sdists formats (GH-30043)
...
While this page have deprecated informations it is still heavily index
by Google.
Discussed on twitter: https://twitter.com/brettsky/status/1469465729082662916
2021-12-16 11:57:39 -08:00