mirror of
				https://github.com/python/cpython.git
				synced 2025-10-31 13:41:24 +00:00 
			
		
		
		
	|  d903b17499 Python implementation of `functools` allows calling `reduce` with `function` or `sequence` as keyword args. This doesn't match behavior of our C accelerator and our documentation for `functools.reduce` states that `function`and `sequence` are positional-only arguments. Now calling a Python implementation of `functools.reduce` with `function` or `sequence` as keyword args would raise a `DeprecationWarning` and is planned to be prohibited in Python 3.16. Co-authored-by: Victor Stinner <vstinner@python.org> Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com> | ||
|---|---|---|
| .. | ||
| c-api-pending-removal-in-3.14.rst | ||
| c-api-pending-removal-in-3.15.rst | ||
| c-api-pending-removal-in-future.rst | ||
| index.rst | ||
| pending-removal-in-3.13.rst | ||
| pending-removal-in-3.14.rst | ||
| pending-removal-in-3.15.rst | ||
| pending-removal-in-3.16.rst | ||
| pending-removal-in-future.rst | ||