]> granicus.if.org Git - python/commitdiff
merge from 3.2 - Issue #12541: Be lenient with quotes around Realm field of HTTP...
authorSenthil Kumaran <senthil@uthcode.com>
Tue, 15 May 2012 14:39:17 +0000 (22:39 +0800)
committerSenthil Kumaran <senthil@uthcode.com>
Tue, 15 May 2012 14:39:17 +0000 (22:39 +0800)
1  2 
Lib/test/test_urllib2.py
Lib/urllib/request.py
Misc/NEWS

Simple merge
Simple merge
diff --cc Misc/NEWS
index 95a2c4f2f1ebcc33a7cd98715690ca2f47ce6c20,f3b14b3d4093b3792af65aae9867636251f3c6e1..009d8e692365820e36b6288074b7412af2eef396
+++ b/Misc/NEWS
@@@ -10,108 -10,7 +10,111 @@@ What's New in Python 3.3.0 Alpha 4
  Core and Builtins
  -----------------
  
 -- Issue #14761: Fix potential leak on an error case in the import machinery.
 +- asdl_seq and asdl_int_seq are now Py_ssize_t sized.
 +
 +- Issue #14133 (PEP 415): Implement suppression of __context__ display with an
 +  attribute on BaseException. This replaces the original mechanism of PEP 409.
 +
 +- Issue #14417: Mutating a dict during lookup now restarts the lookup instead
 +  of raising a RuntimeError (undoes issue #14205).
 +
 +- Issue #14738: Speed-up UTF-8 decoding on non-ASCII data.  Patch by Serhiy
 +  Storchaka.
 +
 +- Issue #14700: Fix two broken and undefined-behaviour-inducing overflow checks
 +  in old-style string formatting.
 +
 +- Issue #14705: The PyArg_Parse() family of functions now support the 'p' format
 +  unit, which accepts a "boolean predicate" argument.  It converts any Python
 +  value into an integer--0 if it is "false", and 1 otherwise.
 +
 +Library
 +-------
 +
++- Issue #12541: Be lenient with quotes around Realm field of HTTP Basic
++  Authentation in urllib2.
++
 +- Issue 14807: move undocumented tarfile.filemode() to stat.filemode() and add
 +  doc entry. Add tarfile.filemode alias with deprecation warning.
 +
 +- Issue #13815: TarFile.extractfile() now returns io.BufferedReader objects.
 +
 +- Issue #14532: Add a secure_compare() helper to the hmac module, to mitigate
 +  timing attacks. Patch by Jon Oberheide.
 +
 +- Add importlib.util.resolve_name().
 +
 +- Issue #14366: Support lzma compression in zip files.
 +  Patch by Serhiy Storchaka.
 +
 +- Issue #13959: Introduce importlib.find_loader() and document
 +  imp.find_module/load_module as deprecated.
 +
 +- Issue #14082: shutil.copy2() now copies extended attributes, if possible.
 +  Patch by Hynek Schlawack.
 +
 +- Issue #13959: Make importlib.abc.FileLoader.load_module()/get_filename() and
 +  importlib.machinery.ExtensionFileLoader.load_module() have their single
 +  argument be optional. Allows for the replacement (and thus deprecation) of
 +  imp.load_source()/load_package()/load_compiled().
 +
 +- Issue #13959: imp.get_suffixes() has been deprecated in favour of the new
 +  attributes on importlib.machinery: SOURCE_SUFFIXES, DEBUG_BYTECODE_SUFFIXES,
 +  OPTIMIZED_BYTECODE_SUFFIXES, BYTECODE_SUFFIXES, and EXTENSION_SUFFIXES. This
 +  led to an indirect deprecation of inspect.getmoduleinfo().
 +
 +- Issue #14662: Prevent shutil failures on OS X when destination does not
 +  support chflag operations.  Patch by Hynek Schlawack.
 +
 +- Issue #14157: Fix time.strptime failing without a year on February 29th.
 +  Patch by Hynek Schlawack.
 +
 +- Issue #14753: Make multiprocessing's handling of negative timeouts
 +  the same as it was in Python 3.2.
 +
 +- Issue #14583: Fix importlib bug when a package's __init__.py would first
 +  import one of its modules then raise an error.
 +
 +- Issue #14741: Fix missing support for Ellipsis ('...') in parser module.
 +
 +- Issue #14697: Fix missing support for set displays and set comprehensions in
 +  parser module.
 +
 +- Issue #14701: Fix missing support for 'raise ... from' in parser module.
 +
 +- Add support for timeouts to the acquire() methods of
 +  multiprocessing's lock/semaphore/condition proxies.
 +
 +- Issue #13989: Add support for text mode to gzip.open().
 +
 +- Issue #14127: The os.stat() result object now provides three additional
 +  fields: st_ctime_ns, st_mtime_ns, and st_atime_ns, providing those times as an
 +  integer with nanosecond resolution.  The functions os.utime(), os.lutimes(),
 +  and os.futimes() now accept a new parameter, ns, which accepts mtime and atime
 +  as integers with nanosecond resolution.
 +
 +- Issue #14127 and #10148: shutil.copystat now preserves exact mtime and atime
 +  on filesystems providing nanosecond resolution.
 +
 +Tools/Demos
 +-----------
 +
 +- Issue #14695: Bring Tools/parser/unparse.py support up to date with
 +  the Python 3.3 Grammar.
 +
 +Build
 +-----
 +
 +- Issue #13210: Windows build now uses VS2010, ported from VS2008.
 +
 +
 +What's New in Python 3.3.0 Alpha 3?
 +===================================
 +
 +*Release date: 01-May-2012*
 +
 +Core and Builtins
 +-----------------
  
  - Issue #14699: Fix calling the classmethod descriptor directly.