summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYury Selivanov <yselivanov@sprymix.com>2015-09-09 03:28:06 (GMT)
committerYury Selivanov <yselivanov@sprymix.com>2015-09-09 03:28:06 (GMT)
commit40301c04eb32e9af80f7cfe0374dd058b074662e (patch)
treea56323ff45c69071309b3e301f91353dca21c6bd
parent100fc3fbc26eb4e36f3c72e34ccc4e1a8f8b1f95 (diff)
downloadcpython-40301c04eb32e9af80f7cfe0374dd058b074662e.zip
cpython-40301c04eb32e9af80f7cfe0374dd058b074662e.tar.gz
cpython-40301c04eb32e9af80f7cfe0374dd058b074662e.tar.bz2
whatsnew/3.5: Better formatting; add traceback to significantly improved stdlib
-rw-r--r--Doc/whatsnew/3.5.rst12
1 files changed, 11 insertions, 1 deletions
diff --git a/Doc/whatsnew/3.5.rst b/Doc/whatsnew/3.5.rst
index c2e0251..490fc28 100644
--- a/Doc/whatsnew/3.5.rst
+++ b/Doc/whatsnew/3.5.rst
@@ -83,13 +83,16 @@ New library modules:
New built-in features:
* ``bytes % args``, ``bytearray % args``: :pep:`461` - Adding ``%`` formatting
- to bytes and bytearray
+ to bytes and bytearray.
+
* ``b'\xf0\x9f\x90\x8d'.hex()``, ``bytearray(b'\xf0\x9f\x90\x8d').hex()``,
``memoryview(b'\xf0\x9f\x90\x8d').hex()``: :issue:`9951` - A ``hex`` method
has been added to bytes, bytearray, and memoryview.
+
* Generators have new ``gi_yieldfrom`` attribute, which returns the
object being iterated by ``yield from`` expressions. (Contributed
by Benno Leslie and Yury Selivanov in :issue:`24450`.)
+
* New :exc:`RecursionError` exception. (Contributed by Georg Brandl
in :issue:`19235`.)
@@ -101,6 +104,7 @@ Implementation improvements:
(:issue:`19977`).
* :pep:`488`, the elimination of ``.pyo`` files.
+
* :pep:`489`, multi-phase initialization of extension modules.
Significantly Improved Library Modules:
@@ -120,6 +124,11 @@ Significantly Improved Library Modules:
protocol handling from network IO. (Contributed by Geert Jansen in
:issue:`21965`.)
+* :mod:`traceback` has new lightweight and convenient to work with
+ classes :class:`~traceback.TracebackException`,
+ :class:`~traceback.StackSummary`, and :class:`traceback.FrameSummary`.
+ (Contributed by Robert Collins in :issue:`17911`.)
+
Security improvements:
* SSLv3 is now disabled throughout the standard library.
@@ -135,6 +144,7 @@ Windows improvements:
* A new installer for Windows has replaced the old MSI. See :ref:`using-on-windows`
for more information.
+
* Windows builds now use Microsoft Visual C++ 14.0, and extension modules
should use the same.