]> granicus.if.org Git - python/commitdiff
Merge with 3.1
authorRoss Lagerwall <rosslagerwall@gmail.com>
Sat, 9 Apr 2011 18:05:04 +0000 (20:05 +0200)
committerRoss Lagerwall <rosslagerwall@gmail.com>
Sat, 9 Apr 2011 18:05:04 +0000 (20:05 +0200)
1  2 
Lib/test/regrtest.py
Misc/NEWS

index a18b7a2e617b5a2d7985b55ad1138c194d0c6582,98d68bd1b483ba81f5061e24d4e4f7a23b58ade5..89acb9b0a9dabd425942cb0266e96c0c4d694aec
@@@ -1478,10 -1237,11 +1478,10 @@@ class _ExpectedSkips
              if sys.platform != "win32":
                  # test_sqlite is only reliable on Windows where the library
                  # is distributed with Python
 -                WIN_ONLY = ["test_unicode_file", "test_winreg",
 +                WIN_ONLY = {"test_unicode_file", "test_winreg",
                              "test_winsound", "test_startfile",
-                             "test_sqlite"}
 -                            "test_sqlite", "test_msilib"]
 -                for skip in WIN_ONLY:
 -                    self.expected.add(skip)
++                            "test_sqlite", "test_msilib"}
 +                self.expected |= WIN_ONLY
  
              if sys.platform != 'sunos5':
                  self.expected.add('test_nis')
diff --cc Misc/NEWS
index 39faa4b475b18b03028f554f165d9fd6b8857216,5307fe86621f3f4ea82bfa56b9a999e2f9fd80e2..23026db2a87f13a265bc6820b0ae8bcccb159b5f
+++ b/Misc/NEWS
@@@ -187,151 -130,185 +187,154 @@@ Librar
  - Issue #11089: Fix performance issue limiting the use of ConfigParser()
    with large config files.
  
 -- Issue #8275: Fix passing of callback arguments with ctypes under Win64.
 -  Patch by Stan Mihai.
 -
 -- Issue #11053: Fix IDLE "Syntax Error" windows to behave as in 2.x,
 -  preventing a confusing hung appearance on OS X with the windows
 -  obscured.
 +- Issue #10276: Fix the results of zlib.crc32() and zlib.adler32() on buffers
 +  larger than 4GB.  Patch by Nadeem Vawda.
  
 -- Issue #11052: Correct IDLE menu accelerators on Mac OS X for Save
 -  commands.
 +- Issue #9348: Raise an early error if argparse nargs and metavar don't match.
  
 -- Issue #11020: Command-line pyclbr was broken because of missing 2-to-3
 -  conversion.
 +- Issue #8982: Improve the documentation for the argparse Namespace object.
  
 -- Issue #10974: IDLE no longer crashes if its recent files list includes files
 -  with non-ASCII characters in their path names.
 +- Issue #9343: Document that argparse parent parsers must be configured before
 +  their children.
  
 -- Issue #10987: Fix the recursion limit handling in the _pickle module.
 +- Issue #9026: Fix order of argparse sub-commands in help messages.
  
 -- Issue #10949: Improved robustness of rotating file handlers.
 +- Issue #9347: Fix formatting for tuples in argparse type= error messages.
  
 -- Issue #10955: Fix a potential crash when trying to mmap() a file past its
 -  length.  Initial patch by Ross Lagerwall.
 +Build
 +-----
  
 -- Issue #10898: Allow compiling the posix module when the C library defines
 -  a symbol named FSTAT.
 +- Issue #11411: Fix 'make DESTDIR=' with a relative destination.
  
 -- Issue #10916: mmap should not segfault when a file is mapped using 0 as
 -  length and a non-zero offset, and an attempt to read past the end of file
 -  is made (IndexError is raised instead).  Patch by Ross Lagerwall.
 +- Issue #11268: Prevent Mac OS X Installer failure if Documentation
 +  package had previously been installed.
  
 -- Issue #10899: No function type annotations in the standard library.
 -  Removed function type annotations from _pyio.py.
 +Tools/Demos
 +-----------
  
 -- Issue #10875: Update Regular Expression HOWTO; patch by 'SilentGhost'.
 +- Issue #11179: Make ccbench work under Python 3.1 and 2.7 again.
  
 -- Issue #10869: Fixed bug where ast.increment_lineno modified the root
 -  node twice.
 +Extensions
 +----------
  
 -- Issue #5871: email.header.Header.encode now raises an error if any
 -  continuation line in the formatted value has no leading white space
 -  and looks like a header.  Since Generator uses Header to format all
 -  headers, this check is made for all headers in any serialized message
 -  at serialization time.  This provides protection against header
 -  injection attacks.
 +- Issue #1838: Prevent segfault in ctypes, when _as_parameter_ on a class is set
 +  to an instance of the class.
  
 -- Issue #7858: Raise an error properly when os.utime() fails under Windows
 -  on an existing file.
 +Tests
 +-----
  
 -- Issue #3839: wsgiref should not override a Content-Length header set by
 -  the application.  Initial patch by Clovis Fabricio.
