diff options
author | Brett Cannon <bcannon@gmail.com> | 2009-07-20 03:19:18 (GMT) |
---|---|---|
committer | Brett Cannon <bcannon@gmail.com> | 2009-07-20 03:19:18 (GMT) |
commit | 64ef00fa605463e1da84e43ea8a5d722843174b6 (patch) | |
tree | 219e0049b500df1051e208ff1ec6c8a19a1d08d4 /Misc | |
parent | 4dc3193973101ce278aee58a9ee36cec2451caf4 (diff) | |
download | cpython-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/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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. |