8000 Get rid of more coerce cruft, update NEWS · python/cpython@378b2c9 · GitHub
[go: up one dir, main page]

Skip to content

Commit 378b2c9

Browse files
committed
Get rid of more coerce cruft, update NEWS
1 parent 6309f2d commit 378b2c9

File tree

1 file changed

+15
-6
lines changed

1 file changed

+15
-6
lines changed

Misc/NEWS

Lines changed: 15 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,10 @@ TO DO
3232

3333
- Get rid of various compatibility-related flags (e.g. divisi 10000 on flags).
3434

35+
3536
Core and Builtins
3637
-----------------
3738

38-
- __coerce__ has been removed.
39-
4039
- Classic classes are a thing of the past. All classes are new style.
4140

4241
- Exceptions *must* derive from BaseException.
@@ -55,19 +54,23 @@ Core and Builtins
5554

5655
- Absolute import is the default behavior for 'import foo' etc.
5756

57+
- Removed support for syntax:
58+
backticks (`x`), <>
59+
5860
- Removed these Python builtins:
5961
apply(), coerce(), input(), raw_input()
6062

63+
- Removed these Python methods:
64+
{}.has_key
65+
6166
- Removed these Python slots:
6267
__coerce__, __div__, __idiv__, __rdiv__
6368

6469
- Removed these attributes from Python modules:
6570
* operator module: div, idiv, __div__, __idiv__
6671

67-
*** PyNumber_CoerceEx() and nb_coerce still need to be removed.
68-
6972
- Removed these C APIs:
70-
PyNumber_Coerce(),
73+
PyNumber_Coerce(), PyNumber_CoerceEx()
7174

7275
- Removed these C slots/fields:
7376
nb_divide, nb_inplace_divide
@@ -80,7 +83,13 @@ Core and Builtins
8083
getreadbufferproc, getwritebufferproc, getsegcountproc, getcharbufferproc
8184

8285
- Removed these opcodes:
83-
BINARY_DIVIDE, INPLACE_DIVIDE
86+
BINARY_DIVIDE, INPLACE_DIVIDE, UNARY_CONVERT
87+
88+
- zip returns an iterator
89+
90+
- Additions:
91+
set literals
92+
8493

8594
Extension Modules
8695
-----------------

0 commit comments

Comments
 (0)
0