[Bug 975676] Re: README.debug refers to nonexistent gdbinit (unless -dev is installed)

Launchpad Bug Tracker 975676 at bugs.launchpad.net
Thu Nov 29 04:42:49 UTC 2012


This bug was fixed in the package python2.7 - 2.7.3-5ubuntu5

---------------
python2.7 (2.7.3-5ubuntu5) raring; 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.
 -- Matthias Klose <doko at ubuntu.com>   Wed, 28 Nov 2012 13:49:46 +0100

** Changed in: python2.7 (Ubuntu)
       Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to python2.7 in Ubuntu.
https://bugs.launchpad.net/bugs/975676

Title:
  README.debug refers to nonexistent gdbinit (unless -dev is installed)

Status in “python2.7” package in Ubuntu:
  Fix Released

Bug description:
  The top of /usr/share/doc/python2.7-dbg/README.debug reads:

  """
  Contents of the python2.7-dbg package
  -------------------------------------

  For debugging python and extension modules, you may want to add the contents
  of /usr/share/doc/python2.7/gdbinit to your ~/.gdbinit file.
  """

  The gdbinit file is installed with the python2.7-dev package, which
  isn't clear from the above text, especially that it says "Contents of
  the python2.7-dbg package".  I would assume that installing the -dbg
  package would be sufficient.  Maybe add a note here or have -dbg
  depend upon -dev?

  Blair

  ProblemType: Bug
  DistroRelease: Ubuntu 12.04
  Package: python2.7-dbg 2.7.3~rc2-2ubuntu1
  ProcVersionSignature: Ubuntu 3.2.0-22.35-generic 3.2.14
  Uname: Linux 3.2.0-22-generic x86_64
  ApportVersion: 2.0-0ubuntu4
  Architecture: amd64
  Date: Fri Apr  6 19:21:39 2012
  InstallationMedia: Ubuntu 12.04 LTS "Precise Pangolin" - Alpha amd64 (20120122)
  ProcEnviron:
   SHELL=/bin/bash
   TERM=xterm
   PATH=(custom, user)
   LANG=en_US.UTF-8
  SourcePackage: python2.7
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python2.7/+bug/975676/+subscriptions




More information about the foundations-bugs mailing list