[ubuntu/raring-proposed] python2.7 2.7.3-11ubuntu1 (Accepted)

Matthias Klose doko at ubuntu.com
Mon Dec 10 18:35:16 UTC 2012


python2.7 (2.7.3-11ubuntu1) raring; urgency=low

  * Merge with Debian; remaining changes:
    - Regenerate the control file.

python2.7 (2.7.3-11) experimental; urgency=low

  * Update to 20121210, taken from the 2.7 branch.
    - Issue #16602: When a weakref's target was part of a long deallocation
      chain, the object could remain reachable through its weakref even though
      its refcount had dropped to zero.
    - Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.
    - Issue #16248: Disable code execution from the user's home directory by
      tkinter when the -E flag is passed to Python.  Patch by Zachary Ware.
    - Issue #16628: Fix a memory leak in ctypes.resize().
    - Issue #13614: Fix setup.py register failure with invalid rst in
      description.
    - Issue #10182: The re module doesn't truncate indices to 32 bits anymore.
    - Issue #16573: In 2to3, treat enumerate() like a consuming call, so
      superfluous list() calls aren't added to filter(), map(), and zip()
      which are directly passed enumerate().
    - Issue #16476: Fix json.tool to avoid including trailing whitespace.
    - Issue #16549: Add tests for json.tools.
    - Issue #15990: Improve argument/parameter documentation.
  * Use _sysconfigdata.py in distutils.sysconfig.
  * Fix distutils.sysconfig.get_{config_h,makefile}_filename for multiarch.
  * Backport ssl.match_hostname from Python3. Closes: #626539.

