diff options
author | Raymond Hettinger <python@rcn.com> | 2016-09-03 08:55:11 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2016-09-03 08:55:11 (GMT) |
commit | f0f1c239e4addd15180d605306a969a627cb19d5 (patch) | |
tree | b9d88594efebecef059d38320110c1942839be58 /Misc/NEWS | |
parent | 22c108f0194e1e75e359b9861af28c33fe55a795 (diff) | |
download | cpython-f0f1c239e4addd15180d605306a969a627cb19d5.zip cpython-f0f1c239e4addd15180d605306a969a627cb19d5.tar.gz cpython-f0f1c239e4addd15180d605306a969a627cb19d5.tar.bz2 |
Issue 27936: Fix inconsistent round() behavior between float and int
Diffstat (limited to 'Misc/NEWS')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |