Merge with release clone.

This commit is contained in:
Georg Brandl 2011-09-04 08:35:54 +02:00
commit 3484a8771c
12 changed files with 93 additions and 53 deletions

View file

@ -91,3 +91,5 @@ a222a015e28d8ae9af3899258dc6c15c3d40add0 v3.2
cfa9364997c7f2e67b9cbb45c3a5fa3bba4e4999 v3.2.1rc1
5df549718fb4841ff521fe051f6b54f290fad5d8 v3.2.1rc2
ac1f7e5c05104d557d5acd922e95625ba5d1fe10 v3.2.1
c860feaa348d663e598986894ee4680480577e15 v3.2.2rc1
137e45f15c0bd262c9ad4c032d97425bc0589456 v3.2.2

View file

@ -699,26 +699,36 @@ always available.
This string contains a platform identifier that can be used to append
platform-specific components to :data:`sys.path`, for instance.
For Unix systems, this is the lowercased OS name as returned by ``uname -s``
with the first part of the version as returned by ``uname -r`` appended,
e.g. ``'sunos5'`` or ``'linux2'``, *at the time when Python was built*.
Unless you want to test for a specific system version, it is therefore
recommended to use the following idiom::
For most Unix systems, this is the lowercased OS name as returned by ``uname
-s`` with the first part of the version as returned by ``uname -r`` appended,
e.g. ``'sunos5'``, *at the time when Python was built*. Unless you want to
test for a specific system version, it is therefore recommended to use the
following idiom::
if sys.platform.startswith('linux'):
if sys.platform.startswith('freebsd'):
# FreeBSD-specific code here...
elif sys.platform.startswith('linux'):
# Linux-specific code here...
.. versionchanged:: 3.2.2
Since lots of code check for ``sys.platform == 'linux2'``, and there is
no essential change between Linux 2.x and 3.x, ``sys.platform`` is always
set to ``'linux2'``, even on Linux 3.x. In Python 3.3 and later, the
value will always be set to ``'linux'``, so it is recommended to always
use the ``startswith`` idiom presented above.
For other systems, the values are:
================ ===========================
System :data:`platform` value
================ ===========================
Windows ``'win32'``
Windows/Cygwin ``'cygwin'``
Mac OS X ``'darwin'``
OS/2 ``'os2'``
OS/2 EMX ``'os2emx'``
================ ===========================
====================== ===========================
System :data:`platform` value
====================== ===========================
Linux (2.x *and* 3.x) ``'linux2'``
Windows ``'win32'``
Windows/Cygwin ``'cygwin'``
Mac OS X ``'darwin'``
OS/2 ``'os2'``
OS/2 EMX ``'os2emx'``
====================== ===========================
.. seealso::
:attr:`os.name` has a coarser granularity. :func:`os.uname` gives

View file

@ -106,10 +106,18 @@ been GPL-compatible; the table below summarizes the various releases.
+----------------+--------------+------------+------------+-----------------+
| 3.1.1 | 3.1 | 2009 | PSF | yes |
+----------------+--------------+------------+------------+-----------------+
| 3.1.2 | 3.1 | 2010 | PSF | yes |
| 3.1.2 | 3.1.1 | 2010 | PSF | yes |
+----------------+--------------+------------+------------+-----------------+
| 3.1.3 | 3.1.2 | 2010 | PSF | yes |
+----------------+--------------+------------+------------+-----------------+
| 3.1.4 | 3.1.3 | 2011 | PSF | yes |
+----------------+--------------+------------+------------+-----------------+
| 3.2 | 3.1 | 2011 | PSF | yes |
+----------------+--------------+------------+------------+-----------------+
| 3.2.1 | 3.2 | 2011 | PSF | yes |
+----------------+--------------+------------+------------+-----------------+
| 3.2.2 | 3.2.1 | 2011 | PSF | yes |
+----------------+--------------+------------+------------+-----------------+
.. note::

View file