python2.7 (2.7.3-10) experimental; urgency=low

  * Update to 20121128, taken from the 2.7 branch.
    - Issue #9011: Fix hacky AST code that modified the CST when compiling
      a negated numeric literal.
    - Issue #16306: Fix multiple error messages when unknown command line
      parameters where passed to the interpreter.
    - Issue #15379: Fix passing of non-BMP characters as integers for the
      charmap decoder (already working as unicode strings).
    - Issue #16453: Fix equality testing of dead weakref objects.
    - Issue #9535: Fix pending signals that have been received but not yet
      handled by Python to not persist after os.fork() in the child process.
    - Issue #15001: fix segfault on "del sys.modules['__main__']".
    - Issue #5057: the peepholer no longer optimizes subscription on unicode
      literals (e.g. u'foo'[0]) in order to produce compatible pyc files
      between narrow and wide builds.
    - Issue #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5)
      now raises an error.
    - Issue #14700: Fix buggy overflow checks for large width and precision
      in string formatting operations.
    - Issue #16345: Fix an infinite loop when ``fromkeys`` on a dict subclass
      received a nonempty dict from the constructor.
    - Issue #6074: Ensure cached bytecode files can always be updated by the
      user that created them, even when the source file is read-only.
    - Issue #14783: Improve int() and long() docstrings and switch docstrings
      for unicode(), slice(), range(), and xrange() to use multi-line
      signatures.
    - Issue #16030: Fix overflow bug in computing the `repr` of an xrange
      object with large start, step or length.
    - Issue #16029: Fix overflow bug occurring when pickling xranges with large
      start, step or length.
    - Issue #16037: Limit httplib's _read_status() function to work around
      broken HTTP servers and reduce memory usage (backport of a 3.2 fix).
    - Issue #13992: The trashcan mechanism is now thread-safe.  This eliminates
      sporadic crashes in multi-thread programs when several long deallocator
      chains ran concurrently and involved subclasses of built-in container
      types.
    - Issue #15801: Make sure mappings passed to '%' formatting are actually
      subscriptable.
    - Issue #15604: Update uses of PyObject_IsTrue() to check for and handle
      errors correctly.
    - Issue #15897: zipimport.c doesn't check return value of fseek().
    - Issue #16369: Global PyTypeObjects not initialized with PyType_Ready(...).
    - Issue #15033: Fix the exit status bug when modules invoked using
      -m switch, return the proper failure return value (1).
    - Issue #1160: Fix compiling large regular expressions on UCS2 builds.
    - Issue #14313: zipfile now raises NotImplementedError when the compression
      type is unknown.
    - Issue #16408: Fix file descriptors not being closed in error conditions
      in the zipfile module.
    - Issue #16327: The subprocess module no longer leaks file descriptors
      used for stdin/stdout/stderr pipes to the child when fork() fails.
    - Issue #14396: Handle the odd rare case of waitpid returning 0 when not
      expected in subprocess.Popen.wait().
    - Issue #16411: Fix a bug where zlib.decompressobj().flush() might try
      to access previously-freed memory.
    - Issue #16350: zlib.decompressobj().decompress() now accumulates data from
      successive calls after EOF in unused_data, instead of only saving the
      argument to the last call. decompressobj().flush() now correctly sets
      unused_data and unconsumed_tail. A bug in the handling of MemoryError
      when setting the unconsumed_tail attribute has also been fixed.
    - Issue #12759: sre_parse now raises a proper error when the name
      of the group is missing.
    - Issue #16152: fix tokenize to ignore whitespace at the end of the code
      when no newline is found.
    - Issue #1207589: Add Cut/Copy/Paste items to IDLE right click
      Context Menu.
    - Issue #16230: Fix a crash in select.select() when one the lists changes
      size while iterated on.
    - Issue #16228: Fix a crash in the json module where a list changes size
      while it is being encoded.
    - Issue #14897: Enhance error messages of struct.pack and struct.pack_into.
    - Issue #12890: cgitb no longer prints spurious <p> tags in text
      mode when the logdir option is specified.
    - Issue #14398: Fix size truncation and overflow bugs in the bz2 module.
    - Issue #5148: Ignore 'U' in mode given to gzip.open() and gzip.GzipFile().
    - Issue #16220: wsgiref now always calls close() on an iterable response.
    - Issue #16461: Wave library should be able to deal with 4GB wav files,
      and sample rate of 44100 Hz.
    - Issue #16176: Properly identify Windows 8 via platform.platform().
    - Issue #15756: subprocess.poll() now properly handles errno.ECHILD to
      return a returncode of 0 when the child has already exited or cannot
      be waited on.
    - Issue #12376: Pass on parameters in TextTestResult.__init__ super call.
    - Issue #15222: Insert blank line after each message in mbox mailboxes.
    - Issue #16013: Fix CSV Reader parsing issue with ending quote characters.
    - Issue #15421: fix an OverflowError in Calendar.itermonthdates() after
      datetime.MAXYEAR.
    - Issue #15970: xml.etree.ElementTree now serializes correctly the
      empty HTML elements 'meta' and 'param'.
    - Issue #15676: Now "mmap" check for empty files before doing the
      offset check.
    - Issue #15340: Fix importing the random module when /dev/urandom cannot
      be opened.  This was a regression caused by the hash randomization patch.
    - Issue #15841: The readable(), writable() and seekable() methods of
      io.BytesIO and io.StringIO objects now raise ValueError when the object
      has been closed.
    - Issue #16112: platform.architecture does not correctly escape argument to
      /usr/bin/file.
    - Issue #12776,#11839: call argparse type function (specified by
      add_argument) only once. Before, the type function was called twice in
      the case where the default was specified and the argument was given as
      well.  This was especially problematic for the FileType type, as a
      default file would always be opened, even if a file argument was
      specified on the command line.
    - Issue #15906: Fix a regression in argparse caused by the preceding change,
      when action='append', type='str' and default=[].
    - Issue #13370: Ensure that ctypes works on Mac OS X when Python is
      compiled using the clang compiler
    - Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.
    - Issue #15199: Fix JavaScript's default MIME type to
      application/javascript.
    - Issue #15477: In cmath and math modules, add workaround for platforms
      whose system-supplied log1p function doesn't respect signs of zeros.
    - Issue #15908: Fix misbehaviour of the sha1 module when called on data
      larger than 2**32 bytes.
    - Issue #15910: Fix misbehaviour of _md5 and sha1 modules when "updating"
      on data larger than 2**32 bytes.
    - Fix the leak of a dict in the time module when used in an embedded
      interpreter that is repeatedly initialized and shutdown and reinitialized.
    - Issue #12268: File readline, readlines and read or readall methods
      no longer lose data when an underlying read system call is interrupted
      within an io module object.  IOError is no longer raised due to a read
      system call returning EINTR from within these methods.
    - Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()
      method doesn't require an argument again.
    - Issue #16559: Add more tests for the json module, including some from the
      official test suite at json.org.
    - Issue #16274: Fix test_asyncore on Solaris.
    - Issue #15040: Close files in mailbox tests for PyPy compatibility.
    - Issue #15802: Fix test logic in TestMaildir.test_create_tmp.
    - Issue #15765: Extend a previous fix to Solaris and OpenBSD for quirky
      getcwd() behaviour (issue #9185) to NetBSD as well.
    - Issue #15615: Add some tests for the json module's handling of invalid
      input data.
    - Issue #15923: fix a mistake in asdl_c.py that resulted in a TypeError
      after 2801bf875a24 (see #15801).
    - Issue #11715: Fix multiarch detection without having Debian development
      tools (dpkg-dev) installed.
    - Issue #15819: Make sure we can build Python out-of-tree from a readonly
      source directory.  (Somewhat related to Issue #9860.)
    - Issue #15822: Ensure 2to3 grammar pickles are properly installed.
    - Issue #13301: use ast.literal_eval() instead of eval()
      in Tools/i18n/msgfmt.py.
    - Issue #16400: Update the description of which versions of a given package
      PyPI displays.
    - Issue #15677: Document that zlib and gzip accept a compression level
      of 0 to mean 'no compression'.
    - Issue #8040: added a version switcher to the documentation.
    - Issue #16115: Improve subprocess.Popen() documentation around args,
      shell, and executable arguments.
    - Issue #15979: Improve timeit documentation.
    - Issue #16036: Improve documentation of built-in int()'s signature and
      arguments.
    - Issue #15935: Clarification of argparse docs, re: add_argument() type and
      default arguments.
    - Issue #13769: Document the effect of ensure_ascii to the return type
      of JSON decoding functions.
    - Issue #14880: Fix kwargs notation in csv.reader,
      .writer & .register_dialect.
    - Issue #14674: Add a discussion of the json module's standard compliance.
  * Clarify location of the gdbinit file. LP: #975676.
  * Fix traceback for missing distutils wininst .exe files. LP: #1081155.
  * Backport python3.3 multiarch packaging changes (Riku Voipio), and fix
    multiarch issues discovered after the backport.
    Closes: #683755.
  * Use a shell implementation for the python-config script.

Date: Mon, 10 Dec 2012 19:10:32 +0100
Changed-By: Matthias Klose <doko at ubuntu.com>
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
https://launchpad.net/ubuntu/raring/+source/python2.7/2.7.3-11ubuntu1
-------------- next part --------------
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.8
Date: Mon, 10 Dec 2012 19:10:32 +0100
Source: python2.7
Binary: python2.7 libpython2.7-stdlib python2.7-minimal libpython2.7-minimal libpython2.7 python2.7-examples python2.7-dev libpython2.7-dev idle-python2.7 python2.7-doc python2.7-dbg libpython2.7-dbg
Architecture: source
Version: 2.7.3-11ubuntu1
Distribution: raring
Urgency: low
Maintainer: Ubuntu Core Developers <ubuntu-devel-discuss at lists.ubuntu.com>
Changed-By: Matthias Klose <doko at ubuntu.com>
Description: 
 idle-python2.7 - IDE for Python (v2.7) using Tkinter
 libpython2.7 - Shared Python runtime library (version 2.7)
 libpython2.7-dbg - Debug Build of the Python Interpreter (version 2.7)
 libpython2.7-dev - Header files and a static library for Python (v2.7)
 libpython2.7-minimal - Minimal subset of the Python language (version 2.7)
 libpython2.7-stdlib - Interactive high-level object-oriented language (version 2.7)
 python2.7  - Interactive high-level object-oriented language (version 2.7)
 python2.7-dbg - Debug Build of the Python Interpreter (version 2.7)
 python2.7-dev - Header files and a static library for Python (v2.7)
 python2.7-doc - Documentation for the high-level object-oriented language Python
 python2.7-examples - Examples for the Python language (v2.7)
 python2.7-minimal - Minimal subset of the Python language (version 2.7)
Closes: 626539 683755
Launchpad-Bugs-Fixed: 975676 1081155
Changes: 
 python2.7 (2.7.3-11ubuntu1) raring; urgency=low
 .
   * Merge with Debian; remaining changes:
     - Regenerate the control file.
 .
 python2.7 (2.7.3-11) experimental; urgency=low
 .
   * Update to 20121210, taken from the 2.7 branch.
     - Issue #16602: When a weakref's target was part of a long deallocation
       chain, the object could remain reachable through its weakref even though
       its refcount had dropped to zero.
     - Issue #16588: Silence unused-but-set warnings in Python/thread_pthread.
     - Issue #16248: Disable code execution from the user's home directory by
       tkinter when the -E flag is passed to Python.  Patch by Zachary Ware.
     - Issue #16628: Fix a memory leak in ctypes.resize().
     - Issue #13614: Fix setup.py register failure with invalid rst in
       description.
     - Issue #10182: The re module doesn't truncate indices to 32 bits anymore.
     - Issue #16573: In 2to3, treat enumerate() like a consuming call, so
       superfluous list() calls aren't added to filter(), map(), and zip()
       which are directly passed enumerate().
     - Issue #16476: Fix json.tool to avoid including trailing whitespace.
     - Issue #16549: Add tests for json.tools.
     - Issue #15990: Improve argument/parameter documentation.
   * Use _sysconfigdata.py in distutils.sysconfig.
   * Fix distutils.sysconfig.get_{config_h,makefile}_filename for multiarch.
   * Backport ssl.match_hostname from Python3. Closes: #626539.
 .
 python2.7 (2.7.3-10) experimental; urgency=low
 .
   * Update to 20121128, taken from the 2.7 branch.
     - Issue #9011: Fix hacky AST code that modified the CST when compiling
       a negated numeric literal.
     - Issue #16306: Fix multiple error messages when unknown command line
       parameters where passed to the interpreter.
     - Issue #15379: Fix passing of non-BMP characters as integers for the
       charmap decoder (already working as unicode strings).
     - Issue #16453: Fix equality testing of dead weakref objects.
     - Issue #9535: Fix pending signals that have been received but not yet
       handled by Python to not persist after os.fork() in the child process.
     - Issue #15001: fix segfault on "del sys.modules['__main__']".
     - Issue #5057: the peepholer no longer optimizes subscription on unicode
       literals (e.g. u'foo'[0]) in order to produce compatible pyc files
       between narrow and wide builds.
     - Issue #8401: assigning an int to a bytearray slice (e.g. b[3:4] = 5)
       now raises an error.
     - Issue #14700: Fix buggy overflow checks for large width and precision
       in string formatting operations.
     - Issue #16345: Fix an infinite loop when ``fromkeys`` on a dict subclass
       received a nonempty dict from the constructor.
     - Issue #6074: Ensure cached bytecode files can always be updated by the
       user that created them, even when the source file is read-only.
     - Issue #14783: Improve int() and long() docstrings and switch docstrings
       for unicode(), slice(), range(), and xrange() to use multi-line
       signatures.
     - Issue #16030: Fix overflow bug in computing the `repr` of an xrange
       object with large start, step or length.
     - Issue #16029: Fix overflow bug occurring when pickling xranges with large
       start, step or length.
     - Issue #16037: Limit httplib's _read_status() function to work around
       broken HTTP servers and reduce memory usage (backport of a 3.2 fix).
     - Issue #13992: The trashcan mechanism is now thread-safe.  This eliminates
       sporadic crashes in multi-thread programs when several long deallocator
       chains ran concurrently and involved subclasses of built-in container
       types.
     - Issue #15801: Make sure mappings passed to '%' formatting are actually
       subscriptable.
     - Issue #15604: Update uses of PyObject_IsTrue() to check for and handle
       errors correctly.
     - Issue #15897: zipimport.c doesn't check return value of fseek().
     - Issue #16369: Global PyTypeObjects not initialized with PyType_Ready(...).
     - Issue #15033: Fix the exit status bug when modules invoked using
       -m switch, return the proper failure return value (1).
     - Issue #1160: Fix compiling large regular expressions on UCS2 builds.
     - Issue #14313: zipfile now raises NotImplementedError when the compression
       type is unknown.
     - Issue #16408: Fix file descriptors not being closed in error conditions
       in the zipfile module.
     - Issue #16327: The subprocess module no longer leaks file descriptors
       used for stdin/stdout/stderr pipes to the child when fork() fails.
     - Issue #14396: Handle the odd rare case of waitpid returning 0 when not
       expected in subprocess.Popen.wait().
     - Issue #16411: Fix a bug where zlib.decompressobj().flush() might try
       to access previously-freed memory.
     - Issue #16350: zlib.decompressobj().decompress() now accumulates data from
       successive calls after EOF in unused_data, instead of only saving the
       argument to the last call. decompressobj().flush() now correctly sets
       unused_data and unconsumed_tail. A bug in the handling of MemoryError
       when setting the unconsumed_tail attribute has also been fixed.
     - Issue #12759: sre_parse now raises a proper error when the name
       of the group is missing.
     - Issue #16152: fix tokenize to ignore whitespace at the end of the code
       when no newline is found.
     - Issue #1207589: Add Cut/Copy/Paste items to IDLE right click
       Context Menu.
     - Issue #16230: Fix a crash in select.select() when one the lists changes
       size while iterated on.
     - Issue #16228: Fix a crash in the json module where a list changes size
       while it is being encoded.
     - Issue #14897: Enhance error messages of struct.pack and struct.pack_into.
     - Issue #12890: cgitb no longer prints spurious <p> tags in text
       mode when the logdir option is specified.
     - Issue #14398: Fix size truncation and overflow bugs in the bz2 module.
     - Issue #5148: Ignore 'U' in mode given to gzip.open() and gzip.GzipFile().
     - Issue #16220: wsgiref now always calls close() on an iterable response.
     - Issue #16461: Wave library should be able to deal with 4GB wav files,
       and sample rate of 44100 Hz.
     - Issue #16176: Properly identify Windows 8 via platform.platform().
     - Issue #15756: subprocess.poll() now properly handles errno.ECHILD to
       return a returncode of 0 when the child has already exited or cannot
       be waited on.
     - Issue #12376: Pass on parameters in TextTestResult.__init__ super call.
     - Issue #15222: Insert blank line after each message in mbox mailboxes.
     - Issue #16013: Fix CSV Reader parsing issue with ending quote characters.
     - Issue #15421: fix an OverflowError in Calendar.itermonthdates() after
       datetime.MAXYEAR.
     - Issue #15970: xml.etree.ElementTree now serializes correctly the
       empty HTML elements 'meta' and 'param'.
     - Issue #15676: Now "mmap" check for empty files before doing the
       offset check.
     - Issue #15340: Fix importing the random module when /dev/urandom cannot
       be opened.  This was a regression caused by the hash randomization patch.
     - Issue #15841: The readable(), writable() and seekable() methods of
       io.BytesIO and io.StringIO objects now raise ValueError when the object
       has been closed.
     - Issue #16112: platform.architecture does not correctly escape argument to
       /usr/bin/file.
     - Issue #12776,#11839: call argparse type function (specified by
       add_argument) only once. Before, the type function was called twice in
       the case where the default was specified and the argument was given as
       well.  This was especially problematic for the FileType type, as a
       default file would always be opened, even if a file argument was
       specified on the command line.
     - Issue #15906: Fix a regression in argparse caused by the preceding change,
       when action='append', type='str' and default=[].
     - Issue #13370: Ensure that ctypes works on Mac OS X when Python is
       compiled using the clang compiler
     - Issue #15544: Fix Decimal.__float__ to work with payload-carrying NaNs.
     - Issue #15199: Fix JavaScript's default MIME type to
       application/javascript.
     - Issue #15477: In cmath and math modules, add workaround for platforms
       whose system-supplied log1p function doesn't respect signs of zeros.
     - Issue #15908: Fix misbehaviour of the sha1 module when called on data
       larger than 2**32 bytes.
     - Issue #15910: Fix misbehaviour of _md5 and sha1 modules when "updating"
       on data larger than 2**32 bytes.
     - Fix the leak of a dict in the time module when used in an embedded
       interpreter that is repeatedly initialized and shutdown and reinitialized.
     - Issue #12268: File readline, readlines and read or readall methods
       no longer lose data when an underlying read system call is interrupted
       within an io module object.  IOError is no longer raised due to a read
       system call returning EINTR from within these methods.
     - Issue #16012: Fix a regression in pyexpat. The parser's UseForeignDTD()
       method doesn't require an argument again.
     - Issue #16559: Add more tests for the json module, including some from the
       official test suite at json.org.
     - Issue #16274: Fix test_asyncore on Solaris.
     - Issue #15040: Close files in mailbox tests for PyPy compatibility.
     - Issue #15802: Fix test logic in TestMaildir.test_create_tmp.
     - Issue #15765: Extend a previous fix to Solaris and OpenBSD for quirky
       getcwd() behaviour (issue #9185) to NetBSD as well.
     - Issue #15615: Add some tests for the json module's handling of invalid
       input data.
     - Issue #15923: fix a mistake in asdl_c.py that resulted in a TypeError
       after 2801bf875a24 (see #15801).
     - Issue #11715: Fix multiarch detection without having Debian development
       tools (dpkg-dev) installed.
     - Issue #15819: Make sure we can build Python out-of-tree from a readonly
       source directory.  (Somewhat related to Issue #9860.)
     - Issue #15822: Ensure 2to3 grammar pickles are properly installed.
     - Issue #13301: use ast.literal_eval() instead of eval()
       in Tools/i18n/msgfmt.py.
     - Issue #16400: Update the description of which versions of a given package
       PyPI displays.
     - Issue #15677: Document that zlib and gzip accept a compression level
       of 0 to mean 'no compression'.
     - Issue #8040: added a version switcher to the documentation.
     - Issue #16115: Improve subprocess.Popen() documentation around args,
       shell, and executable arguments.
     - Issue #15979: Improve timeit documentation.
     - Issue #16036: Improve documentation of built-in int()'s signature and
       arguments.
     - Issue #15935: Clarification of argparse docs, re: add_argument() type and
       default arguments.
     - Issue #13769: Document the effect of ensure_ascii to the return type
       of JSON decoding functions.
     - Issue #14880: Fix kwargs notation in csv.reader,
       .writer & .register_dialect.
     - Issue #14674: Add a discussion of the json module's standard compliance.
   * Clarify location of the gdbinit file. LP: #975676.
   * Fix traceback for missing distutils wininst .exe files. LP: #1081155.
   * Backport python3.3 multiarch packaging changes (Riku Voipio), and fix
     multiarch issues discovered after the backport.
     Closes: #683755.
   * Use a shell implementation for the python-config script.
Checksums-Sha1: 
 eb0a0837805ed84ac32b7565fece753d1741baae 2400 python2.7_2.7.3-11ubuntu1.dsc
 12122adf900b3b13e817f376dc5fe77c5fa47600 746816 python2.7_2.7.3-11ubuntu1.diff.gz
Checksums-Sha256: 
 5f53e121d8549156075decd05c8fa3cab52e487544cbbacda6b35e4f7cf924b9 2400 python2.7_2.7.3-11ubuntu1.dsc
 fea1a0a9c8874ea4a46778abbfe97f4a328723f30f1681e90a75ece637c93109 746816 python2.7_2.7.3-11ubuntu1.diff.gz
Files: 
 5795f6a61f17eeee02e98702bcc3649e 2400 python optional python2.7_2.7.3-11ubuntu1.dsc
 a210f7930aee4fe3e69f5ce292e48f6a 746816 python optional python2.7_2.7.3-11ubuntu1.diff.gz
Original-Maintainer: Matthias Klose <doko at debian.org>

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlDGJgIACgkQStlRaw+TLJwhmQCghgb1FZQb0SiqjKHjqmFTqCf7
DA8An1BfxrYkT7nof0IB3NDMe+5NZlyf
=JNET
-----END PGP SIGNATURE-----


More information about the Raring-changes mailing list