mirror of
https://github.com/python/cpython.git
synced 2025-08-03 08:34:29 +00:00
The Python programming language
https://www.python.org
![]() ........ r86869 | georg.brandl | 2010-11-29 21:12:24 +0100 (Mo, 29 Nov 2010) | 1 line Code style cleanup in bdb. ........ r86870 | georg.brandl | 2010-11-29 21:19:15 +0100 (Mo, 29 Nov 2010) | 1 line Use booleans where applicable. ........ r86934 | georg.brandl | 2010-12-02 19:06:51 +0100 (Do, 02 Dez 2010) | 1 line #7475: add (un)transform method to bytes/bytearray and str, add back codecs that can be used with them from Python 2. ........ r86943 | georg.brandl | 2010-12-02 23:35:25 +0100 (Do, 02 Dez 2010) | 1 line Re-add accidentally removed line. ........ r86954 | georg.brandl | 2010-12-03 08:37:16 +0100 (Fr, 03 Dez 2010) | 1 line Move entries from "core" section to where they belong. ........ r86955 | georg.brandl | 2010-12-03 08:38:22 +0100 (Fr, 03 Dez 2010) | 1 line #1745035: add limits for command and data size to smtpd; patch by Savio Sena. ........ r86957 | georg.brandl | 2010-12-03 08:47:22 +0100 (Fr, 03 Dez 2010) | 1 line #940286: pydoc.Helper.help() ignores input/output init parameters. ........ r86958 | georg.brandl | 2010-12-03 08:49:09 +0100 (Fr, 03 Dez 2010) | 1 line Use booleans. ........ r86959 | georg.brandl | 2010-12-03 08:54:09 +0100 (Fr, 03 Dez 2010) | 1 line Remove redundant check for PyBytes in unicode_encode. ........ r86961 | georg.brandl | 2010-12-03 10:18:37 +0100 (Fr, 03 Dez 2010) | 1 line Rewrap NEWS (Builbot test commit.) ........ r86963 | georg.brandl | 2010-12-03 10:45:33 +0100 (Fr, 03 Dez 2010) | 1 line Add a line with the actual changes. ........ r87013 | georg.brandl | 2010-12-04 10:14:36 +0100 (Sa, 04 Dez 2010) | 1 line #6045: provide at least get() and setdefault() for all dbm modules. ........ r87019 | georg.brandl | 2010-12-04 11:26:46 +0100 (Sa, 04 Dez 2010) | 1 line Add an "optimize" parameter to compile() to control the optimization level, and provide an interface to it in py_compile, compileall and PyZipFile. ........ r87020 | georg.brandl | 2010-12-04 11:39:14 +0100 (Sa, 04 Dez 2010) | 1 line #1513299: cleanup some map() uses where a comprehension works better. ........ r87021 | georg.brandl | 2010-12-04 11:47:18 +0100 (Sa, 04 Dez 2010) | 1 line #1772833: add -q command line option. ........ r87022 | georg.brandl | 2010-12-04 12:02:04 +0100 (Sa, 04 Dez 2010) | 1 line #1569291: speed up array.repeat() by making only O(log n) memcpy() calls; the code follows unicode_repeat. ........ r87024 | georg.brandl | 2010-12-04 12:12:43 +0100 (Sa, 04 Dez 2010) | 1 line #7905: Actually respect the keyencoding parameter to shelve.Shelf. ........ r87025 | georg.brandl | 2010-12-04 12:20:26 +0100 (Sa, 04 Dez 2010) | 1 line Add the "interact" pdb command from pdb++. ........ r87045 | georg.brandl | 2010-12-04 17:00:47 +0100 (Sa, 04 Dez 2010) | 1 line #7245: Add a SIGINT handler on continue in pdb that allows to break a program again by pressing Ctrl-C. ........ r87047 | georg.brandl | 2010-12-04 17:21:42 +0100 (Sa, 04 Dez 2010) | 1 line Add display/undisplay pdb commands. ........ r87048 | georg.brandl | 2010-12-04 17:22:44 +0100 (Sa, 04 Dez 2010) | 1 line Fix accidental checkin. ........ r87051 | georg.brandl | 2010-12-04 18:11:36 +0100 (Sa, 04 Dez 2010) | 1 line Fix test suite to not activate new sigint behavior in pdb. ........ r87060 | georg.brandl | 2010-12-04 20:01:29 +0100 (Sa, 04 Dez 2010) | 1 line Update pydoc topics. ........ r87062 | georg.brandl | 2010-12-04 20:06:14 +0100 (Sa, 04 Dez 2010) | 1 line Update suspicious exceptions. ........ r87063 | georg.brandl | 2010-12-04 20:06:18 +0100 (Sa, 04 Dez 2010) | 1 line Fix markup errors. ........ r87064 | georg.brandl | 2010-12-04 20:09:24 +0100 (Sa, 04 Dez 2010) | 1 line Bump to 3.2b1. ........ r87082 | georg.brandl | 2010-12-05 08:51:39 +0100 (So, 05 Dez 2010) | 1 line Temporarily disable newly failing test for the release. ........ r87083 | georg.brandl | 2010-12-05 08:59:29 +0100 (So, 05 Dez 2010) | 1 line Apply rest of #10628, and add a few todo comments. ........ r87086 | georg.brandl | 2010-12-05 12:40:48 +0100 (So, 05 Dez 2010) | 1 line Take PyUnicode_TransformDecimalToASCII out of the limited API. ........ r87088 | georg.brandl | 2010-12-05 12:42:38 +0100 (So, 05 Dez 2010) | 1 line Fix title. ........ r87102 | georg.brandl | 2010-12-06 23:25:25 +0100 (Mo, 06 Dez 2010) | 1 line Don't use deprecated aliases. ........ r87147 | georg.brandl | 2010-12-09 19:10:27 +0100 (Do, 09 Dez 2010) | 1 line #10661: give QName a nicer repr. ........ r87148 | georg.brandl | 2010-12-09 19:26:02 +0100 (Do, 09 Dez 2010) | 1 line Guard against rogue tuples. ........ r87161 | georg.brandl | 2010-12-10 20:22:11 +0100 (Fr, 10 Dez 2010) | 1 line Fix typo. ........ r87364 | georg.brandl | 2010-12-18 12:53:25 +0100 (Sa, 18 Dez 2010) | 1 line Add attribution. ........ r87365 | georg.brandl | 2010-12-18 12:58:12 +0100 (Sa, 18 Dez 2010) | 1 line Typo fix. ........ r87366 | georg.brandl | 2010-12-18 13:01:15 +0100 (Sa, 18 Dez 2010) | 1 line Use kbd role. ........ r87394 | georg.brandl | 2010-12-19 11:10:32 +0100 (So, 19 Dez 2010) | 1 line #6075: make idle work with both Carbon AquaTk and Cocoa AquaTk. Patch by Kevin Walzer and Ned Deily. ........ r87395 | georg.brandl | 2010-12-19 11:17:46 +0100 (So, 19 Dez 2010) | 1 line Temporarily skip test failing with newer ttk. ........ r87396 | georg.brandl | 2010-12-19 11:25:28 +0100 (So, 19 Dez 2010) | 1 line Update pydoc topics. ........ r87397 | georg.brandl | 2010-12-19 11:28:46 +0100 (So, 19 Dez 2010) | 1 line Fix markup error and update suspicious file. ........ r87398 | georg.brandl | 2010-12-19 11:30:28 +0100 (So, 19 Dez 2010) | 1 line Bump to 3.2b2. ........ r87400 | georg.brandl | 2010-12-19 13:33:52 +0100 (So, 19 Dez 2010) | 1 line #3243 follow-up: remove debugging print and fix docs; data is a bytes object. ........ r87525 | georg.brandl | 2010-12-28 10:51:43 +0100 (Di, 28 Dez 2010) | 1 line #10679: install idle, pydoc, 2to3 scripts with X.Y suffix for make altinstall; create symlinks for make install. ........ r87549 | georg.brandl | 2010-12-28 19:30:18 +0100 (Di, 28 Dez 2010) | 1 line Add sys.flags.quiet attribute for the new -q option, as noted missing by Eric in #1772833. ........ r87579 | georg.brandl | 2010-12-30 18:22:33 +0100 (Do, 30 Dez 2010) | 1 line Remove some of the old demos. (Put a few somewhere else.) ........ r87580 | georg.brandl | 2010-12-30 18:32:22 +0100 (Do, 30 Dez 2010) | 1 line Clean up tools: remove "world" and "framer", move single SSL script to scripts/. ........ r87583 | georg.brandl | 2010-12-30 22:33:07 +0100 (Do, 30 Dez 2010) | 1 line More cleanup: Move some demos into a dedicated Tools/demo dir, move 2to3 demo to Tools, and remove all the other Demo content. ........ r87584 | georg.brandl | 2010-12-30 22:33:49 +0100 (Do, 30 Dez 2010) | 1 line Remove the actual Demo dir. ........ r87585 | georg.brandl | 2010-12-30 23:11:50 +0100 (Do, 30 Dez 2010) | 1 line Harmonize docstrings. Move redemo from Tools/scripts to Tools/demo. Add a README file to Tools/demo. ........ r87586 | georg.brandl | 2010-12-30 23:12:40 +0100 (Do, 30 Dez 2010) | 1 line Remove mentions of the Demo directory. ........ r87587 | georg.brandl | 2010-12-30 23:31:10 +0100 (Do, 30 Dez 2010) | 1 line Add the missing __main__.py in the turtledemo package. It seems to have been lost during some mass rename action (r86095). ........ r87588 | georg.brandl | 2010-12-30 23:32:49 +0100 (Do, 30 Dez 2010) | 1 line Update README, remove empty directory. ........ r87593 | georg.brandl | 2011-01-01 00:00:03 +0100 (Sa, 01 Jan 2011) | 1 line Happy New Year! (CET edition) ........ r87603 | georg.brandl | 2011-01-01 11:07:30 +0100 (Sa, 01 Jan 2011) | 1 line Fix issue references. ........ r87604 | georg.brandl | 2011-01-01 11:09:32 +0100 (Sa, 01 Jan 2011) | 1 line #10801: In zipfile, support different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky. ........ r87657 | georg.brandl | 2011-01-02 23:33:43 +0100 (So, 02 Jan 2011) | 5 lines #8013 follow-up: * In asctime and ctime, properly remove the newline if the year has more than four digits * Consistent error message for both functions * Fix the test comments and add a check for the removed newline ........ r87761 | georg.brandl | 2011-01-05 12:00:25 +0100 (Mi, 05 Jan 2011) | 1 line #10130: Prepare for building epub-format docs. ........ r87788 | georg.brandl | 2011-01-06 10:23:19 +0100 (Do, 06 Jan 2011) | 1 line itertools, operator and functools are not really "numeric" modules; move them into their own "functional" chapter. ........ r87983 | georg.brandl | 2011-01-13 08:13:06 +0100 (Do, 13 Jan 2011) | 1 line More PEP 8: no space around "=" in argument lists. ........ r88026 | georg.brandl | 2011-01-15 17:44:11 +0100 (Sa, 15 Jan 2011) | 1 line Update pydoc topics. ........ r88028 | georg.brandl | 2011-01-15 17:45:03 +0100 (Sa, 15 Jan 2011) | 1 line Update to 1.0.7. ........ r88032 | georg.brandl | 2011-01-15 18:03:02 +0100 (Sa, 15 Jan 2011) | 1 line Fix a few doc errors, mostly undefined keywords. ........ r88033 | georg.brandl | 2011-01-15 18:05:20 +0100 (Sa, 15 Jan 2011) | 1 line Fix "make suspicious" errors and update ignore file. ........ r88035 | georg.brandl | 2011-01-15 18:08:53 +0100 (Sa, 15 Jan 2011) | 1 line Bump to 3.2rc1. ........ r88041 | georg.brandl | 2011-01-16 09:44:50 +0100 (So, 16 Jan 2011) | 1 line Post-release updates. ........ r88042 | georg.brandl | 2011-01-16 10:11:45 +0100 (So, 16 Jan 2011) | 1 line Fix two small issues. ........ r88048 | georg.brandl | 2011-01-16 15:17:26 +0100 (So, 16 Jan 2011) | 1 line Rewrap and punctuation consistency. ........ r88166 | georg.brandl | 2011-01-24 20:59:08 +0100 (Mo, 24 Jan 2011) | 1 line Fix label syntax. ........ r88261 | georg.brandl | 2011-01-30 09:37:19 +0100 (So, 30 Jan 2011) | 4 lines #10961: fix exception handling in new pydoc server code. Patch by Ron Adam, reviewed by Eric Araujo. ........ r88263 | georg.brandl | 2011-01-30 13:19:35 +0100 (So, 30 Jan 2011) | 1 line #10680: fix mutually exclusive arguments in argument groups. ........ r88264 | georg.brandl | 2011-01-30 15:00:32 +0100 (So, 30 Jan 2011) | 1 line Update pydoc topics. ........ r88265 | georg.brandl | 2011-01-30 15:02:36 +0100 (So, 30 Jan 2011) | 1 line Update suspicious ignore file. ........ r88266 | georg.brandl | 2011-01-30 15:03:33 +0100 (So, 30 Jan 2011) | 1 line Bump version. ........ r88276 | georg.brandl | 2011-01-31 11:39:57 +0100 (Mo, 31 Jan 2011) | 1 line Post-release updates. ........ r88330 | georg.brandl | 2011-02-03 08:46:41 +0100 (Do, 03 Feb 2011) | 1 line Remove lots of spaces within exception message. ........ r88366 | georg.brandl | 2011-02-07 13:36:54 +0100 (Mo, 07 Feb 2011) | 2 lines #11132: pass optimize parameter to recursive call in compileall.compile_dir(). Reviewed by Eric A. ........ r88411 | georg.brandl | 2011-02-13 10:54:12 +0100 (So, 13 Feb 2011) | 1 line Update pydoc topics. ........ r88412 | georg.brandl | 2011-02-13 10:59:39 +0100 (So, 13 Feb 2011) | 1 line Fix markup error and update suspicious ignores. ........ r88413 | georg.brandl | 2011-02-13 11:00:57 +0100 (So, 13 Feb 2011) | 1 line Bump for 3.2rc3. ........ r88420 | georg.brandl | 2011-02-14 07:35:00 +0100 (Mo, 14 Feb 2011) | 1 line Post-release updates. ........ r88443 | georg.brandl | 2011-02-19 22:47:02 +0100 (Sa, 19 Feb 2011) | 1 line #11249: in PyType_FromSpec, copy tp_doc slot since it usually will point to a static string literal which should not be deallocated together with the type. ........ r88444 | georg.brandl | 2011-02-20 11:22:41 +0100 (So, 20 Feb 2011) | 1 line Topic and suspicious update. ........ r88445 | georg.brandl | 2011-02-20 11:29:04 +0100 (So, 20 Feb 2011) | 1 line Version bump to 3.2 final. ........ r88447 | georg.brandl | 2011-02-20 11:33:21 +0100 (So, 20 Feb 2011) | 2 lines Bump to 3.3a0. ........ r88448 | georg.brandl | 2011-02-20 11:37:07 +0100 (So, 20 Feb 2011) | 1 line Bump trunk to 3.3 alpha 0. ........ r88449 | georg.brandl | 2011-02-20 11:41:31 +0100 (So, 20 Feb 2011) | 1 line More automated version replacement. ........ r88451 | georg.brandl | 2011-02-20 12:18:09 +0100 (So, 20 Feb 2011) | 1 line Remove unittest methods scheduled for removal in 3.3 -- makes the unittest test suite pass again. ........ r88463 | georg.brandl | 2011-02-21 19:37:01 +0100 (Mo, 21 Feb 2011) | 1 line 3.2 is stable now. ........ r88523 | georg.brandl | 2011-02-23 08:30:12 +0100 (Mi, 23 Feb 2011) | 1 line Add new subdirectory to LIBSUBDIRS. ........ r88524 | georg.brandl | 2011-02-23 08:31:24 +0100 (Mi, 23 Feb 2011) | 1 line Indent "versionadded" properly. ........ |
||
---|---|---|
Demo | ||
Doc | ||
Grammar | ||
Include | ||
Lib | ||
Mac | ||
Misc | ||
Modules | ||
Objects | ||
Parser | ||
PC | ||
PCbuild | ||
Python | ||
Tools | ||
.bzrignore | ||
.hgeol | ||
.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.3 ============================ Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010 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/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/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/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 version. 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.