diff options
author | Nick Coghlan <ncoghlan@gmail.com> | 2012-03-06 11:50:13 (GMT) |
---|---|---|
committer | Nick Coghlan <ncoghlan@gmail.com> | 2012-03-06 11:50:13 (GMT) |
commit | 98e20701cb30fbff0e49866d643aa540aff97e1f (patch) | |
tree | 1acc2ed0a1d3de6cd73cbbd7f91a891e5b952e87 /Doc/whatsnew/3.3.rst | |
parent | de157cc5bca49321345eea715d5837cd5e7ba1bb (diff) | |
download | cpython-98e20701cb30fbff0e49866d643aa540aff97e1f.zip cpython-98e20701cb30fbff0e49866d643aa540aff97e1f.tar.gz cpython-98e20701cb30fbff0e49866d643aa540aff97e1f.tar.bz2 |
Add PEP 414 to What's New, consolidate memoryview entries
Diffstat (limited to 'Doc/whatsnew/3.3.rst')
-rw-r--r-- | Doc/whatsnew/3.3.rst | 25 |
1 files changed, 20 insertions, 5 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst index 2fa452f..f670362 100644 --- a/Doc/whatsnew/3.3.rst +++ b/Doc/whatsnew/3.3.rst @@ -49,6 +49,8 @@ This article explains the new features in Python 3.3, compared to 3.2. +.. pep-3118-update: + PEP 3118: New memoryview implementation and buffer protocol documentation ========================================================================= @@ -85,7 +87,9 @@ Features * Multi-dimensional comparisons are supported for any array type. * All array types are hashable if the exporting object is hashable - and the view is read-only. + and the view is read-only. (Contributed by Antoine Pitrou in + :issue:`13411`) + * Arbitrary slicing of any 1-D arrays type is supported. For example, it is now possible to reverse a memoryview in O(1) by using a negative step. @@ -327,6 +331,21 @@ suppressed valuable underlying details):: KeyError('x',) +PEP 414: Explicit Unicode literals +====================================== + +:pep:`414` - Explicit Unicode literals + PEP written by Armin Ronacher. + +To ease the transition from Python 2 for Unicode aware Python applications +that make heavy use of Unicode literals, Python 3.3 once again supports the +"``u``" prefix for string literals. This prefix has no semantic significance +in Python 3, it is provided solely to reduce the number of purely mechanical +changes in migrating to Python 3, making it easier for developers to focus on +the more significant semantic changes (such as the stricter default +separation of binary and text data). + + PEP 3155: Qualified name for classes and functions ================================================== @@ -408,10 +427,6 @@ Some smaller changes made to the core Python language are: (:issue:`12170`) -* Memoryview objects are now hashable when the underlying object is hashable. - - (Contributed by Antoine Pitrou in :issue:`13411`) - New and Improved Modules ======================== |