blob: b8314cd62558efbb30c220547186b27cbf4357e0 [file] [log] [blame]
Skip Montanaroe5d7f7f2002-09-20 14:16:59 +00001+++++++++++
2Python News
3+++++++++++
4
Anthony Baxterb0c66302004-11-04 05:23:17 +00005(editors: check NEWS.help for information about editing NEWS using ReST.)
6
Guido van Rossum45aecf42006-03-15 04:58:47 +00007What's New in Python 3000?
8==========================
Thomas Wouters4d70c3d2006-06-08 14:42:34 +00009
Neal Norwitz4886cc32006-08-21 17:06:07 +000010*Release date: XX-XXX-200X*
11
12TO DO
13-----
14
15- See PEP 3000.
16
17- Test merging certain changes from the 2.5 HEAD code.
18
19- Weed really old/weird stuff from the library.
20
21- Unify range() and xrange().
22
23- Revamp the dict API: keys(), values(), items() return iterators, etc.
24
25- Add the bytes type.
26
27- Rework the standard I/O library to use bytes for binary files.
28
29- Make strings all Unicode.
30
31- Get rid of classic class implementation.
32
33- Get rid of various compatibility-related flags (e.g. division flags).
34
35Core and Builtins
36-----------------
37
38- __coerce__ has been removed.
39
40- Classic classes are a thing of the past. All classes are new style.
41
42- Exceptions *must* derive from BaseException.
43
44- Integer division always returns a float. The -Q option is no more.
45 All the following are gone:
46 * PyNumber_Divide and PyNumber_InPlaceDivide
47 * __div__, __rdiv__, and __idiv__
48 * nb_divide, nb_inplace_divide
49 * operator.div, operator.idiv, operator.__div__, operator.__idiv__
50 (Only __truediv__ and __floordiv__ remain, not sure how to handle them
51 if we want to re-use __div__ and friends. If we do, it will make
52 it harder to write code for both 2.x and 3.x.)
53
54- 'as' and 'with' are keywords.
55
56- Absolute import is the default behavior for 'import foo' etc.
57
58- Removed these Python builtins:
59 apply(), coerce(), input(), raw_input()
60
61- Removed these Python slots:
62 __coerce__, __div__, __idiv__, __rdiv__
63
64- Removed these attributes from Python modules:
65 * operator module: div, idiv, __div__, __idiv__
66
67*** PyNumber_CoerceEx() and nb_coerce still need to be removed.
68
69- Removed these C APIs:
70 PyNumber_Coerce(),
71
72- Removed these C slots/fields:
73 nb_divide, nb_inplace_divide
74
75- Removed these macros:
76 staticforward, statichere, PyArg_GetInt, PyArg_NoArgs
77
78- Removed these typedefs:
79 intargfunc, intintargfunc, intobjargproc, intintobjargproc,
80 getreadbufferproc, getwritebufferproc, getsegcountproc, getcharbufferproc
81
82- Removed these opcodes:
83 BINARY_DIVIDE, INPLACE_DIVIDE
84
85Extension Modules
86-----------------
87
88Library
89-------
90
Raymond Hettinger4901a1f2004-12-02 08:59:14 +000091Build
92-----
93
Raymond Hettinger4901a1f2004-12-02 08:59:14 +000094C API
95-----
96
Raymond Hettinger4901a1f2004-12-02 08:59:14 +000097Tests
98-----
99
Brett Cannonced04e02005-02-13 22:53:22 +0000100Documentation
101-------------
102
Raymond Hettinger4901a1f2004-12-02 08:59:14 +0000103Mac
104---
105
Hye-Shik Chang4e422812005-07-17 02:36:59 +0000106New platforms
107-------------
108
Raymond Hettinger4901a1f2004-12-02 08:59:14 +0000109Tools/Demos
110-----------
111
Skip Montanaroe5d7f7f2002-09-20 14:16:59 +0000112**(For information about older versions, consult the HISTORY file.)**