Nikita Sobolev
910a64e301
gh-102595: Document `PyObject_Format` c-api function (GH-102596)
...
Def: 5ffdaf748d/Include/abstract.h (L389)
2023-03-21 09:46:24 -07:00
Irit Katriel
7f760c2fca
gh-102828: emit deprecation warning for onerror arg to shutil.rmtree ( #102850 )
2023-03-21 11:08:46 +00:00
Irit Katriel
868490e327
gh-102799: Let pydoc use the exception instead of sys.exc_info ( #102830 )
2023-03-21 11:07:03 +00:00
Irit Katriel
5c471f3f2a
gh-102755: PyErr_DisplayException only in ABI >= 3.12. Tests cover PyErr_Display as well (GH-102849)
2023-03-21 10:36:18 +01:00
Nikita Sobolev
82eb9469e7
gh-102598: Remove obsolete optimization from `FORMAT_VALUE` opcode ( #102599 )
2023-03-21 00:47:15 -07:00
Raymond Hettinger
1a5a14183e
The pow() variant further improves accuracy (GH-102866)
2023-03-21 00:02:14 -05:00
Raymond Hettinger
4075fe1d8d
Remove itermediate list. Expand docstring. (GH-102862)
2023-03-20 20:40:04 -05:00
Nikita Sobolev
ef000eb3e2
gh-102809: Remove `Misc/gdbinit` ( #102854 )
...
Looks like the consensus is that we don't need this file anymore.
Old version can be always found here: 094cf392f4/Misc/gdbinit
2023-03-20 16:30:46 -07:00
Raymond Hettinger
094cf392f4
Add itertool recipe for polynomial evaluation. (GH-102852)
2023-03-20 17:14:29 -05:00
Eric Snow
5c75b7a91c
gh-102304: Fix Non-Debug Builds (gh-102846)
...
Some debug-only code slipped in with gh-102543.
https://github.com/python/cpython/issues/102304
2023-03-20 11:28:13 -06:00
Eric Snow
28d369e070
gh-102304: Add a What's New Entry About _Py_RefTotal (gh-102845)
...
https://github.com/python/cpython/issues/102304
2023-03-20 10:35:49 -06:00
Eric Snow
ad77d16a62
gh-102304: Move _Py_RefTotal to _PyRuntimeState (gh-102543)
...
The essentially eliminates the global variable, with the associated benefits. This is also a precursor to isolating this bit of state to PyInterpreterState.
Folks that currently read _Py_RefTotal directly would have to start using _Py_GetGlobalRefTotal() instead.
https://github.com/python/cpython/issues/102304
2023-03-20 10:03:04 -06:00
Max Bachmann
96e05b62e8
gh-102255: Use GetVersionEx instead of GetVersionExW to match argument type (GH-102583)
...
Since we pass a structure of type `OSVERSIONINFOEX`, we need to call
`GetVersionEx` instead of `GetVersionExW`.
2023-03-20 15:47:17 +00:00
Alan Williams
5e6661bce9
gh-72346: Added isdst deprecation warning to email.utils.localtime (GH-91450)
2023-03-19 19:20:20 -05:00
Irit Katriel
40d4f15793
gh-102828: fix test failure (add missing skip instructions) ( #102835 )
2023-03-20 00:03:55 +00:00
Pieter Eendebak
382ee2f0f2
gh-102491: Remove IronPython version check in sys_version ( #102492 )
2023-03-19 15:52:47 -07:00
JosephSBoyle
699cb20ae6
gh-102810: Add docstrings to the public-facing methods of `asyncio.Timeout` ( #102811 )
...
Co-authored-by: Guido van Rossum <gvanrossum@gmail.com>
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-19 20:06:09 +00:00
Irit Katriel
d51a6dc28e
gh-102828: add onexc arg to shutil.rmtree. Deprecate onerror. ( #102829 )
2023-03-19 18:33:51 +00:00
Irit Katriel
4d1f033986
gh-102778: revert changes to idlelib ( #102825 )
2023-03-19 12:19:59 -04:00
Irit Katriel
ccb5af7bfe
gh-102755: fix refleak ( #102826 )
2023-03-19 15:18:24 +00:00
Irit Katriel
ad77b80b05
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ( #102816 )
2023-03-19 15:17:59 +00:00
Raymond Hettinger
3adb23a17d
Add more comments to hypot() (GH-102817)
2023-03-18 12:21:48 -05:00
Irit Katriel
1cb75a9ce0
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ( #102769 )
2023-03-18 13:44:47 +00:00
Irit Katriel
e1e9bab006
gh-102778: Add sys.last_exc, deprecate sys.last_type, sys.last_value,sys.last_traceback ( #102779 )
2023-03-18 11:47:11 +00:00
gaogaotiantian
039714d00f
gh-101975: Fixed a potential SegFault on garbage collection (GH-102803)
2023-03-18 10:59:21 +00:00
Irit Katriel
b3cc11a08e
gh-102799: remove unnecessary calls to sys.exc_info() in tests ( #102800 )
2023-03-18 07:19:38 +00:00
Raymond Hettinger
72186aa637
Simplify and improve accuracy for subnormals in hypot() (GH-102785)
2023-03-17 14:06:52 -05:00
Carl Meyer
174c4bfd0f
gh-102781: fix cwd dependence in cases generator ( #102782 )
2023-03-17 11:01:10 -06:00
Inada Naoki
65fb7c4055
gh-102701: Fix overflow in dictobject.c (GH-102750)
2023-03-17 22:39:09 +09:00
Kumar Aditya
4f5774f648
GH-78530: add support for generators in `asyncio.wait` ( #102761 )
2023-03-17 06:58:43 +05:30
Steve Dower
f33b33eb31
Increase stack reserve size for Windows debug builds to avoid test crashes (GH-102764)
2023-03-17 01:07:07 +00:00
Irit Katriel
3f9285a8c5
gh-102755: Add PyErr_DisplayException(exc) ( #102756 )
2023-03-16 22:18:04 +00:00
Mark Dickinson
405739f916
Fix outdated note about 'int' rounding or truncating ( #102736 )
2023-03-16 20:34:42 +00:00
Irit Katriel
6372e290c0
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ( #102760 )
2023-03-16 19:03:52 +00:00
Steve Dower
0f175766e2
gh-99726: Improves correctness of stat results for Windows, and uses faster API when available (GH-102149)
...
This deprecates `st_ctime` fields on Windows, with the intent to change them to contain the correct value in 3.14. For now, they should keep returning the creation time as they always have.
2023-03-16 17:27:21 +00:00
Irit Katriel
e108af6eca
gh-102192: remove redundant exception fields from ssl module socket ( #102466 )
2023-03-16 16:41:10 +00:00
Irit Katriel
61d6c110d6
gh-102192: Replace PyErr_Fetch/Restore etc by more efficient alternatives ( #102743 )
2023-03-16 16:21:49 +00:00
Eric Snow
84e20c689a
gh-102737: Un-ignore ceval.c in the CI globals check (gh-102745)
...
The tool now allows user-added #LINE preprocessor directives.
https://github.com/python/cpython/issues/102737
2023-03-16 09:26:42 -06:00
Kumar Aditya
adaed17341
GH-102748: remove legacy support for generator based coroutines from `asyncio.iscoroutine` ( #102749 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-16 20:28:10 +05:30
Nikita Sobolev
fbe82fdd77
gh-102721: Improve coverage of `_collections_abc._CallableGenericAlias` ( #102722 )
...
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-16 14:47:30 +00:00
Raymond Hettinger
b0ec6253c9
GH-102653: Make recipe docstring show the correct distribution ( #102742 )
2023-03-16 09:32:18 -05:00
Nikita Sobolev
a297d59609
Add comments to `{typing,_collections_abc}._type_repr` about each other ( #102752 )
...
Remove `if` condition in `_collections_abc._type_repr` that's no longer needed, bringing it in sync with `typing._type_repr`.
2023-03-16 13:05:38 +00:00
Irit Katriel
51d693c584
gh-102594: PyErr_SetObject adds note to exception raised on normalization error ( #102675 )
2023-03-16 10:16:01 +00:00
yonatanp
2dc94634b5
gh-94440: Fix issue of ProcessPoolExecutor shutdown hanging ( #94468 )
...
Fix an issue of concurrent.futures ProcessPoolExecutor shutdown hanging.
Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
2023-03-15 21:44:52 -07:00
Kumar Aditya
a44553ea9f
GH-100112: avoid using iterable coroutines in asyncio internally ( #100128 )
2023-03-16 09:20:43 +05:30
Jamoo721
1c9f3391b9
gh-102690: Use Edge as fallback in webbrowser instead of IE ( #102691 )
2023-03-15 22:52:11 -04:00
Eric Snow
2a03ed034e
gh-102660: Fix Refleaks in import.c ( #102744 )
...
gh-102661 introduced some leaks. This fixes them.
https://github.com/python/cpython/issues/102660
2023-03-15 18:43:54 -06:00
Irit Katriel
675b97a6ab
gh-102738: remove from cases generator the code related to register instructions ( #102739 )
2023-03-15 21:25:31 +00:00
Raymond Hettinger
0a22aa0528
Simplify and speed-up math.hypot() and math.dist() (GH-102734)
2023-03-15 15:15:23 -05:00
Martin Breuss
00d1ef73d6
Fix typo in code comment ( #102726 )
2023-03-15 19:18:18 +00:00