Kaydet (Commit) 1b94ab79 authored tarafından Georg Brandl's avatar Georg Brandl

Bump to 3.3b2.

üst a81b481e
...@@ -20,10 +20,10 @@ ...@@ -20,10 +20,10 @@
#define PY_MINOR_VERSION 3 #define PY_MINOR_VERSION 3
#define PY_MICRO_VERSION 0 #define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_BETA
#define PY_RELEASE_SERIAL 1 #define PY_RELEASE_SERIAL 2
/* Version as a string */ /* Version as a string */
#define PY_VERSION "3.3.0b1" #define PY_VERSION "3.3.0b2"
/*--end constants--*/ /*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2. /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
......
...@@ -13,5 +13,5 @@ used from a setup script as ...@@ -13,5 +13,5 @@ used from a setup script as
# Updated automatically by the Python release process. # Updated automatically by the Python release process.
# #
#--start constants-- #--start constants--
__version__ = "3.3.0b1" __version__ = "3.3.0b2"
#--end constants-- #--end constants--
IDLE_VERSION = "3.3.0b1" IDLE_VERSION = "3.3.0b2"
...@@ -5,7 +5,7 @@ Python News ...@@ -5,7 +5,7 @@ Python News
What's New in Python 3.3.0 Beta 2? What's New in Python 3.3.0 Beta 2?
================================== ==================================
*Release date: xx-xxx-2012* *Release date: 12-Aug-2012*
Core and Builtins Core and Builtins
----------------- -----------------
...@@ -19,38 +19,38 @@ Core and Builtins ...@@ -19,38 +19,38 @@ Core and Builtins
- Issue #15534: Fix the fast-search function for non-ASCII Unicode strings. - Issue #15534: Fix the fast-search function for non-ASCII Unicode strings.
- Issue #15508: Fix the docstring for __import__ to have the proper default - Issue #15508: Fix the docstring for __import__ to have the proper default
value of 0 for 'level' and to not mention negative levels since they are value of 0 for 'level' and to not mention negative levels since they are not
not supported. supported.
- Issue #15425: Eliminated traceback noise from more situations involving - Issue #15425: Eliminated traceback noise from more situations involving
importlib importlib.
- Issue #14578: Support modules registered in the Windows registry again. - Issue #14578: Support modules registered in the Windows registry again.
- Issue #15466: Stop using TYPE_INT64 in marshal, to make importlib.h - Issue #15466: Stop using TYPE_INT64 in marshal, to make importlib.h (and other
(and other byte code files) equal between 32-bit and 64-bit systems. byte code files) equal between 32-bit and 64-bit systems.
- Issue #1692335: Move initial args assignment to - Issue #1692335: Move initial exception args assignment to
BaseException.__new__ to help pickling of naive subclasses. "BaseException.__new__" to help pickling of naive subclasses.
- Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays. - Issue #12834: Fix PyBuffer_ToContiguous() for non-contiguous arrays.
- Issue #15456: Fix code __sizeof__ after #12399 change. - Issue #15456: Fix code __sizeof__ after #12399 change. Patch by Serhiy
Patch by Serhiy Storchaka. Storchaka.
- Issue #15404: Refleak in PyMethodObject repr. - Issue #15404: Refleak in PyMethodObject repr.
- Issue #15394: An issue in PyModule_Create that caused references to - Issue #15394: An issue in PyModule_Create that caused references to be leaked
be leaked on some error paths has been fixed. Patch by Julia Lawall. on some error paths has been fixed. Patch by Julia Lawall.
- Issue #15368: An issue that caused bytecode generation to be - Issue #15368: An issue that caused bytecode generation to be non-deterministic
non-deterministic has been fixed. has been fixed.
- Issue #15202: Consistently use the name "follow_symlinks" for - Issue #15202: Consistently use the name "follow_symlinks" for new parameters
new parameters in os and shutil functions. in os and shutil functions.
- Issue #15314: __main__.__loader__ is now set correctly during - Issue #15314: __main__.__loader__ is now set correctly during interpreter
interpreter startup startup.
- Issue #15111: When a module imported using 'from import' has an ImportError - Issue #15111: When a module imported using 'from import' has an ImportError
inside itself, don't mask that fact behind a generic ImportError for the inside itself, don't mask that fact behind a generic ImportError for the
...@@ -61,8 +61,8 @@ Core and Builtins ...@@ -61,8 +61,8 @@ Core and Builtins
- Issue #15291: Fix a memory leak where AST nodes where not properly - Issue #15291: Fix a memory leak where AST nodes where not properly
deallocated. deallocated.
- Issue #15110: Fix the tracebacks generated by "import xxx" to not show - Issue #15110: Fix the tracebacks generated by "import xxx" to not show the
the importlib stack frames. importlib stack frames.
- Issue #15020: The program name used to search for Python's path is now - Issue #15020: The program name used to search for Python's path is now
"python3" under Unix, not "python". "python3" under Unix, not "python".
...@@ -71,22 +71,22 @@ Core and Builtins ...@@ -71,22 +71,22 @@ Core and Builtins
return the proper failure return value (1). Patch contributed by Jeff Knupp. return the proper failure return value (1). Patch contributed by Jeff Knupp.
- Issue #15229: An OSError subclass whose __init__ doesn't call back - Issue #15229: An OSError subclass whose __init__ doesn't call back
OSError.__init__ could produce incomplete instances, leading to crashes OSError.__init__ could produce incomplete instances, leading to crashes when
when calling str() on them. calling str() on them.
- Issue 15307: Virtual environments now use symlinks with framework builds - Issue 15307: Virtual environments now use symlinks with framework builds on
on Mac OS X, like other POSIX builds. Mac OS X, like other POSIX builds.
Library Library
------- -------
- Issue #15424: Add a __sizeof__ implementation for array objects. - Issue #15424: Add a __sizeof__ implementation for array objects. Patch by
Patch by Ludwig Hähne. Ludwig Hähne.
- Issue #15576: Allow extension modules to act as a package's __init__ module. - Issue #15576: Allow extension modules to act as a package's __init__ module.
- Issue #15502: Have importlib.invalidate_caches() work on sys.meta_path - Issue #15502: Have importlib.invalidate_caches() work on sys.meta_path instead
instead of sys.path_importer_cache. of sys.path_importer_cache.
- Issue #15163: Pydoc shouldn't list __loader__ as module data. - Issue #15163: Pydoc shouldn't list __loader__ as module data.
...@@ -104,81 +104,80 @@ Library ...@@ -104,81 +104,80 @@ Library
ended with '\'. Patch by Roger Serwy. ended with '\'. Patch by Roger Serwy.
- Issue #12655: Instead of requiring a custom type, os.sched_getaffinity and - Issue #12655: Instead of requiring a custom type, os.sched_getaffinity and
os.sched_setaffinity now use regular sets of integers to represent the CPUs os.sched_setaffinity now use regular sets of integers to represent the CPUs a
a process is restricted to. process is restricted to.
- Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() - Issue #15538: Fix compilation of the getnameinfo() / getaddrinfo() emulation
emulation code. Patch by Philipp Hagemeister. code. Patch by Philipp Hagemeister.
- Issue #15519: Properly expose WindowsRegistryFinder in importlib (and use - Issue #15519: Properly expose WindowsRegistryFinder in importlib (and use the
the correct term for it). Original patch by Eric Snow. correct term for it). Original patch by Eric Snow.
- Issue #15502: Bring the importlib ABCs into line with the current state - Issue #15502: Bring the importlib ABCs into line with the current state of the
of the import protocols given PEP 420. Original patch by Eric Snow. import protocols given PEP 420. Original patch by Eric Snow.
- Issue #15499: Launching a webbrowser in Unix used to sleep for a few - Issue #15499: Launching a webbrowser in Unix used to sleep for a few seconds.
seconds. Original patch by Anton Barkovsky. Original patch by Anton Barkovsky.
- Issue #15463: the faulthandler module truncates strings to 500 characters, - Issue #15463: The faulthandler module truncates strings to 500 characters,
instead of 100, to be able to display long file paths instead of 100, to be able to display long file paths.
- Issue #6056: Make multiprocessing use setblocking(True) on the - Issue #6056: Make multiprocessing use setblocking(True) on the sockets it
sockets it uses. Original patch by J Derek Wilson. uses. Original patch by J Derek Wilson.
- Issue #15364: Fix sysconfig.get_config_var('srcdir') to be an - Issue #15364: Fix sysconfig.get_config_var('srcdir') to be an absolute path.
absolute path.
- Issue #15041: update "see also" list in tkinter documentation. - Issue #15041: Update "see also" list in tkinter documentation.
- Issue #15413: os.times() had disappeared under Windows. - Issue #15413: os.times() had disappeared under Windows.
- Issue #15402: An issue in the struct module that caused sys.getsizeof to - Issue #15402: An issue in the struct module that caused sys.getsizeof to
return incorrect results for struct.Struct instances has been fixed. return incorrect results for struct.Struct instances has been fixed. Initial
Initial patch by Serhiy Storchaka. patch by Serhiy Storchaka.
- Issue #15232: when mangle_from is True, email.Generator now correctly mangles - Issue #15232: When mangle_from is True, email.Generator now correctly mangles
lines that start with 'From ' that occur in a MIME preamble or epilogue. lines that start with 'From ' that occur in a MIME preamble or epilogue.
- Issue #15094: Incorrectly placed #endif in _tkinter.c. - Issue #15094: Incorrectly placed #endif in _tkinter.c. Patch by Serhiy
Patch by Serhiy Storchaka. Storchaka.
- Issue #13922: argparse no longer incorrectly strips '--'s that appear - Issue #13922: argparse no longer incorrectly strips '--'s that appear after
after the first one. the first one.
- Issue #12353: argparse now correctly handles null argument values. - Issue #12353: argparse now correctly handles null argument values.
- Issues #10017 and #14998: Fix TypeError using pprint on dictionaries with - Issue #10017, issue #14998: Fix TypeError using pprint on dictionaries with
user-defined types as keys or other unorderable keys. user-defined types as keys or other unorderable keys.
- Issue #15397: inspect.getmodulename() is now based directly on importlib - Issue #15397: inspect.getmodulename() is now based directly on importlib via a
via a new importlib.machinery.all_suffixes() API. new importlib.machinery.all_suffixes() API.
- Issue #14635: telnetlib will use poll() rather than select() when possible - Issue #14635: telnetlib will use poll() rather than select() when possible to
to avoid failing due to the select() file descriptor limit. avoid failing due to the select() file descriptor limit.
- Issue #15180: Clarify posixpath.join() error message when mixing str & bytes - Issue #15180: Clarify posixpath.join() error message when mixing str & bytes.
- Issue #15343: pkgutil now includes an iter_importer_modules implementation - Issue #15343: pkgutil now includes an iter_importer_modules implementation for
for importlib.machinery.FileFinder (similar to the way it already handled importlib.machinery.FileFinder (similar to the way it already handled
zipimport.zipimporter) zipimport.zipimporter).
- Issue #15314: runpy now sets __main__.__loader__ correctly - Issue #15314: runpy now sets __main__.__loader__ correctly.
- Issue #15357: The import emulation in pkgutil is now deprecated. pkgutil - Issue #15357: The import emulation in pkgutil is now deprecated. pkgutil uses
uses importlib internally rather than the emulation importlib internally rather than the emulation.
- Issue #15233: Python now guarantees that callables registered with - Issue #15233: Python now guarantees that callables registered with the atexit
the atexit module will be called in a deterministic order. module will be called in a deterministic order.
- Issue #15238: shutil.copystat now copies Linux "extended attributes". - Issue #15238: shutil.copystat now copies Linux "extended attributes".
- Issue #15230: runpy.run_path now correctly sets __package__ as described - Issue #15230: runpy.run_path now correctly sets __package__ as described in
in the documentation the documentation.
- Issue #15315: Support VS 2010 in distutils cygwincompiler. - Issue #15315: Support VS 2010 in distutils cygwincompiler.
- Issue #15294: Fix a regression in pkgutil.extend_path()'s handling of - Issue #15294: Fix a regression in pkgutil.extend_path()'s handling of nested
nested namespace packages. namespace packages.
- Issue #15056: imp.cache_from_source() and source_from_cache() raise - Issue #15056: imp.cache_from_source() and source_from_cache() raise
NotImplementedError when sys.implementation.cache_tag is set to None. NotImplementedError when sys.implementation.cache_tag is set to None.
...@@ -186,62 +185,60 @@ Library ...@@ -186,62 +185,60 @@ Library
- Issue #15256: Grammatical mistake in exception raised by imp.find_module(). - Issue #15256: Grammatical mistake in exception raised by imp.find_module().
- Issue #5931: wsgiref environ variable SERVER_SOFTWARE will specify an - Issue #5931: wsgiref environ variable SERVER_SOFTWARE will specify an
implementation specific term like Cpython, Jython instead of generic "Python" implementation specific term like CPython, Jython instead of generic "Python".
- Issue #13248: Remove obsolete argument "max_buffer_size" of BufferedWriter - Issue #13248: Remove obsolete argument "max_buffer_size" of BufferedWriter and
and BufferedRWPair, from the io module. BufferedRWPair, from the io module.
- Issue #13248: Remove obsolete argument "version" of argparse.ArgumentParser. - Issue #13248: Remove obsolete argument "version" of argparse.ArgumentParser.
- Issue #14814: implement more consistent ordering and sorting behaviour - Issue #14814: Implement more consistent ordering and sorting behaviour for
for ipaddress objects ipaddress objects.
- Issue #14814: ipaddress network objects correctly return NotImplemented - Issue #14814: ipaddress network objects correctly return NotImplemented when
when compared to arbitrary objects instead of raising TypeError compared to arbitrary objects instead of raising TypeError.
- Issue #14990: Correctly fail with SyntaxError on invalid encoding - Issue #14990: Correctly fail with SyntaxError on invalid encoding declaration.
declaration.
- Issue #14814: ipaddress now provides more informative error messages when - Issue #14814: ipaddress now provides more informative error messages when
constructing instances directly (changes permitted during beta due to constructing instances directly (changes permitted during beta due to
provisional API status) provisional API status).
- Issue #15247: FileIO now raises an error when given a file descriptor - Issue #15247: FileIO now raises an error when given a file descriptor pointing
pointing to a directory. to a directory.
- Issue #15261: Stop os.stat(fd) crashing on Windows when fd not open. - Issue #15261: Stop os.stat(fd) crashing on Windows when fd not open.
- Issue #15166: Implement imp.get_tag() using sys.implementation.cache_tag. - Issue #15166: Implement imp.get_tag() using sys.implementation.cache_tag.
- Issue #15210: Catch KeyError when imprortlib.__init__ can't find - Issue #15210: Catch KeyError when importlib.__init__ can't find
_frozen_importlib in sys.modules, not ImportError. _frozen_importlib in sys.modules, not ImportError.
- Issue #15030: importlib.abc.PyPycLoader now supports the new source size - Issue #15030: importlib.abc.PyPycLoader now supports the new source size
header field in .pyc files. header field in .pyc files.
- Issue #5346: Preserve permissions of mbox, MMDF and Babyl mailbox - Issue #5346: Preserve permissions of mbox, MMDF and Babyl mailbox files on
files on flush(). flush().
- Issue #10571: Fix the "--sign" option of distutils' upload command. - Issue #10571: Fix the "--sign" option of distutils' upload command. Patch by
Patch by Jakub Wilk. Jakub Wilk.
- Issue #9559: If messages were only added, a new file is no longer - Issue #9559: If messages were only added, a new file is no longer created and
created and renamed over the old file when flush() is called on an renamed over the old file when flush() is called on an mbox, MMDF or Babyl
mbox, MMDF or Babyl mailbox. mailbox.
- Issue 10924: Fixed mksalt() to use a RNG that is suitable for cryptographic - Issue 10924: Fixed crypt.mksalt() to use a RNG that is suitable for
purpose. cryptographic purpose.
- Issue #15184: Ensure consistent results of OS X configuration - Issue #15184: Ensure consistent results of OS X configuration tailoring for
tailoring for universal builds by factoring out common OS X-specific universal builds by factoring out common OS X-specific customizations from
customizations from sysconfig, distutils.sysconfig, distutils.util, sysconfig, distutils.sysconfig, distutils.util, and distutils.unixccompiler
and distutils.unixccompiler into a new module _osx_support. into a new module _osx_support.
C API C API
----- -----
- Issue #15610: PyImport_ImportModuleEx() now uses a 'level' of 0 instead of - Issue #15610: PyImport_ImportModuleEx() now uses a 'level' of 0 instead of -1.
-1.
- Issues #15169, #14599: Strip out the C implementation of - Issues #15169, #14599: Strip out the C implementation of
imp.source_from_cache() used by PyImport_ExecCodeModuleWithPathnames() and imp.source_from_cache() used by PyImport_ExecCodeModuleWithPathnames() and
...@@ -260,14 +257,14 @@ Extension Modules ...@@ -260,14 +257,14 @@ Extension Modules
Tools/Demos Tools/Demos
----------- -----------
- Issue #15458: python-config gets a new option --configdir to print the - Issue #15458: python-config gets a new option --configdir to print the $LIBPL
$LIBPL value. value.
- Move importlib.test.benchmark to Tools/importbench. - Move importlib.test.benchmark to Tools/importbench.
- Issue #12605: The gdb hooks for debugging CPython (within Tools/gdb) have - Issue #12605: The gdb hooks for debugging CPython (within Tools/gdb) have been
been enhanced to show information on more C frames relevant to CPython within enhanced to show information on more C frames relevant to CPython within the
the "py-bt" and "py-bt-full" commands: "py-bt" and "py-bt-full" commands:
* C frames that are waiting on the GIL * C frames that are waiting on the GIL
* C frames that are garbage-collecting * C frames that are garbage-collecting
* C frames that are due to the invocation of a PyCFunction * C frames that are due to the invocation of a PyCFunction
...@@ -277,8 +274,8 @@ Documentation ...@@ -277,8 +274,8 @@ Documentation
- Issue #15295: Reorganize and rewrite the documentation on the import system. - Issue #15295: Reorganize and rewrite the documentation on the import system.
- Issue #15230: Clearly document some of the limitations of the runpy - Issue #15230: Clearly document some of the limitations of the runpy module and
module and nudge readers towards importlib when appropriate. nudge readers towards importlib when appropriate.
- Issue #15053: Copy Python 3.3 import lock change notice to all relevant - Issue #15053: Copy Python 3.3 import lock change notice to all relevant
functions in imp instead of just at the top of the relevant section. functions in imp instead of just at the top of the relevant section.
...@@ -297,11 +294,11 @@ Documentation ...@@ -297,11 +294,11 @@ Documentation
Tests Tests
----- -----
- Issue #15467: Move helpers for __sizeof__ tests into test_support. - Issue #15467: Move helpers for __sizeof__ tests into test_support. Patch by
Patch by Serhiy Storchaka. Serhiy Storchaka.
- Issue #15320: Make iterating the list of tests thread-safe when running - Issue #15320: Make iterating the list of tests thread-safe when running tests
tests in multiprocess mode. Patch by Chris Jerdonek. in multiprocess mode. Patch by Chris Jerdonek.
- Issue #15168: Move importlib.test to test.test_importlib. - Issue #15168: Move importlib.test to test.test_importlib.
...@@ -317,33 +314,33 @@ Tests ...@@ -317,33 +314,33 @@ Tests
- Issue #15284: Skip {send,recv}msg tests in test_socket when IPv6 is not - Issue #15284: Skip {send,recv}msg tests in test_socket when IPv6 is not
enabled. Patch by Brian Brazil. enabled. Patch by Brian Brazil.
- Issue #15277: Fix a resource leak in support.py when IPv6 is disabled. - Issue #15277: Fix a resource leak in support.py when IPv6 is disabled. Patch
Patch by Brian Brazil. by Brian Brazil.
Build Build
----- -----
- Issue #11715: Fix multiarch detection without having Debian development - Issue #11715: Fix multiarch detection without having Debian development tools
tools (dpkg-dev) installed. (dpkg-dev) installed.
- Issue #15037: Build OS X installers with local copy of ncurses 5.9 libraries - Issue #15037: Build OS X installers with local copy of ncurses 5.9 libraries
to avoid curses.unget_wch bug present in older versions of ncurses such as to avoid curses.unget_wch bug present in older versions of ncurses such as
those shipped with OS X. those shipped with OS X.
- Issue #15560: Fix building _sqlite3 extension on OS X with an SDK. - Issue #15560: Fix building _sqlite3 extension on OS X with an SDK. Also, for
Also, for OS X installers, ensure consistent sqlite3 behavior and feature OS X installers, ensure consistent sqlite3 behavior and feature availability
availability by building a local copy of libsqlite3 rather than by building a local copy of libsqlite3 rather than depending on the wide range
depending on the wide range of versions supplied with various OS X releases. of versions supplied with various OS X releases.
- Issue #8847: Disable COMDAT folding in Windows PGO builds. - Issue #8847: Disable COMDAT folding in Windows PGO builds.
- Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs. - Issue #14018: Fix OS X Tcl/Tk framework checking when using OS X SDKs.
- Issue #15431: Add _freeze_importlib project to regenerate importlib.h - Issue #15431: Add _freeze_importlib project to regenerate importlib.h on
on Windows. Patch by Kristján Valur Jónsson. Windows. Patch by Kristján Valur Jónsson.
- Issue #14197: For OS X framework builds, ensure links to the shared - Issue #14197: For OS X framework builds, ensure links to the shared library
library are created with the proper ABI suffix. are created with the proper ABI suffix.
- Issue #14330: For cross builds, don't use host python, use host search paths - Issue #14330: For cross builds, don't use host python, use host search paths
for host compiler. for host compiler.
......
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
%define name python %define name python
#--start constants-- #--start constants--
%define version 3.3.0b1 %define version 3.3.0b2
%define libvers 3.3 %define libvers 3.3
#--end constants-- #--end constants--
%define release 1pydotorg %define release 1pydotorg
......
This is Python version 3.3.0 beta 1 This is Python version 3.3.0 beta 2
=================================== ===================================
Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011, Copyright (c) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, 2011,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment