summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2016-09-03 08:55:11 (GMT)
committerRaymond Hettinger <python@rcn.com>2016-09-03 08:55:11 (GMT)
commitf0f1c239e4addd15180d605306a969a627cb19d5 (patch)
treeb9d88594efebecef059d38320110c1942839be58 /Misc
parent22c108f0194e1e75e359b9861af28c33fe55a795 (diff)
downloadcpython-f0f1c239e4addd15180d605306a969a627cb19d5.zip
cpython-f0f1c239e4addd15180d605306a969a627cb19d5.tar.gz
cpython-f0f1c239e4addd15180d605306a969a627cb19d5.tar.bz2
Issue 27936: Fix inconsistent round() behavior between float and int
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS4
1 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 8230745..90f0bdd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -18,6 +18,10 @@ Core and Builtins
``m_methods`` field to be used to add module level functions to instances
of non-module types returned from ``Py_create_mod``. Patch by Xiang Zhang.
+- Issue #27936: The round() function accepted a second None argument
+ for some types but not for others. Fixed the inconsistency by
+ accepting None for all numeric types.
+
- Issue #27487: Warn if a submodule argument to "python -m" or
runpy.run_module() is found in sys.modules after parent packages are
imported, but before the submodule is executed.