summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorBrett Cannon <bcannon@gmail.com>2009-07-20 03:19:18 (GMT)
committerBrett Cannon <bcannon@gmail.com>2009-07-20 03:19:18 (GMT)
commit64ef00fa605463e1da84e43ea8a5d722843174b6 (patch)
tree219e0049b500df1051e208ff1ec6c8a19a1d08d4 /Misc
parent4dc3193973101ce278aee58a9ee36cec2451caf4 (diff)
downloadcpython-64ef00fa605463e1da84e43ea8a5d722843174b6.zip
cpython-64ef00fa605463e1da84e43ea8a5d722843174b6.tar.gz
cpython-64ef00fa605463e1da84e43ea8a5d722843174b6.tar.bz2
Importlib's documentation said that importlib.abc.PyLoader inherited from
importlib.abc.ResourceLoader, when in fact it did not. Fixed the ABC to inherit as documented. This doesn't introduce an backwards-incompatiblity as the code in PyLoader already required the single method ResourceLoader defined as an abstract method.
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 4b94ede..9fa8e96 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -43,6 +43,10 @@ C-API
Library
-------
+- importlib.abc.PyLoader did not inherit from importlib.abc.ResourceLoader like
+ the documentation said it did even though the code in PyLoader relied on the
+ abstract method required by ResourceLoader.
+
- Issue #6431: Make Fraction type return NotImplemented when it doesn't
know how to handle a comparison without loss of precision. Also add
correct handling of infinities and nans for comparisons with float.