From 49621e4121e986a76c44cfbcdcf69f4431239db2 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Fri, 7 Sep 2018 22:59:27 +0100 Subject: [PATCH 1/2] Add elimination of non-int-like parameters in math.factorial to "What's new" --- Doc/whatsnew/3.8.rst | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index d07896b71f230b..dd1b3f2c3fe872 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -201,6 +201,9 @@ Removed * Removed the ``doctype()`` method of :class:`~xml.etree.ElementTree.XMLParser`. (Contributed by Serhiy Storchaka in :issue:`29209`.) +* The function :func:`math.factorial` no longer accepts arguments that are not + int-like. (Contributed by Pablo Galindo in :issue:`33083`.) + Porting to Python 3.8 ===================== From d6dd9cbdfb6bcc2b44eeba4f87e2b1b87f30d557 Mon Sep 17 00:00:00 2001 From: Pablo Galindo Date: Fri, 7 Sep 2018 23:13:01 +0100 Subject: [PATCH 2/2] Move section to the 'Changes in the Python API' section --- Doc/whatsnew/3.8.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Doc/whatsnew/3.8.rst b/Doc/whatsnew/3.8.rst index dd1b3f2c3fe872..2de7a50a471d80 100644 --- a/Doc/whatsnew/3.8.rst +++ b/Doc/whatsnew/3.8.rst @@ -201,9 +201,6 @@ Removed * Removed the ``doctype()`` method of :class:`~xml.etree.ElementTree.XMLParser`. (Contributed by Serhiy Storchaka in :issue:`29209`.) -* The function :func:`math.factorial` no longer accepts arguments that are not - int-like. (Contributed by Pablo Galindo in :issue:`33083`.) - Porting to Python 3.8 ===================== @@ -275,6 +272,9 @@ Changes in the Python API success; an exception was raised on error under Unix. (Contributed by Berker Peksag in :issue:`2122`.) +* The function :func:`math.factorial` no longer accepts arguments that are not + int-like. (Contributed by Pablo Galindo in :issue:`33083`.) + CPython bytecode changes ------------------------