[Bug 884633] [NEW] ConfigParser._Chainmap error in Python 2.7

Gabe Van Engel 884633 at bugs.launchpad.net
Tue Nov 1 08:00:13 UTC 2011


Public bug reported:

There is a period missing when attempting to retrieve the _maps property
in ConfigParser._Chainmap.keys.

Related bug report:
http://mail.python.org/pipermail/python-bugs-list/2011-August/145341.html

Release: 
Ubuntu 11.04

Package Version: python2.7-minimal:
  Installed: 2.7.1-5ubuntu2
  Candidate: 2.7.1-5ubuntu2
  Version table:
 *** 2.7.1-5ubuntu2 0
        500 http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
        100 /var/lib/dpkg/status

Error:
NameError: global name 'self_maps' is not defined

Patch:
/usr/lib/python2.7/ConfigParser.py
573c573
<         for mapping in self_maps:
---
>         for mapping in self._maps:

** Affects: python2.7 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
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/884633

Title:
  ConfigParser._Chainmap error in Python 2.7

Status in “python2.7” package in Ubuntu:
  New

Bug description:
  There is a period missing when attempting to retrieve the _maps
  property in ConfigParser._Chainmap.keys.

  Related bug report:
  http://mail.python.org/pipermail/python-bugs-list/2011-August/145341.html

  Release: 
  Ubuntu 11.04

  Package Version: python2.7-minimal:
    Installed: 2.7.1-5ubuntu2
    Candidate: 2.7.1-5ubuntu2
    Version table:
   *** 2.7.1-5ubuntu2 0
          500 http://us.archive.ubuntu.com/ubuntu/ natty/main amd64 Packages
          100 /var/lib/dpkg/status

  Error:
  NameError: global name 'self_maps' is not defined

  Patch:
  /usr/lib/python2.7/ConfigParser.py
  573c573
  <         for mapping in self_maps:
  ---
  >         for mapping in self._maps:

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




More information about the foundations-bugs mailing list