@ -193,10 +193,10 @@ documenting/rest,130,`,`Link text <http://target>`_
documenting/rest,187,.. function:,.. function:: foo(x)
documenting/rest,187,:bar,:bar: no
documenting/rest,208,.. rubric:,.. rubric:: Footnotes
faq/programming,762,:reduce,"print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y,"
faq/programming,762,:reduce,"Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,"
faq/programming,762,:chr,">=4.0) or 1+f(xc,yc,x*x-y*y+xc,2.0*x*y+yc,k-1,f):f(xc,yc,x,y,k,f):chr("
faq/programming,1047,::,for x in sequence[::-1]:
faq/programming,,:reduce,"print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y,"
faq/programming,,:reduce,"Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,"
faq/programming,,:chr,">=4.0) or 1+f(xc,yc,x*x-y*y+xc,2.0*x*y+yc,k-1,f):f(xc,yc,x,y,k,f):chr("
faq/programming,,::,for x in sequence[::-1]:
faq/windows,229,:EOF,@setlocal enableextensions & python -x %~f0 %* & goto :EOF
faq/windows,393,:REG,.py :REG_SZ: c:\<path to python>\python.exe -u %s %s
library/bisect,32,:hi,all(val >= x for val in a[i:hi])
@ -217,10 +217,10 @@ library/urllib.request,,:lang,"xmlns=""http://www.w3.org/1999/xhtml"" xml:lang="
library/xmlrpc.client,103,:pass,http://user:pass@host:port/path
library/xmlrpc.client,103,:port,http://user:pass@host:port/path
library/xmlrpc.client,103,:pass,user:pass
license,717,`,* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
license,717,`,* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
license,879,`,"``Software''), to deal in the Software without restriction, including"
license,879,`,"THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,"
license,,`,* THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
license,,`,* THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
license,,`,"``Software''), to deal in the Software without restriction, including"
license,,`,"THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,"
reference/lexical_analysis,704,`,$ ? `
whatsnew/2.7,735,:Sunday,'2009:4:Sunday'
whatsnew/2.7,862,::,"export PYTHONWARNINGS=all,error:::Cookie:0"

