Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
9fdcce6c
Commit
9fdcce6c
authored
Dec 27, 2013
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whatsnew: importlib cleanup and source_to_code add; python partial impl.
parent
e65860f0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
2 deletions
+21
-2
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+21
-2
No files found.
Doc/whatsnew/3.4.rst
View file @
9fdcce6c
...
...
@@ -627,6 +627,11 @@ multiple implementations of an operation that allows it to work with
:pep:`443` -- Single-dispatch generic functions
PEP written and implemented by Łukasz Langa.
A pure-python version of the :func:`~functools.partial` function is now in the
stdlib; in CPython it is overridden by the C accelerated version, but it is
available for other implementations to use. (Contributed by Brian Thorne in
:issue:`12428`.)
gc
--
...
...
@@ -667,6 +672,16 @@ The *strict* argument of :class:`~html.parser.HTMLParser` is now deprecated.
(Contributed by Ezio Melotti in :issue:`15114`)
importlib
---------
The :class:`~importlib.abc.InspectLoader` ABC defines a new method,
:meth:`~importlib.abc.InspectLoader.source_to_code` that accepts source
data and a path and returns a code object. The default implementation
is equivalent to ``compile(data, path, 'exec', dont_inherit=True)``.
(Contributed by Eric Snow and Brett Cannon in :issue:`15627`.)
inspect
-------
...
...
@@ -1208,8 +1223,8 @@ Deprecated Features
Removed
=======
The following
previously deprecated APIs and features have been removed
in Python 3.4:
The following
obsolete and previously deprecated APIs and features have been
removed
in Python 3.4:
* Support for the following operating systems has been removed from the source
and build tools:
...
...
@@ -1228,6 +1243,9 @@ in Python 3.4:
* The ``PyThreadState.tick_counter`` field has been removed; its value has
been meaningless since Python 3.2, when the "new GIL" was introduced.
* ``PyLoader`` and ``PyPycLoader`` have been removed from :mod:`importlib`.
(Contributed by Taras Lyapun in :issue:`15641`.)
Porting to Python 3.4
=====================
...
...
@@ -1294,6 +1312,7 @@ Changes in the Python API
``-m`` with the interpreter (this does not influence when the path to a file
is specified on the command-line).
Changes in the C API
--------------------
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment