Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(3)

Side by Side Diff: Doc/whatsnew/3.3.rst

Issue 15573: Support unknown formats in memoryview comparisons
Patch Set: Created 7 years, 7 months ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View unified diff | Download patch
OLDNEW
1 **************************** 1 ****************************
2 What's New In Python 3.3 2 What's New In Python 3.3
3 **************************** 3 ****************************
4 4
5 :Author: Raymond Hettinger 5 :Author: Raymond Hettinger
6 :Release: |release| 6 :Release: |release|
7 :Date: |today| 7 :Date: |today|
8 8
9 .. Rules for maintenance: 9 .. Rules for maintenance:
10 10
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after
137 * The maximum number of dimensions is officially limited to 64. 137 * The maximum number of dimensions is officially limited to 64.
138 138
139 * The representation of empty shape, strides and suboffsets is now 139 * The representation of empty shape, strides and suboffsets is now
140 an empty tuple instead of None. 140 an empty tuple instead of None.
141 141
142 * Accessing a memoryview element with format 'B' (unsigned bytes) 142 * Accessing a memoryview element with format 'B' (unsigned bytes)
143 now returns an integer (in accordance with the struct module syntax). 143 now returns an integer (in accordance with the struct module syntax).
144 For returning a bytes object the view must be cast to 'c' first. 144 For returning a bytes object the view must be cast to 'c' first.
145 145
146 * For further changes see `Build and C API Changes`_ and `Porting C code`_ . 146 * For further changes see `Build and C API Changes`_ and `Porting C code`_ .
147
148 * memoryview comparisons now use the logical structure of the operands
149 and compare all array elements by value. All format strings in struct
150 module syntax are supported.
Nick Coghlan 2012/08/15 06:13:09 I would add "Views with unrecognised format string
147 151
148 .. _pep-393: 152 .. _pep-393:
149 153
150 PEP 393: Flexible String Representation 154 PEP 393: Flexible String Representation
151 ======================================= 155 =======================================
152 156
153 The Unicode string type is changed to support multiple internal 157 The Unicode string type is changed to support multiple internal
154 representations, depending on the character with the largest Unicode ordinal 158 representations, depending on the character with the largest Unicode ordinal
155 (1, 2, or 4 bytes) in the represented string. This allows a space-efficient 159 (1, 2, or 4 bytes) in the represented string. This allows a space-efficient
156 representation in common cases, but gives access to full UCS-4 on all 160 representation in common cases, but gives access to full UCS-4 on all
(...skipping 1764 matching lines...) Expand 10 before | Expand all | Expand 10 after
1921 ------------ 1925 ------------
1922 1926
1923 .. Issue #11591: When :program:`python` was started with :option:`-S`, 1927 .. Issue #11591: When :program:`python` was started with :option:`-S`,
1924 ``import site`` will not add site-specific paths to the module search 1928 ``import site`` will not add site-specific paths to the module search
1925 paths. In previous versions, it did. See changeset for doc changes in 1929 paths. In previous versions, it did. See changeset for doc changes in
1926 various files. Contributed by Carl Meyer with editions by Éric Araujo. 1930 various files. Contributed by Carl Meyer with editions by Éric Araujo.
1927 1931
1928 .. Issue #10998: the -Q command-line flag and related artifacts have been 1932 .. Issue #10998: the -Q command-line flag and related artifacts have been
1929 removed. Code checking sys.flags.division_warning will need updating. 1933 removed. Code checking sys.flags.division_warning will need updating.
1930 Contributed by Éric Araujo. 1934 Contributed by Éric Araujo.
OLDNEW

RSS Feeds Recent Issues | This issue
This is Rietveld 894c83f36cb7+