1 c-api/arg :ref PyArg_ParseTuple(args, "O|O:ref", &object, &callback)
193 documenting/rest 187 .. function: .. function:: foo(x)
194 documenting/rest 187 :bar :bar: no
195 documenting/rest 208 .. rubric: .. rubric:: Footnotes
196 faq/programming 762 :reduce print((lambda Ru,Ro,Iu,Io,IM,Sx,Sy:reduce(lambda x,y:x+y,map(lambda y,
197 faq/programming 762 :reduce Sx=Sx,Sy=Sy:reduce(lambda x,y:x+y,map(lambda x,xc=Ru,yc=yc,Ru=Ru,Ro=Ro,
198 faq/programming 762 :chr >=4.0) or 1+f(xc,yc,x*x-y*y+xc,2.0*x*y+yc,k-1,f):f(xc,yc,x,y,k,f):chr(
199 faq/programming 1047 :: for x in sequence[::-1]:
200 faq/windows 229 :EOF @setlocal enableextensions & python -x %~f0 %* & goto :EOF
201 faq/windows 393 :REG .py :REG_SZ: c:\<path to python>\python.exe -u %s %s
202 library/bisect 32 :hi all(val >= x for val in a[i:hi])
217 library/xmlrpc.client 103 :pass http://user:pass@host:port/path
218 library/xmlrpc.client 103 :port http://user:pass@host:port/path
219 library/xmlrpc.client 103 :pass user:pass
220 license 717 ` * THIS SOFTWARE IS PROVIDED BY THE OpenSSL PROJECT ``AS IS'' AND ANY
221 license 717 ` * THIS SOFTWARE IS PROVIDED BY ERIC YOUNG ``AS IS'' AND
222 license 879 ` ``Software''), to deal in the Software without restriction, including
223 license 879 ` THE SOFTWARE IS PROVIDED ``AS IS'', WITHOUT WARRANTY OF ANY KIND,
224 reference/lexical_analysis 704 ` $ ? `
225 whatsnew/2.7 735 :Sunday '2009:4:Sunday'
226 whatsnew/2.7 862 :: export PYTHONWARNINGS=all,error:::Cookie:0

View file

@ -18,12 +18,12 @@
/*--start constants--*/
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 2
#define PY_MICRO_VERSION 1
#define PY_MICRO_VERSION 2
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0
/* Version as a string */
#define PY_VERSION "3.2.1+"
#define PY_VERSION "3.2.2"
/*--end constants--*/
/* Subversion Revision number of this file (not of the repository). Empty

View file

@ -67,8 +67,12 @@ the various releases.
3.0.1 3.0 2009 PSF yes
3.1 3.0.1 2009 PSF yes
3.1.1 3.1 2009 PSF yes
3.1.2 3.1 2010 PSF yes
3.1.2 3.1.1 2010 PSF yes
3.1.3 3.1.2 2010 PSF yes
3.1.4 3.1.3 2011 PSF yes
3.2 3.1 2011 PSF yes
3.2.1 3.2 2011 PSF yes
3.2.2 3.2.1 2011 PSF yes
Footnotes:

View file

@ -13,5 +13,5 @@ used from a setup script as
# Updated automatically by the Python release process.
#
#--start constants--
__version__ = "3.2.1"
__version__ = "3.2.2"
#--end constants--

View file

@ -1 +1 @@
IDLE_VERSION = "3.2.1"
IDLE_VERSION = "3.2.2"

File diff suppressed because one or more lines are too long

View file

@ -13,9 +13,6 @@ Core and Builtins
- Issue #12802: the Windows error ERROR_DIRECTORY (numbered 267) is now
mapped to POSIX errno ENOTDIR (previously EINVAL).
- Accept bytes for the AST string type. This is temporary until a proper fix in
3.3.
- Issue #9200: The str.is* methods now work with strings that contain non-BMP
characters even in narrow Unicode builds.
@ -32,9 +29,6 @@ Library
- Issue #12636: IDLE reads the coding cookie when executing a Python script.
- Issue #10946: The distutils commands bdist_dumb, bdist_wininst and bdist_msi
now respect a --skip-build option given to bdist.
- Issue #12847: Fix a crash with negative PUT and LONG_BINPUT arguments in
the C pickle implementation.
@ -44,18 +38,12 @@ Library
- Issue #12287: Fix a stack corruption in ossaudiodev module when the FD is
greater than FD_SETSIZE.
- Issue #12839: Fix crash in zlib module due to version mismatch.
Fix by Richard M. Tew.
- Issue #11657: Fix sending file descriptors over 255 over a multiprocessing
Pipe.
- Issue #12213: Fix a buffering bug with interleaved reads and writes that
could appear on BufferedRandom streams.
- Issue #12326: sys.platform is now always 'linux2' on Linux, even if Python
is compiled on Linux 3.
- Issue #12650: Fix a race condition where a subprocess.Popen could leak
resources (FD/zombie) when killed at the wrong time.
@ -68,7 +56,38 @@ Tests
What's New in Python 3.2.2?
===========================
*Release date: XX-XXX-2011*
*Release date: 03-Sep-2011*
Core and Builtins
-----------------
- Issue #12326: sys.platform is now always 'linux2' on Linux, even if Python
is compiled on Linux 3.
- Accept bytes for the AST string type. This is temporary until a proper fix in
3.3.
Library
-------
- Issue #10946: The distutils commands bdist_dumb, bdist_wininst and bdist_msi
now respect a --skip-build option given to bdist.
- Issue #12839: Fix crash in zlib module due to version mismatch.
Fix by Richard M. Tew.
Extension Modules
-----------------
- Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to
some functions like file.write().
What's New in Python 3.2.2 release candidate 1?
===============================================
*Release date: 14-Aug-2011*
Core and Builtins
-----------------
@ -200,9 +219,6 @@ Extension Modules
- Issue #11241: subclasses of ctypes.Array can now be subclassed.
- Issue #9651: Fix a crash when ctypes.create_string_buffer(0) was passed to
some functions like file.write().
- Issue #10309: Define _GNU_SOURCE so that mremap() gets the proper
signature. Without this, architectures where sizeof void* != sizeof int are
broken. Patch given by Hallvard B Furuseth.

View file

@ -39,7 +39,7 @@
%define name python
#--start constants--
%define version 3.2.1
%define version 3.2.2
%define libvers 3.2
#--end constants--
%define release 1pydotorg

2
README
View file

@ -1,4 +1,4 @@
This is Python version 3.2.1
This is Python version 3.2.2
============================
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011