]> git.ipfire.org Git - thirdparty/Python/cpython.git/blame - README
Fix the rest of issue 1400, by introducing a proper implementation of
[thirdparty/Python/cpython.git] / README
CommitLineData
1c896e3f
GR
1This is Python version 3.0 alpha 1
2==================================
9144763a 3
4405cf3c
GR
4For notes specific to this release, see RELNOTES in this directory.
5
1c896e3f
GR
6Python 3000 (a.k.a. "Py3k", and released as Python 3.0) is a new
7version of the language, which is incompatible with the 2.x line of
8releases. The language is mostly the same, but many details,
9especially how built-in objects like dictionaries and strings work,
10have changed considerably, and a lot of deprecated features have
11finally been removed.
50e9fb9e 12
1c896e3f
GR
13This is an ongoing project; the cleanup isn't expected to be complete
14until 2008. In particular there are plans to reorganize the standard
15library namespace.
50e9fb9e 16
64773800 17
1c896e3f
GR
18Release Schedule
19----------------
71dcc3e9 20
1c896e3f
GR
21The release plan is to have a series of alpha releases in 2007, beta
22releases in 2008, and a final release in August 2008. The alpha
23releases are primarily aimed at developers who want a sneak peek at
24the new langauge, especially those folks who plan to port their code
25to Python 3000. The hope is that by the time of the final release,
26many 3rd party packages will already be available in a 3.0-compatible
27form.
8d90f9d5 28
f501b4e5 29
c07d5fad
GR
30Documentation
31-------------
91cb9d2f 32
1c896e3f 33Documentation for Python 3000 is online, updated twice a day:
477c8d5e 34
1c896e3f 35 http://docs.python.org/dev/3.0/
dabed752 36
1c896e3f 37This is a work in progress; please help improve it!
42fc7ccd 38
1c896e3f
GR
39The design documents for Python 3000 are also online. While the
40reference documentation is being updated, the PEPs are often the best
41source of information about new features. Start by reading PEP 3000:
16e809e4 42
1c896e3f 43 http://python.org/dev/peps/pep-3000/
1c4523f0 44
1c4523f0 45
1c896e3f 46What's New
91cb9d2f
GR
47----------
48
1c896e3f
GR
49For an overview of what's new in Python 3000, see Guido van Rossum's
50blog at artima.com:
91cb9d2f 51
1c896e3f 52 http://www.artima.com/weblogs/index.jsp?blogger=guido
91cb9d2f 53
1c896e3f
GR
54We'll eventually have a comprehensive overview of the changes in a
55"What's New in Python 3.0" document. Please help write it!
faf681a1 56
91cb9d2f 57
1c896e3f
GR
58Converting From Python 2.x to 3.0
59---------------------------------
91cb9d2f 60
1c896e3f
GR
61Python 2.6 (not yet released) will contain features to help locating
62code that needs to be changed, such as optional warnings when
63deprecated features are used, and backported versions of certain key
64Python 3000 features.
91cb9d2f 65
1c896e3f
GR
66A source-to-source translation tool, "2to3", can take care of the
67mundane task of converting large amounts of source code. It is not a
68complete solution but is complemented by the deprecation warnings in
692.6. This tool is currently available via the Subversion sandbox:
16e809e4 70
1c896e3f 71 http://svn.python.org/view/sandbox/trunk/2to3/
49fd7fa4 72
91cb9d2f 73
1c896e3f
GR
74Issue Tracker and Mailing List
75------------------------------
91cb9d2f 76
1c896e3f
GR
77We're soliciting bug reports about all aspects of the language. Fixes
78are also welcome, preferable in unified diff format. Please use the
79issue tracker:
91cb9d2f 80
1c896e3f 81 http://bugs.python.org/
64773800 82
1c896e3f
GR
83If you're not sure whether you're dealing with a bug or a feature, use
84the mailing list:
c0be2f5d 85
1c896e3f 86 python-3000@python.org
91cb9d2f 87
1c896e3f 88To subscribe to the list, use the mailman form:
84c8c7f9 89
1c896e3f 90 http://mail.python.org/mailman/listinfo/python-3000/
91cb9d2f 91
433c8ade 92
1c896e3f
GR
93Build Instructions
94------------------
433c8ade 95
bf2604c0 96On Unix, Linux, BSD, OSX, and Cygwin:
433c8ade 97
1c896e3f
GR
98 ./configure
99 make
100 make test
101 sudo make install # or "make altinstall"
433c8ade 102
1c896e3f
GR
103You can pass many options to the configure script; run "./configure
104--help" to find out more. On OSX and Cygwin, the executable is called
105python.exe; elsewhere it's just python.
433c8ade 106
1c896e3f
GR
107On Mac OS X, if you have configured Python with --enable-framework,
108you should use "make frameworkinstall" to do the installation. Note
109that this installs the Python executable in a place that is not
110normally on your PATH, you may want to set up a symlink in
111/usr/local/bin.
03d8f745 112
0c3842fe
ML
113On Windows, see PCbuild/readme.txt.
114
1c896e3f
GR
115If you wish, you can create a subdirectory and invoke configure from
116there. For example:
433c8ade 117
1c896e3f
GR
118 mkdir debug
119 cd debug
120 ../configure --with-pydebug
121 make
122 make test
91cb9d2f 123
1c896e3f
GR
124(This will fail if you *also* built at the top-level directory. You
125should do a "make clean" at the toplevel first.)
ef0f1291
GR
126
127
128Copyright and License Information
129---------------------------------
130
131Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007
132Python Software Foundation.
133All rights reserved.
134
135Copyright (c) 2000 BeOpen.com.
136All rights reserved.
137
138Copyright (c) 1995-2001 Corporation for National Research Initiatives.
139All rights reserved.
140
141Copyright (c) 1991-1995 Stichting Mathematisch Centrum.
142All rights reserved.
143
144See the file "LICENSE" for information on the history of this
145software, terms & conditions for usage, and a DISCLAIMER OF ALL
146WARRANTIES.
147
148This Python distribution contains *no* GNU General Public License
149(GPL) code, so it may be used in proprietary projects. There are
150interfaces to some GNU code but these are entirely optional.
151
152All trademarks referenced herein are property of their respective
153holders.