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

Bug #975676 reported by Blair Zajac
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
python2.7 (Ubuntu)
Fix Released
Undecided
Unassigned

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)

Revision history for this message
Blair Zajac (blair) wrote :
Revision history for this message
Launchpad Janitor (janitor) wrote :
Download full text (9.8 KiB)

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...

Changed in python2.7 (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.