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
c16dfe18
Commit
c16dfe18
authored
Dec 21, 2013
by
R David Murray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Make CPython PEP summary entry links consistent, add pep 456 discussion.
parent
266772ab
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
24 additions
and
5 deletions
+24
-5
Doc/whatsnew/3.4.rst
Doc/whatsnew/3.4.rst
+24
-5
No files found.
Doc/whatsnew/3.4.rst
View file @
c16dfe18
...
...
@@ -123,9 +123,9 @@ Significantly Improved Library Modules:
CPython implementation improvements:
* :
ref:`PEP 442: Safe object finalization <
pep-442>`
* :
ref:`PEP 445: Configurable memory allocators <
pep-445>`
* :pep:`456`
Secure and interchangeable hash algorithm
* :
pep:`442`: :ref:`Safe object finalization <whatsnew-
pep-442>`
* :
pep:`445`: :ref:`Configurable memory allocators <whatsnew-
pep-445>`
* :pep:`456`
: :ref:`Secure and interchangeable hash algorithm <whatsnew-pep-456>`
* Improve finalization of Python modules to avoid setting their globals
to None, in most cases (:issue:`18214`).
* A more efficient :mod:`marshal` format (:issue:`16475`).
...
...
@@ -909,7 +909,7 @@ CPython Implementation Changes
==============================
.. _pep-445:
.. _
whatsnew-
pep-445:
PEP 445: Customization of CPython memory allocators
---------------------------------------------------
...
...
@@ -923,7 +923,7 @@ the CPython interpreter.
PEP written and implemented by Victor Stinner.
.. _pep-442:
.. _
whatsnew-
pep-442:
PEP 442: Safe object finalization
---------------------------------
...
...
@@ -943,6 +943,25 @@ on the normal operation of the cyclic garbage collector.
PEP written and implemented by Antoine Pitrou.
.. _whatsnew-pep-456:
PEP 456: Secure and Interchangeable Hash Algorithm
--------------------------------------------------
:pep:`456` follows up on earlier security fix work done on Python's hash
algorithm to address certain DOS attacks to which public facing APIs backed by
dictionary lookups may be subject. (See :issue:`14621` for the start of the
current round of improvements.) The PEP unifies CPython's hash code to make it
easier for a packager to substitute a different hash algorithm, and switches
Python's default implementation to a SipHash implementation on platforms that
have a 64 bit data type. Any performance differences in comparison with the
older FNV algorithm are trivial.
The PEP adds additional fields to the :func:`sys.hash_info` struct sequence to
describe the hash algorithm in use by the currently executing binary. Otherwise,
the PEP does not alter any existing CPython APIs.
Other build and C API changes
-----------------------------
...
...
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