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
36035856
Commit
36035856
authored
Dec 22, 2013
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add description of marshal changes.
parent
515cd84a
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
16 additions
and
1 deletion
+16
-1
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+16
-1
No files found.
Doc/whatsnew/3.4.rst
View file @
36035856
...
...
@@ -131,7 +131,8 @@ CPython implementation improvements:
* :ref:`Secure and interchangeable hash algorithm <whatsnew-pep-456>`
(:pep:`456`).
* :ref:`Argument Clinic <whatsnew-pep-436>` (:pep:`436`).
* A more efficient :mod:`marshal` format (:issue:`16475`).
* The :mod:`marshal` format has been made :ref:`more compact and efficient
<whatsnew-marshal-3>` (:issue:`16475`).
Please read on for a comprehensive list of user-facing changes.
...
...
@@ -626,6 +627,20 @@ metaclasses (Contributed by Ethan Furman in :issue:`18929` and
:issue:`19030`)
.. _whatsnew-marshal-3:
marshal
-------
The default :mod:`marshal` version has been bumped to 3. The code implementing
the new version restores the Python2 behavior of recording only one copy of
interned strings and preserving the interning on deserialization, and extends
this "one copy" ability to any object type (including handling recursive
references). This reduces both the size of ``.pyc`` files and the amount of
memory a module occupies in memory when it is loaded from a ``.pyc`` (or
``.pyo``) file. (Contributed by Kristján Valur Jónsson in :issue:`16475`.)
mmap
----
...
...
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