++- Issue #11719: Fix message about unexpected test_msilib skip on non-Windows
++  platforms. Patch by Nadeem Vawda.
 -- Issue #10790: email.header.Header.append's charset logic now works correctly
 -  for charsets whose output codec is different from its input codec.
 +- Issue #11653: fix -W with -j in regrtest.
  
 -- Issue #6643: Reinitialize locks held within the threading module after fork
 -  to avoid a potential rare deadlock or crash on some platforms.
 +- Issue #11577: improve test coverage of binhex.py. Patch by Arkady Koplyarov.
  
 -- Issue #10806, issue #9905: Fix subprocess pipes when some of the standard
 -  file descriptors (0, 1, 2) are closed in the parent process.  Initial
 -  patch by Ross Lagerwall.
 +- Issue #11578: added test for the timeit module.  Patch Michael Henry.
  
 -- Issue #10753 - Characters ';', '=' and ',' in the PATH_INFO environment
 -  variable won't be quoted when the URI is constructed by the wsgiref.util's
 -  request_uri method. According to RFC 3986, these characters can be a part of
 -  params in PATH component of URI and need not be quoted.
 +- Issue #11503: improve test coverage of posixpath.py. Patch by Evan Dandrea.
  
 -- Issue #10738: Fix webbrowser.Opera.raise_opts
 +- Issue #11505: improves test coverage of string.py. Patch by Alicia
 +  Arlen.
  
 -- Issue #9824: SimpleCookie now encodes , and ; in values to cater to how
 -  browsers actually parse cookies.
 +- Issue #11548: Improve test coverage of the shutil module. Patch by
 +  Evan Dandrea.
  
 -- Issue #5258/#10642: if site.py encounters a .pth file that generates an error,
 -  it now prints the filename, line number, and traceback to stderr and skips
 -  the rest of that individual file, instead of stopping processing entirely.
 +- Issue #11554: Reactivated test_email_codecs.
  
 -- Issue #4871: The zipfile module now gives a more useful error message if
 -  an attempt is made to use a string to specify the archive password.
 +- Issue #11490: test_subprocess:test_leaking_fds_on_error no longer gives a
 +  false positive if the last directory in the path is inaccessible.
  
 -- Issue #10750: The ``raw`` attribute of buffered IO objects is now read-only.
 +- Issue #11223: Fix test_threadsignals to fail, not hang, when the
 +  non-semaphore implementation of locks is used under POSIX.
  
 -- Issue #6791: Limit header line length (to 65535 bytes) in http.client
 -  and http.server, to avoid denial of services from the other party.
 +- Issue #10911: Add tests on CGI with non-ASCII characters. Patch written by
 +  Pierre Quentel.
  
 -- Issue #10404: Use ctl-button-1 on OSX for the context menu in Idle.
 +- Issue #9931: Fix hangs in GUI tests under Windows in certain conditions.
 +  Patch by Hirokazu Yamamoto.
  
 -- Issue #4188: Avoid creating dummy thread objects when logging operations
 -  from the threading module (with the internal verbose flag activated).
 +- Issue #10826: Prevent sporadic failure in test_subprocess on Solaris due
 +  to open door files.
  
 -- Issue #9721: Fix the behavior of urljoin when the relative url starts with a
 -  ';' character. Patch by Wes Chow.
  
 -- Issue #10714: Limit length of incoming request in http.server to 65536 bytes
 -  for security reasons.  Initial patch by Ross Lagerwall.
 +What's New in Python 3.2?
 +=========================
  
 -- Issue #9558: Fix distutils.command.build_ext with VS 8.0.
 +*Release date: 20-Feb-2011*
  
 -- Issue #10695: passing the port as a string value to telnetlib no longer
 -  causes debug mode to fail.
 +Core and Builtins
 +-----------------
  
 -- Issue #1078919: add_header now automatically RFC2231 encodes parameters
 -  that contain non-ascii values.
 +- Issue #11249: Fix potential crashes when using the limited API.
  
 -- Issue #10107: Warn about unsaved files in IDLE on OSX.
 +Build
 +-----
  
 -- Issue #7904: Changes to urllib.parse.urlsplit to handle schemes as defined by
 -  RFC3986. Anything before :// is considered a scheme and is followed by an
 -  authority (or netloc) and by '/' led path, which is optional.
 +- Issue #11222: Fix non-framework shared library build on Mac OS X.
  
 -- Issue #10478: Reentrant calls inside buffered IO objects (for example by
 -  way of a signal handler) now raise a RuntimeError instead of freezing the
 -  current process.
 +- Issue #11184: Fix large-file support on AIX.
  
 -- Issue #10464: netrc now correctly handles lines with embedded '#' characters.
 +- Issue #941346: Fix broken shared library build on AIX.
  
 -- Issue #1731717: Fixed the problem where subprocess.wait() could cause an
 -  OSError exception when The OS had been told to ignore SIGCLD in our process
 -  or otherwise not wait for exiting child processes.
 +Documentation
 +-------------
  
 -- Issue #11500: Fixed a bug in the os x proxy bypass code for fully qualified
 -  IP addresses in the proxy exception list.
 +- Issue #10709: Add updated AIX notes in Misc/README.AIX.
  
 -Extensions
 -----------
  
 -- Issue #1838: Prevent segfault in ctypes, when _as_parameter_ on a class is set
 -  to an instance of the class.
 +What's New in Python 3.2 Release Candidate 3?
 +=============================================
  
 -- Issue #678250: Make mmap flush a noop on ACCESS_READ and ACCESS_COPY.
 +*Release date: 13-Feb-2011*
  
 -Build
 ------
 +Core and Builtins
 +-----------------
  
 -- Issue #11411: Fix 'make DESTDIR=' with a relative destination.
 +- Issue #11134: Add missing fields to typeslots.h.
  
 -- Issue #11184: Fix large-file support on AIX.
 +- Issue #11135: Remove redundant doc field from PyType_Spec.
  
 -- Issue #941346: Fix broken shared library build on AIX.
 +- Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check in the limited
 +  ABI.
  
 -- Issue #7716: Under Solaris, don't assume existence of /usr/xpg4/bin/grep in
 -  the configure script but use $GREP instead.  Patch by Fabian Groffen.
 +- Issue #11118: Fix bogus export of None in python3.dll.
  
 -- Issue #10475: Don't hardcode compilers for LDSHARED/LDCXXSHARED on NetBSD
 -  and DragonFly BSD.  Patch by Nicolas Joly.
 +Library
 +-------
  
 -- Issue #10655: Fix the build on PowerPC on Linux with GCC when building with
 -  timestamp profiling (--with-tsc): the preprocessor test for the PowerPC
 -  support now looks for "__powerpc__" as well as "__ppc__": the latter seems to
 -  only be present on OS X; the former is the correct one for Linux with GCC.
 +- Issue #11116: any error during addition of a message to a mailbox now causes a
 +  rollback, instead of leaving the mailbox partially modified.
  
 -- Issue #1099: Fix the build on MacOSX when building a framework with pydebug
 -  using GCC 4.0.
 +- Issue #11132: Fix passing of "optimize" parameter when recursing in
 +  compileall.compile_dir().
  
 -Tests
 ------
 +- Issue #11110: Fix a potential decref of a NULL in sqlite3.
  
 -- Issue #11719: Fix message about unexpected test_msilib skip on non-Windows
 -  platforms. Patch by Nadeem Vawda.
 +- Issue #8275: Fix passing of callback arguments with ctypes under Win64.  Patch
 +  by Stan Mihai.
  
 -- Issue #11490: test_subprocess:test_leaking_fds_on_error no longer gives a
 -  false positive if the last directory in the path is inaccessible.
 +Build
 +-----
  
 -- Issue #10822: Fix test_posix:test_getgroups failure under Solaris.  Patch
 -  by Ross Lagerwall.
 +- Issue #11079: The /Applications/Python x.x folder created by the Mac OS X
 +  installers now includes a link to the installed documentation and no longer
 +  includes an Extras directory.  The Tools directory is now installed in the
 +  framework under share/doc.
  
 -- Issue #6293: Have regrtest.py echo back sys.flags.  This is done by default
 -  in whole runs and enabled selectively using ``--header`` when running an
 -  explicit list of tests.  Original patch by Collin Winter.
 +- Issue #11121: Fix building with --enable-shared.
  
 -- Issue #775964: test_grp now skips YP/NIS entries instead of failing when
 -  encountering them.
 +Tests
 +-----
  
 -- Issue #7110: regrtest now sends test failure reports and single-failure
 -  tracebacks to stderr rather than stdout.
 +- Issue #10971: test_zipimport_support is once again compatible with the refleak
 +  hunter feature of test.regrtest.
  
  
 -What's New in Python 3.1.3?
 -===========================
 +What's New in Python 3.2 Release Candidate 2?
 +=============================================
  
 -*Release date: 2010-11-27*
 +*Release date: 30-Jan-2011*
  
  Core and Builtins
  -----------------