1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
|
+++++++++++
Python News
+++++++++++
(editors: check NEWS.help for information about editing NEWS using ReST.)
What's New in Python 3000?
==========================
*Release date: XX-XXX-200X*
TO DO
-----
- See PEP 3000.
- Test merging certain changes from the 2.5 HEAD code.
- Weed really old/weird stuff from the library.
- Unify range() and xrange().
- Revamp the dict API: keys(), values(), items() return iterators, etc.
- Add the bytes type.
- Rework the standard I/O library to use bytes for binary files.
- Make strings all Unicode.
- Get rid of classic class implementation.
- Get rid of various compatibility-related flags (e.g. division flags).
Core and Builtins
-----------------
- __coerce__ has been removed.
- Classic classes are a thing of the past. All classes are new style.
- Exceptions *must* derive from BaseException.
- Integer division always returns a float. The -Q option is no more.
All the following are gone:
* PyNumber_Divide and PyNumber_InPlaceDivide
* __div__, __rdiv__, and __idiv__
* nb_divide, nb_inplace_divide
* operator.div, operator.idiv, operator.__div__, operator.__idiv__
(Only __truediv__ and __floordiv__ remain, not sure how to handle them
if we want to re-use __div__ and friends. If we do, it will make
it harder to write code for both 2.x and 3.x.)
- 'as' and 'with' are keywords.
- Absolute import is the default behavior for 'import foo' etc.
- input(), raw_input() and apply() are gone.
- Removed staticforward and statichere macros.
Extension Modules
-----------------
Library
-------
Build
-----
C API
-----
Tests
-----
Documentation
-------------
Mac
---
New platforms
-------------
Tools/Demos
-----------
**(For information about older versions, consult the HISTORY file.)**
|