mirror of
https://github.com/python/cpython.git
synced 2025-09-28 11:15:17 +00:00
The Python programming language
https://www.python.org
![]() ................ r73621 | benjamin.peterson | 2009-06-28 18:39:56 +0200 (So, 28 Jun 2009) | 53 lines Blocked revisions 73382,73394-73397,73401-73402,73422,73480,73536,73540 via svnmerge ........ r73382 | raymond.hettinger | 2009-06-11 18:14:53 -0500 (Thu, 11 Jun 2009) | 1 line Issue 6261: Clarify behavior of random.uniform(). ........ r73394 | antoine.pitrou | 2009-06-12 15:14:08 -0500 (Fri, 12 Jun 2009) | 3 lines Issue #6215: backport the 3.1 io lib ........ r73395 | antoine.pitrou | 2009-06-12 15:36:25 -0500 (Fri, 12 Jun 2009) | 4 lines Restore the old test_file.py (for the builtin file object) as a new file named test_file2k.py ........ r73396 | antoine.pitrou | 2009-06-12 15:41:52 -0500 (Fri, 12 Jun 2009) | 4 lines Try to restore the old test_file and test_univnewlines as new, different files (with the right revisions this time, hopefully) ........ r73397 | antoine.pitrou | 2009-06-12 15:54:21 -0500 (Fri, 12 Jun 2009) | 3 lines Re-enable testing of builtin open() in test_bufio in test_largefile ........ r73401 | alexandre.vassalotti | 2009-06-12 16:52:14 -0500 (Fri, 12 Jun 2009) | 2 lines Make pickling of OrderedDict instances more efficient. ........ r73402 | alexandre.vassalotti | 2009-06-12 18:03:35 -0500 (Fri, 12 Jun 2009) | 6 lines Revert r73401 per Raymond Hettinger's request. The rational is the change might cause imcompatiblity problems with PyYAML. In addition, Raymond wants to kept the different versions of collections synchronized across Python versions. ........ r73422 | benjamin.peterson | 2009-06-13 15:30:48 -0500 (Sat, 13 Jun 2009) | 1 line update ast version ........ r73480 | facundo.batista | 2009-06-19 13:02:28 -0500 (Fri, 19 Jun 2009) | 3 lines Issue #6274. Fixed a potential FD leak in subprocess.py. ........ r73536 | raymond.hettinger | 2009-06-23 16:32:28 -0500 (Tue, 23 Jun 2009) | 1 line Issue 6305: Clarify error message for large arguments to itertools.islice(). ........ r73540 | raymond.hettinger | 2009-06-23 17:20:04 -0500 (Tue, 23 Jun 2009) | 1 line Add procedural note. ........ ................ r73622 | benjamin.peterson | 2009-06-28 18:51:58 +0200 (So, 28 Jun 2009) | 12 lines Blocked revisions 73459,73563 via svnmerge ........ r73459 | raymond.hettinger | 2009-06-16 20:43:47 -0500 (Tue, 16 Jun 2009) | 1 line Add usage note. ........ r73563 | amaury.forgeotdarc | 2009-06-25 16:29:32 -0500 (Thu, 25 Jun 2009) | 2 lines Fix a compilation warning on Windows ........ ................ r73628 | benjamin.peterson | 2009-06-28 21:29:09 +0200 (So, 28 Jun 2009) | 8 lines Blocked revisions 73627 via svnmerge ........ r73627 | benjamin.peterson | 2009-06-28 14:27:55 -0500 (Sun, 28 Jun 2009) | 1 line return locals and cells in get_locals() not bound globals, though ........ ................ r73655 | mark.dickinson | 2009-06-28 23:59:52 +0200 (So, 28 Jun 2009) | 8 lines Blocked revisions 73653 via svnmerge ........ r73653 | mark.dickinson | 2009-06-28 22:48:15 +0100 (Sun, 28 Jun 2009) | 1 line More Decimal quote fixing; backport of r73642 ........ ................ r73657 | benjamin.peterson | 2009-06-29 00:24:31 +0200 (Mo, 29 Jun 2009) | 14 lines Blocked revisions 73272,73546 via svnmerge ........ r73272 | kristjan.jonsson | 2009-06-07 11:43:23 -0500 (Sun, 07 Jun 2009) | 2 lines http://bugs.python.org/issue6192 Add a feature to disable the Nagle algorithm on sockets in TCPServer ........ r73546 | kristjan.jonsson | 2009-06-24 04:17:04 -0500 (Wed, 24 Jun 2009) | 2 lines http://bugs.python.org/issue6192 Move the newly introduced disable_nagle_algorithm flag into the StreamRequestHandler, where it is more appropriate. ........ ................ r73680 | antoine.pitrou | 2009-06-29 16:17:23 +0200 (Mo, 29 Jun 2009) | 8 lines Blocked revisions 73679 via svnmerge ........ r73679 | antoine.pitrou | 2009-06-29 16:14:56 +0200 (lun., 29 juin 2009) | 3 lines Backport fix for buglet from py3k ........ ................ r73687 | hirokazu.yamamoto | 2009-06-29 18:03:21 +0200 (Mo, 29 Jun 2009) | 8 lines Blocked revisions 73686 via svnmerge ........ r73686 | hirokazu.yamamoto | 2009-06-30 00:52:21 +0900 | 1 line Issue #6368: Fixed unused variable warning on Unix. ........ ................ r73716 | benjamin.peterson | 2009-07-01 01:09:03 +0200 (Mi, 01 Jul 2009) | 8 lines Blocked revisions 73714 via svnmerge ........ r73714 | benjamin.peterson | 2009-06-30 17:57:08 -0500 (Tue, 30 Jun 2009) | 1 line convert usage of fail* to assert* ........ ................ r73746 | benjamin.peterson | 2009-07-01 15:47:12 +0200 (Mi, 01 Jul 2009) | 13 lines Blocked revisions 73638,73697 via svnmerge ........ r73638 | kristjan.jonsson | 2009-06-28 16:04:17 -0500 (Sun, 28 Jun 2009) | 2 lines http://bugs.python.org/issue6267 Cumulative patch to http and xmlrpc ........ r73697 | raymond.hettinger | 2009-06-29 14:10:29 -0500 (Mon, 29 Jun 2009) | 1 line Issue 6370: Performance issue with collections.Counter(). ........ ................ r73777 | benjamin.peterson | 2009-07-02 20:18:56 +0200 (Do, 02 Jul 2009) | 8 lines Blocked revisions 73776 via svnmerge ........ r73776 | benjamin.peterson | 2009-07-02 13:16:45 -0500 (Thu, 02 Jul 2009) | 1 line when print() gets unicode arguments, sep and end should be unicode by default #4618 ........ ................ r73807 | benjamin.peterson | 2009-07-03 15:22:00 +0200 (Fr, 03 Jul 2009) | 1 line rip out bsddb support code ................ r73843 | kristjan.jonsson | 2009-07-04 17:09:25 +0200 (Sa, 04 Jul 2009) | 2 lines http://bugs.python.org/issue6381 merging revision 73819 from trunk ................ r73844 | kristjan.jonsson | 2009-07-04 17:16:38 +0200 (Sa, 04 Jul 2009) | 1 line Revert last change, which was incorrect. ................ r73853 | alexandre.vassalotti | 2009-07-05 08:31:55 +0200 (So, 05 Jul 2009) | 15 lines Blocked revisions 73846-73847 via svnmerge ........ r73846 | alexandre.vassalotti | 2009-07-05 00:22:40 -0400 (Sun, 05 Jul 2009) | 6 lines Issue 2370: Add Python 3 warnings for the removal of operator.isCallable and operator.sequenceIncludes. Patch contributed by Jeff Balogh (and updated slightly by me). ........ r73847 | alexandre.vassalotti | 2009-07-05 00:25:46 -0400 (Sun, 05 Jul 2009) | 2 lines Fix bad variable name in r73846. ........ ................ r73855 | alexandre.vassalotti | 2009-07-05 08:34:48 +0200 (So, 05 Jul 2009) | 8 lines Blocked revisions 73854 via svnmerge ........ r73854 | alexandre.vassalotti | 2009-07-05 02:33:41 -0400 (Sun, 05 Jul 2009) | 2 lines Backport test cases added in r73852. ........ ................ r73860 | mark.dickinson | 2009-07-05 12:03:49 +0200 (So, 05 Jul 2009) | 9 lines Blocked revisions 73858 via svnmerge ........ r73858 | mark.dickinson | 2009-07-05 11:01:24 +0100 (Sun, 05 Jul 2009) | 3 lines Issues #1530559, #1741130: Fix various inconsistencies in struct.pack integer packing, and reenable some previously broken tests. ........ ................ r73886 | mark.dickinson | 2009-07-07 13:09:38 +0200 (Di, 07 Jul 2009) | 8 lines Blocked revisions 73884 via svnmerge ........ r73884 | mark.dickinson | 2009-07-07 12:08:23 +0100 (Tue, 07 Jul 2009) | 1 line Add skipping to struct test that only applies when overflow masking is in effect ........ ................ r73890 | mark.dickinson | 2009-07-07 16:18:33 +0200 (Di, 07 Jul 2009) | 9 lines Blocked revisions 73888 via svnmerge ........ r73888 | mark.dickinson | 2009-07-07 15:15:45 +0100 (Tue, 07 Jul 2009) | 3 lines Expand test coverage for struct.pack with native integer packing; reorganize the test_struct module to remove duplicated code and tests. ........ ................ r73893 | mark.dickinson | 2009-07-07 17:09:33 +0200 (Di, 07 Jul 2009) | 9 lines Blocked revisions 73891 via svnmerge ........ r73891 | mark.dickinson | 2009-07-07 16:08:28 +0100 (Tue, 07 Jul 2009) | 3 lines Issue #1523: Remove deprecated overflow masking in struct module, and make sure that out-of-range values consistently raise struct.error. ........ ................ r73909 | r.david.murray | 2009-07-09 21:47:26 +0200 (Do, 09 Jul 2009) | 9 lines Blocked revisions 73907 via svnmerge ........ r73907 | r.david.murray | 2009-07-09 12:17:30 -0400 (Thu, 09 Jul 2009) | 4 lines Temporarily ignore rmtree errors in test_getcwd_long_pathnames to see if the test gives useful failure info on Solaris buildbot. ........ ................ r73936 | georg.brandl | 2009-07-11 12:08:49 +0200 (Sa, 11 Jul 2009) | 1 line Revert r73807, which removed code to be able to build _dbm with bsddb. ................ r73950 | tarek.ziade | 2009-07-11 13:02:29 +0200 (Sa, 11 Jul 2009) | 8 lines Blocked revisions 73944 via svnmerge ........ r73944 | tarek.ziade | 2009-07-11 12:48:31 +0200 (Sat, 11 Jul 2009) | 1 line cleaned up distutils.build_ext module ........ ................ r73980 | benjamin.peterson | 2009-07-12 19:02:22 +0200 (So, 12 Jul 2009) | 8 lines Blocked revisions 73979 via svnmerge ........ r73979 | benjamin.peterson | 2009-07-12 11:56:54 -0500 (Sun, 12 Jul 2009) | 1 line add versionadded ........ ................ r73992 | benjamin.peterson | 2009-07-13 01:58:08 +0200 (Mo, 13 Jul 2009) | 8 lines Blocked revisions 73991 via svnmerge ........ r73991 | benjamin.peterson | 2009-07-12 18:56:18 -0500 (Sun, 12 Jul 2009) | 1 line change encoding to utf-8 ........ ................ r74016 | alexandre.vassalotti | 2009-07-15 20:32:08 +0200 (Mi, 15 Jul 2009) | 9 lines Blocked revisions 74014 via svnmerge ........ r74014 | alexandre.vassalotti | 2009-07-15 14:19:47 -0400 (Wed, 15 Jul 2009) | 3 lines Issue #2389: Pickle array objects using a list representation for portability across different machine architectures and compatibility with Python 3.x. ........ ................ r74035 | alexandre.vassalotti | 2009-07-17 07:41:49 +0200 (Fr, 17 Jul 2009) | 23 lines Blocked revisions 74031-74033 via svnmerge ........ r74031 | alexandre.vassalotti | 2009-07-17 00:24:45 -0400 (Fri, 17 Jul 2009) | 2 lines Use AC_CHECK_SIZEOF to find the size of off_t, pthread_t and time_t. ........ r74032 | alexandre.vassalotti | 2009-07-17 00:59:05 -0400 (Fri, 17 Jul 2009) | 4 lines Rename the useless AC_INCLUDES_DEFAULT and protect the includes. This is mostly an aesthetic change. ........ r74033 | alexandre.vassalotti | 2009-07-17 01:26:39 -0400 (Fri, 17 Jul 2009) | 8 lines Cache the results of all runtime checks. This will be helpful to people who want to compile Python with a cross-compiler. Now you can upload the configure script on your host machine, run it with caching enabled, and download the cached results on your build machine. ........ ................ r74049 | alexandre.vassalotti | 2009-07-17 09:49:53 +0200 (Fr, 17 Jul 2009) | 2 lines Regenerate configure script. ................ r74050 | alexandre.vassalotti | 2009-07-17 09:51:38 +0200 (Fr, 17 Jul 2009) | 8 lines Blocked revisions 74048 via svnmerge ........ r74048 | alexandre.vassalotti | 2009-07-17 03:46:46 -0400 (Fri, 17 Jul 2009) | 2 lines Regenerate configure script. ........ ................ r74053 | alexandre.vassalotti | 2009-07-17 10:29:18 +0200 (Fr, 17 Jul 2009) | 17 lines Blocked revisions 74028-74029,74038 via svnmerge ........ r74028 | georg.brandl | 2009-07-16 15:24:48 -0400 (Thu, 16 Jul 2009) | 1 line #6482: simplify "except: raise" to "finally:". ........ r74029 | georg.brandl | 2009-07-16 17:47:51 -0400 (Thu, 16 Jul 2009) | 1 line Revert r74028. ........ r74038 | alexandre.vassalotti | 2009-07-17 02:10:06 -0400 (Fri, 17 Jul 2009) | 3 lines Double-quote the test cases for chflags() and lchflags() to ensure they don't get mangled. ........ ................ r74060 | alexandre.vassalotti | 2009-07-17 13:12:50 +0200 (Fr, 17 Jul 2009) | 17 lines Blocked revisions 73774,73812,73839 via svnmerge ........ r73774 | benjamin.peterson | 2009-07-02 13:06:17 -0400 (Thu, 02 Jul 2009) | 1 line only order comparisons are removed in py3k #6119 ........ r73812 | benjamin.peterson | 2009-07-03 10:08:20 -0400 (Fri, 03 Jul 2009) | 1 line another cStringIO restriction ........ r73839 | gregory.p.smith | 2009-07-04 04:42:10 -0400 (Sat, 04 Jul 2009) | 3 lines Merge r73838 from py3k branch. Use the nondeprecated unittest method names. ........ ................ r74061 | alexandre.vassalotti | 2009-07-17 13:20:13 +0200 (Fr, 17 Jul 2009) | 8 lines Blocked revisions 73773 via svnmerge ........ r73773 | benjamin.peterson | 2009-07-02 12:51:56 -0400 (Thu, 02 Jul 2009) | 1 line remove this test; a module level warning is enough ........ ................ r74064 | alexandre.vassalotti | 2009-07-17 14:49:05 +0200 (Fr, 17 Jul 2009) | 29 lines Blocked revisions 73819,73821-73822,73863,73877 via svnmerge ........ r73819 | kristjan.jonsson | 2009-07-03 19:07:07 -0400 (Fri, 03 Jul 2009) | 2 lines http://bugs.python.org/issue6381 some platforms may raise ENOTCONN if the stack has disconnected the socket on behalf of the peer. ........ r73821 | kristjan.jonsson | 2009-07-03 19:26:02 -0400 (Fri, 03 Jul 2009) | 2 lines http://bugs.python.org/issue6267 Incorrect exception handling for xmlrp client retry ........ r73822 | kristjan.jonsson | 2009-07-03 19:29:50 -0400 (Fri, 03 Jul 2009) | 2 lines http://bugs.python.org/issue6267 Incorrect exception handling for xmlrpc client retry ........ r73863 | kristjan.jonsson | 2009-07-05 16:56:57 -0400 (Sun, 05 Jul 2009) | 2 lines http://bugs.python.org/issue6382 close_request() (which can send a socket.shutdown()) must be called by the child process in a forking server. The parent must merely close the socket handle. ........ r73877 | kristjan.jonsson | 2009-07-07 05:01:34 -0400 (Tue, 07 Jul 2009) | 2 lines http://bugs.python.org/issue6382 added the shutdown_request() which can perform shutdown before calling close. This is needed for the ForkingMixIn because different close semantics are required for child and parent process. shutdown_request(), for TCP servers, calls socket.shutdown() and then calls close_request(). Therefore, this is not an backwards incompatible change, since subclasses that continue to override close_request() continue to work. ........ ................ r74068 | alexandre.vassalotti | 2009-07-18 01:11:52 +0200 (Sa, 18 Jul 2009) | 2 lines Revert r74049. ................ r74071 | alexandre.vassalotti | 2009-07-18 01:27:40 +0200 (Sa, 18 Jul 2009) | 12 lines Blocked revisions 74067,74069 via svnmerge ........ r74067 | alexandre.vassalotti | 2009-07-17 19:09:02 -0400 (Fri, 17 Jul 2009) | 2 lines Revert r74048. ........ r74069 | alexandre.vassalotti | 2009-07-17 19:17:48 -0400 (Fri, 17 Jul 2009) | 2 lines Regenerate configure script using autoconf 2.61. ........ ................ r74082 | mark.dickinson | 2009-07-18 17:19:43 +0200 (Sa, 18 Jul 2009) | 9 lines Blocked revisions 74080 via svnmerge ........ r74080 | mark.dickinson | 2009-07-18 16:18:18 +0100 (Sat, 18 Jul 2009) | 3 lines Issue #6431: Fix Fraction comparisons with unknown types, and with float infinities and nans. Backport of r74078 from py3k. ........ ................ r74120 | benjamin.peterson | 2009-07-20 22:36:45 +0200 (Mo, 20 Jul 2009) | 8 lines Blocked revisions 74119 via svnmerge ........ r74119 | benjamin.peterson | 2009-07-20 15:28:08 -0500 (Mon, 20 Jul 2009) | 2 lines the Slice in x[::] has to have step as None to help the interpreter ........ ................ r74125 | alexandre.vassalotti | 2009-07-21 01:59:41 +0200 (Di, 21 Jul 2009) | 2 lines Ignore the correct jinga directory. ................ r74129 | alexandre.vassalotti | 2009-07-21 02:55:16 +0200 (Di, 21 Jul 2009) | 2 lines Revert r74125. ................ r74174 | benjamin.peterson | 2009-07-22 18:36:58 +0200 (Mi, 22 Jul 2009) | 12 lines Blocked revisions 74152,74173 via svnmerge ........ r74152 | benjamin.peterson | 2009-07-21 19:03:43 -0500 (Tue, 21 Jul 2009) | 1 line simplify ........ r74173 | benjamin.peterson | 2009-07-22 11:34:37 -0500 (Wed, 22 Jul 2009) | 1 line revert r74152 ........ ................ r74191 | amaury.forgeotdarc | 2009-07-24 00:34:27 +0200 (Fr, 24 Jul 2009) | 10 lines Blocked revisions 74189 via svnmerge ........ r74189 | amaury.forgeotdarc | 2009-07-23 21:26:02 +0200 (jeu., 23 juil. 2009) | 4 lines #6553: crash in cPickle.load(), when given a StringIO with incomplete data. Will backport to 2.6, 3.x already fixed a similar issue with issue4298. ........ ................ r74195 | georg.brandl | 2009-07-24 22:13:37 +0200 (Fr, 24 Jul 2009) | 8 lines Blocked revisions 74194 via svnmerge ........ r74194 | georg.brandl | 2009-07-24 22:09:46 +0200 (Fr, 24 Jul 2009) | 1 line #6564: fix section about the two raise syntaxes. ........ ................ r74221 | eric.smith | 2009-07-27 04:00:11 +0200 (Mo, 27 Jul 2009) | 8 lines Blocked revisions 74219 via svnmerge ........ r74219 | eric.smith | 2009-07-26 21:58:25 -0400 (Sun, 26 Jul 2009) | 1 line Sync trunk and py3k versions of string formatting. Will manually merge into py3k. ........ ................ r74236 | mark.dickinson | 2009-07-28 18:46:53 +0200 (Di, 28 Jul 2009) | 8 lines Blocked revisions 74234 via svnmerge ........ r74234 | mark.dickinson | 2009-07-28 17:45:13 +0100 (Tue, 28 Jul 2009) | 1 line Remove leading blank line from cmath.rst ........ ................ r74242 | mark.dickinson | 2009-07-28 22:36:23 +0200 (Di, 28 Jul 2009) | 10 lines Blocked revisions 74240 via svnmerge ........ r74240 | mark.dickinson | 2009-07-28 21:35:03 +0100 (Tue, 28 Jul 2009) | 4 lines Issue #6561: '\d' regular expression should not match characters of category [No]; only those of category [Nd]. (Backport of r74237 from py3k.) ........ ................ r74244 | amaury.forgeotdarc | 2009-07-28 23:32:43 +0200 (Di, 28 Jul 2009) | 8 lines Blocked revisions 74243 via svnmerge ........ r74243 | amaury.forgeotdarc | 2009-07-28 22:47:55 +0200 (mar., 28 juil. 2009) | 2 lines "Fix" for the refleak report: the ABC classes are now in the _pyio module ........ ................ r74257 | georg.brandl | 2009-07-29 18:33:19 +0200 (Mi, 29 Jul 2009) | 8 lines Blocked revisions 74256 via svnmerge ........ r74256 | georg.brandl | 2009-07-29 16:32:30 +0000 (Mi, 29 Jul 2009) | 1 line #6336: Add nb_divide. ........ ................ r74263 | alexandre.vassalotti | 2009-07-29 22:00:39 +0200 (Mi, 29 Jul 2009) | 13 lines Blocked revisions 74134,74147 via svnmerge ........ r74134 | thomas.heller | 2009-07-21 02:27:14 -0400 (Tue, 21 Jul 2009) | 3 lines Issue #6493: Fix a ctypes problem setting bitfields more than 31 bits wide. ........ r74147 | thomas.heller | 2009-07-21 15:04:02 -0400 (Tue, 21 Jul 2009) | 1 line Revert rev 74134, as it does not completely fixx issue #6493. ........ ................ r74283 | mark.dickinson | 2009-08-02 13:02:05 +0200 (So, 02 Aug 2009) | 10 lines Blocked revisions 74281 via svnmerge ........ r74281 | mark.dickinson | 2009-08-02 11:59:36 +0100 (Sun, 02 Aug 2009) | 4 lines Issue #6595: Allow Decimal constructor to accept non-European decimal digits, as recommended by the specification. (Backport of r74279 from py3k.) ........ ................ |
||
---|---|---|
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
Parser | ||
PC | ||
PCbuild | ||
Python | ||
Tools | ||
.bzrignore | ||
.hgignore | ||
.hgtags | ||
configure | ||
configure.in | ||
install-sh | ||
LICENSE | ||
Makefile.pre.in | ||
pyconfig.h.in | ||
README | ||
runtests.sh | ||
setup.py |
This is Python version 3.1 ========================== Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009 Python Software Foundation. All rights reserved. Python 3.x is a new version of the language, which is incompatible with the 2.x line of releases. The language is mostly the same, but many details, especially how built-in objects like dictionaries and strings work, have changed considerably, and a lot of deprecated features have finally been removed. Build Instructions ------------------ On Unix, Linux, BSD, OSX, and Cygwin: ./configure make make test sudo make install This will install Python as python3. You can pass many options to the configure script; run "./configure --help" to find out more. On OSX and Cygwin, the executable is called python.exe; elsewhere it's just python. On Mac OS X, if you have configured Python with --enable-framework, you should use "make frameworkinstall" to do the installation. Note that this installs the Python executable in a place that is not normally on your PATH, you may want to set up a symlink in /usr/local/bin. On Windows, see PCbuild/readme.txt. If you wish, you can create a subdirectory and invoke configure from there. For example: mkdir debug cd debug ../configure --with-pydebug make make test (This will fail if you *also* built at the top-level directory. You should do a "make clean" at the toplevel first.) What's New ---------- We try to have a comprehensive overview of the changes in the "What's New in Python 3.1" document, found at http://docs.python.org/dev/3.1/whatsnew/3.1.html For a more detailed change log, read Misc/NEWS (though this file, too, is incomplete, and also doesn't list anything merged in from the 2.7 release under development). If you want to install multiple versions of Python see the section below entitled "Installing multiple versions". Documentation ------------- Documentation for Python 3.1 is online, updated twice a day: http://docs.python.org/dev/3.1/ All documentation is also available online at the Python web site (http://docs.python.org/, see below). It is available online for occasional reference, or can be downloaded in many formats for faster access. The documentation is downloadable in HTML, PostScript, PDF, LaTeX (through 2.5), and reStructuredText (2.6+) formats; the LaTeX and reStructuredText versions are primarily for documentation authors, translators, and people with special formatting requirements. Converting From Python 2.x to 3.x --------------------------------- Python starting with 2.6 will contain features to help locating code that needs to be changed, such as optional warnings when deprecated features are used, and backported versions of certain key Python 3.x features. A source-to-source translation tool, "2to3", can take care of the mundane task of converting large amounts of source code. It is not a complete solution but is complemented by the deprecation warnings in 2.6. See http://docs.python.org/dev/py3k/library/2to3.html for more information. Testing ------- To test the interpreter, type "make test" in the top-level directory. This runs the test set twice (once with no compiled files, once with the compiled files left by the previous test run). The test set produces some output. You can generally ignore the messages about skipped tests due to optional features which can't be imported. If a message is printed about a failed test or a traceback or core dump is produced, something is wrong. On some Linux systems (those that are not yet using glibc 6), test_strftime fails due to a non-standard implementation of strftime() in the C library. Please ignore this, or upgrade to glibc version 6. By default, tests are prevented from overusing resources like disk space and memory. To enable these tests, run "make testall". IMPORTANT: If the tests fail and you decide to mail a bug report, *don't* include the output of "make test". It is useless. Run the failing test manually, as follows: ./python Lib/test/regrtest.py -v test_whatever (substituting the top of the source tree for '.' if you built in a different directory). This runs the test in verbose mode. Installing multiple versions ---------------------------- On Unix and Mac systems if you intend to install multiple versions of Python using the same installation prefix (--prefix argument to the configure script) you must take care that your primary python executable is not overwritten by the installation of a different versio. All files and directories installed using "make altinstall" contain the major and minor version and can thus live side-by-side. "make install" also creates ${prefix}/bin/python3 which refers to ${prefix}/bin/pythonX.Y. If you intend to install multiple versions using the same prefix you must decide which version (if any) is your "primary" version. Install that version using "make install". Install all other versions using "make altinstall". For example, if you want to install Python 2.5, 2.6 and 3.0 with 2.6 being the primary version, you would execute "make install" in your 2.6 build directory and "make altinstall" in the others. Issue Tracker and Mailing List ------------------------------ We're soliciting bug reports about all aspects of the language. Fixes are also welcome, preferable in unified diff format. Please use the issue tracker: http://bugs.python.org/ If you're not sure whether you're dealing with a bug or a feature, use the mailing list: python-dev@python.org To subscribe to the list, use the mailman form: http://mail.python.org/mailman/listinfo/python-dev/ Proposals for enhancement ------------------------- If you have a proposal to change Python, you may want to send an email to the comp.lang.python or python-ideas mailing lists for inital feedback. A Python Enhancement Proposal (PEP) may be submitted if your idea gains ground. All current PEPs, as well as guidelines for submitting a new PEP, are listed at http://www.python.org/dev/peps/. Release Schedule ---------------- See PEP 375 for release details: http://www.python.org/dev/peps/pep-0375/ Copyright and License Information --------------------------------- Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008 Python Software Foundation. All rights reserved. Copyright (c) 2000 BeOpen.com. All rights reserved. Copyright (c) 1995-2001 Corporation for National Research Initiatives. All rights reserved. Copyright (c) 1991-1995 Stichting Mathematisch Centrum. All rights reserved. See the file "LICENSE" for information on the history of this software, terms & conditions for usage, and a DISCLAIMER OF ALL WARRANTIES. This Python distribution contains *no* GNU General Public License (GPL) code, so it may be used in proprietary projects. There are interfaces to some GNU code but these are entirely optional. All trademarks referenced herein are property of their respective holders.