Kaydet (Commit) 100fc3fb authored tarafından Yury Selivanov's avatar Yury Selivanov

whatsnew/3.5: Fix library news till Py3.5a1. Update other docs.

üst dfcfe133
......@@ -88,14 +88,12 @@ compile Python sources.
Added the ``-i``, ``-b`` and ``-h`` options.
.. versionchanged:: 3.5
Added the ``-j`` and ``-r`` options.
.. versionchanged:: 3.5
``-q`` option was changed to a multilevel value.
.. versionchanged:: 3.5
``-b`` will always produce a byte-code file ending in ``.pyc``, never
``.pyo``.
* Added the ``-j`` and ``-r`` options.
* ``-q`` option was changed to a multilevel value.
* ``-qq`` option.
* ``-b`` will always produce a byte-code file ending in ``.pyc``,
never ``.pyo``.
There is no command-line option to control the optimization level used by the
......
......@@ -54,10 +54,8 @@ from :func:`what`:
+------------+-----------------------------------+
.. versionadded:: 3.5
The *exr* format was added.
The *exr* and *webp* formats were added.
.. versionchanged:: 3.5
The *webp* type was added.
You can extend the list of file types :mod:`imghdr` can recognize by appending
to this variable:
......
......@@ -1039,6 +1039,11 @@ line.
returned list represents *frame*; the last entry represents the outermost call
on *frame*'s stack.
.. versionchanged:: 3.5
A list of :term:`named tuples <named tuple>`
``FrameInfo(frame, filename, lineno, function, code_context, index)``
is returned.
.. function:: getinnerframes(traceback, context=1)
......@@ -1047,6 +1052,11 @@ line.
list represents *traceback*; the last entry represents where the exception was
raised.
.. versionchanged:: 3.5
A list of :term:`named tuples <named tuple>`
``FrameInfo(frame, filename, lineno, function, code_context, index)``
is returned.
.. function:: currentframe()
......@@ -1066,6 +1076,11 @@ line.
returned list represents the caller; the last entry represents the outermost
call on the stack.
.. versionchanged:: 3.5
A list of :term:`named tuples <named tuple>`
``FrameInfo(frame, filename, lineno, function, code_context, index)``
is returned.
.. function:: trace(context=1)
......@@ -1074,6 +1089,11 @@ line.
entry in the list represents the caller; the last entry represents where the
exception was raised.
.. versionchanged:: 3.5
A list of :term:`named tuples <named tuple>`
``FrameInfo(frame, filename, lineno, function, code_context, index)``
is returned.
Fetching attributes statically
------------------------------
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment