]> granicus.if.org Git - python/commitdiff
merge 3.3 (#21766)
authorBenjamin Peterson <benjamin@python.org>
Sun, 15 Jun 2014 01:41:13 +0000 (18:41 -0700)
committerBenjamin Peterson <benjamin@python.org>
Sun, 15 Jun 2014 01:41:13 +0000 (18:41 -0700)
1  2 
Lib/http/server.py
Lib/test/test_httpservers.py
Misc/NEWS

Simple merge
Simple merge
diff --cc Misc/NEWS
index 2f4b0ed523644ca82fea818097961162b5b4a935,31980cd25d5d7087797363ba0bae965da85df541..66d9132c7b837504eae1118e902ac9a9e38f3cab
+++ b/Misc/NEWS
@@@ -22,104 -13,89 +22,107 @@@ Core and Builtin
  Library
  -------
  
 -- Fix arbitrary memory access in JSONDecoder.raw_decode with a negative second
 -  parameter. Bug reported by Guido Vranken.
 +- Issue #21326: Add a new is_closed() method to asyncio.BaseEventLoop.
 +  run_forever() and run_until_complete() methods of asyncio.BaseEventLoop now
 +  raise an exception if the event loop was closed.
 +
+ - Issue #21766: Prevent a security hole in CGIHTTPServer by URL unquoting paths
+   before checking for a CGI script at that path.
 +- Issue #21310: Fixed possible resource leak in failed open().
  
 -- Issue #20633: Replace relative import by absolute import.
 +- Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods.
  
 -- Issue #21082: In os.makedirs, do not set the process-wide umask. Note this
 -  changes behavior of makedirs when exist_ok=True.
 +- Issue #11709: Fix the pydoc.help function to not fail when sys.stdin is not a
 +  valid file.
  
 -- Issue #20875: Prevent possible gzip "'read' is not defined" NameError.
 -  Patch by Claudiu Popa.
 +- Issue #13223: Fix pydoc.writedoc so that the HTML documentation for methods
 +  that use 'self' in the example code is generated correctly.
  
 -- Issue #11599: When an external command (e.g. compiler) fails, distutils now
 -  prints out the whole command line (instead of just the command name) if the
 -  environment variable DISTUTILS_DEBUG is set.
 +- Issue #21463: In urllib.request, fix pruning of the FTP cache.
  
 -- Issue #4931: distutils should not produce unhelpful "error: None" messages
 -  anymore.  distutils.util.grok_environment_error is kept but doc-deprecated.
 +- Issue #21618: The subprocess module could fail to close open fds that were
 +  inherited by the calling process and already higher than POSIX resource
 +  limits would otherwise allow.  On systems with a functioning /proc/self/fd
 +  or /dev/fd interface the max is now ignored and all fds are closed.
  
 -- Issue #20283: RE pattern methods now accept the string keyword parameters
 -  as documented.  The pattern and source keyword parameters are left as
 -  deprecated aliases.
 +- Issue #21552: Fixed possible integer overflow of too long string lengths in
 +  the tkinter module on 64-bit platforms.
  
 -Tests
 ------
 +- Issue #14315: The zipfile module now ignores extra fields in the central
 +  directory that are too short to be parsed instead of letting a struct.unpack
 +  error bubble up as this "bad data" appears in many real world zip files in
 +  the wild and is ignored by other zip tools.
  
 -- Issue #17752: Fix distutils tests when run from the installed location.
 +- Issue #21402: tkinter.ttk now works when default root window is not set.
  
 -- Issue #20946: Correct alignment assumptions of some ctypes tests.
 +- Issue #10203: sqlite3.Row now truly supports sequence protocol.  In particulr
 +  it supports reverse() and negative indices.  Original patch by Claudiu Popa.
  
 -- Issue #20939: Fix test_geturl failure in test_urllibnet due to
 -  new redirect of http://www.python.org/ to https://www.python.org.
 +- Issue #18807: If copying (no symlinks) specified for a venv, then the python
 +  interpreter aliases (python, python3) are now created by copying rather than
 +  symlinking.
  
 +- Issue #14710: pkgutil.get_loader() no longer raises an exception when None is
 +  found in sys.modules.
  
 -What's New in Python 3.3.5?
 -===========================
 +- Issue #14710: pkgutil.find_loader() no longer raises an exception when a
 +  module doesn't exist.
  
 -*Release date: 09-Mar-2014*
 +- Issue #21481:  Argparse equality and inequality tests now return
 +  NotImplemented when comparing to an unknown type.
  
 -No changes from release candidate 2.
 +- Issue #8743: Fix interoperability between set objects and the
 +  collections.Set() abstract base class.
  
 +- Issue #13355: random.triangular() no longer fails with a ZeroDivisionError
 +  when low equals high.
  
 -What's New in Python 3.3.5 release candidate 2?
 -===============================================
 +- Issue #21538: The plistlib module now supports loading of binary plist files
 +  when reference or offset size is not a power of two.
  
 -*Release date: 02-Mar-2014*
 +Build
 +-----
  
 -Core and Builtins
 ------------------
 +- Issue #17095: Fix Modules/Setup *shared* support.
  
 -- Issue #20731: Properly position in source code files even if they
 -  are opened in text mode. Patch by Serhiy Storchaka.
 +IDLE
 +----
  
 -- Issue #19619: str.encode, bytes.decode and bytearray.decode now use an
 -  internal API to throw LookupError for known non-text encodings, rather
 -  than attempting the encoding or decoding operation and then throwing a
 -  TypeError for an unexpected output type. (The latter mechanism remains
 -  in place for third party non-text encodings)
 +- Issue #18910: Add unittest for textView. Patch by Phil Webster.
  
 -Library
 --------
 +- Issue #18292: Add unittest for AutoExpand. Patch by Saihadhav Heblikar.
  
 -- Issue #20778: Fix modulefinder to work with bytecode-only modules.
 +- Issue #18409: Add unittest for AutoComplete. Patch by Phil Webster.
  
 -- Issue #20791: copy.copy() now doesn't make a copy when the input is
 -  a bytes object.  Initial patch by Peter Otten.
 +Tests
 +-----
  
 -- Issue #20621: Fixes a zipimport bug introduced in 3.3.4 that could cause
 -  spurious crashes or SystemErrors when importing modules or packages from a
 -  zip file.  The change causing the problem was reverted.
 +- Issue #19493: Refactored the ctypes test package to skip tests explicitly
 +  rather than silently.
  
 -- Issue #20404: io.TextIOWrapper (and hence the open() builtin) now uses the
 -  internal codec marking system added for issue #19619 to throw LookupError
 -  for known non-text encodings at stream construction time. The existing
 -  output type checks remain in place to deal with unmarked third party
 -  codecs.
 +- Issue #18492: All resources are now allowed when tests are not run by
 +  regrtest.py.
  
 -Tests
 ------
 +- Issue #21634: Fix pystone micro-benchmark: use floor division instead of true
 +  division to benchmark integers instead of floating point numbers. Set pystone
 +  version to 1.2. Patch written by Lennart Regebro.
  
 -- Issue #20743: Fix a reference leak in test_tcl.
 +- Issue #21605: Added tests for Tkinter images.
 +
 +- Issue #21493: Added test for ntpath.expanduser().  Original patch by
 +  Claudiu Popa.
 +
 +- Issue #19925: Added tests for the spwd module. Original patch by Vajrasky Kok.
 +
 +- Issue #21522: Added Tkinter tests for Listbox.itemconfigure(),
 +  PanedWindow.paneconfigure(), and Menu.entryconfigure().
 +
 +Windows
 +-------
 +
 +- Issue #21671, CVE-2014-0224: The bundled version of OpenSSL has been
 +  updated to 1.0.1h.
  
  Tools/Demos
  -----------