Skip to content

Commit edf03a8

Browse files
committed
Add more new features and bug fixes to What's New page
1 parent ebc71ba commit edf03a8

File tree

1 file changed

+13
-5
lines changed

1 file changed

+13
-5
lines changed

docs/whatsnew.rst

Lines changed: 13 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,17 @@ release:
2020
rationale for unbundling them.
2121

2222

23+
New features
24+
------------
25+
26+
- Docs: Add :ref:`compatible-idioms` from Ed Schofield's PyConAU 2014 talk.
27+
- Add ``newint.to_bytes()`` and ``newint.from_bytes()`` (issue #85)
28+
- Add ``future.utils.raise_from`` as an equivalent to Py3's ``raise ... from
29+
...`` syntax (issue #86).
30+
- Add ``past.builtins.oct()`` function.
31+
- Add backports for Python 2.6 of ``subprocess.check_output()``,
32+
``itertools.combinations_with_replacement()``, and ``functools.cmp_to_key()``.
33+
2334
Bug fixes
2435
---------
2536

@@ -28,14 +39,11 @@ Bug fixes
2839
- Stage 1 of ``futurize`` no longer renames ``next`` methods to ``__next__``
2940
(issue #81). It still converts ``obj.next()`` method calls to
3041
``next(obj)`` correctly.
31-
- Docs: Add :ref:`compatible-idioms` from Ed Schofield's PyConAU 2014 talk.
32-
- Add ``newint.to_bytes()`` and ``newint.from_bytes()`` (issue #85)
33-
- Add ``future.utils.raise_from`` as an equivalent to Py3's ``raise ... from
34-
...`` syntax (issue #86).
3542
- Prevent introduction of a second set of parentheses in ``print()`` calls in
3643
some further cases.
3744
- Fix isinstance checks for subclasses of future types (issue #89).
38-
45+
- Be explicit about encoding file contents as UTF-8 in unit tests (issue #63).
46+
Useful for building RPMs and in other environments where ``LANG=C``.
3947

4048
.. _whats-new-0.12.4:
4149

0 commit comments

Comments
 (0)