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
1c39fe57
Commit
1c39fe57
authored
Feb 12, 2014
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
whatsnew: LOAD_CLASSDEREF, -X showrefcount
parent
d0f4a325
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
Doc/reference/datamodel.rst
Doc/reference/datamodel.rst
+2
-0
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+8
-0
No files found.
Doc/reference/datamodel.rst
View file @
1c39fe57
...
...
@@ -1647,6 +1647,8 @@ of these candidate metaclasses. If none of the candidate metaclasses meets
that criterion, then the class definition will fail with ``TypeError``.
.. _prepare:
Preparing the class namespace
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
...
...
Doc/whatsnew/3.4.rst
View file @
1c39fe57
...
...
@@ -1455,6 +1455,10 @@ Other Improvements
now works correctly (previously it silently returned the first python
module in the file). (Contributed by Václav Šmilauer in :issue:`16421`.)
* A new opcode, :opcode:`LOAD_CLASSDEREF`, has been added to fix a bug in the
loading of free variables in class bodies that could be triggered by certain
uses of :ref:`__prepare__ <prepare>`. (Contributed by Benjamin Peterson in
:issue:`17853`.)
Significant Optimizations
...
...
@@ -1650,6 +1654,10 @@ Changes in 'python' command behavior
how :envvar:`PATH` works. The behavior now conforms to the posix convention
for :envvar:`PATH`.
* The [X refs, Y blocks] output of a debug (``--with-pydebug``) build of the
CPython interpreter is now off by default. It can be re-enabled using the
``-X showrefcount`` option. (Contributed by Ezio Melotti in :issue:`17323`.)
Changes in the Python 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