Jason R. Coombs
99945c6b5c
bpo-46109: Separate out files relating to importlib.resources (GH-30160)
...
* Separate out files relating to importlib.resources
* Update Introduction to direct readers to the submodule documentation.
* Create separate file for abcs relating to resources.
* Move abc docs back to where they were.
2021-12-30 21:17:05 -05:00
Jason R. Coombs
e712a5b277
bpo-46118: Move importlib.resources to its own package. ( #30176 )
...
* bpo-46118: Move importlib.resources to its own package.
* Expand compatibility shims with documentation and explicit imports.
2021-12-30 21:00:48 -05:00
Hugo van Kemenade
2cf7d02b99
bpo-46178: Remove/rename redundant Travis CI code ( #30309 )
2021-12-30 16:16:27 -08:00
Nikita Sobolev
82c2b54a35
bpo-46178: remove unusued `.travis.yml` file ( #30257 )
...
* bpo-46178: remove unusued `.travis.yml` file
* Delete 2021-12-26-12-35-41.bpo-46178.Aw1TZg.rst
2021-12-30 13:26:01 -08:00
Nikita Sobolev
fbaf2e604c
bpo-46184: remove `netlify.toml` ( #30272 )
...
* bpo-46184: remove `netlify.toml`
* Delete runtime.txt
* Delete requirements.txt
* Revert "Delete requirements.txt"
This reverts commit 9aa4f0631f
.
2021-12-30 13:18:37 -08:00
Nikita Sobolev
30ee33d6be
Delete `FUNDING.yml`, since there's an organisation default ( #30294 )
2021-12-30 12:24:46 -08:00
andrei kulakov
8d7644fa64
bpo-45853: Fix misspelling and unused import in pathlib (GH-30292)
2021-12-30 09:45:06 +02:00
Dong-hee Na
fb44d05896
bpo-46085: Fix iterator cache mechanism of OrderedDict. (GH-30290)
2021-12-30 12:35:45 +09:00
Nikita Sobolev
d12bec6993
bpo-43424: Deprecate `webbrowser.MacOSXOSAScript._name` attribute (GH-30241)
2021-12-30 10:30:13 +09:00
Carlos Damazio
8e11237c5d
closes docs: remove references to Py_USING_MEMORY_DEBUGGER (GH-30284)
2021-12-29 16:20:42 -06:00
Erlend Egeberg Aasland
bc87ac6d0b
bpo-46185: Fix wrong version ref. in macOS installer ReadMe (GH-30278)
2021-12-29 20:39:49 +01:00
David CARLIER
66c47b63a0
bpo-46176: mmap module adding MAP_STACK constant. (GH-30252)
2021-12-29 22:52:29 +09:00
Brandt Bucher
77195cd44b
bpo-46090: Allow PyThreadState.datastack_* members to be NULL (GH-30234)
2021-12-28 09:49:48 -08:00
Mark Dickinson
02b5417f11
bpo-37295: Speed up math.comb(n, k) for 0 <= k <= n <= 67 (GH-30275)
2021-12-28 12:26:40 +00:00
Dong-hee Na
196b53eb1e
bpo-45189: Drop the "list_frozen" command from _test_embed. (GH-30273)
2021-12-28 11:05:50 +09:00
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