Skip to content

dbshelve.py throws exception: AttributeError: 'DB' object has no attribute '__iter__' #52223

@adam-collard

Description

@adam-collard
BPO 7975
Nosy @rhettinger, @jcea, @bitdancer
Files
  • dbshelve_example.py: Simple example that generates traceback
  • dbshelve_dictmixin.patch
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/bitdancer'
    closed_at = <Date 2010-02-24.02:38:29.935>
    created_at = <Date 2010-02-21.15:44:15.653>
    labels = ['easy', 'type-bug', 'library']
    title = "dbshelve.py throws exception: AttributeError: 'DB' object has no attribute '__iter__'"
    updated_at = <Date 2010-03-18.19:50:02.358>
    user = 'https://bugs.python.org/adam-collard'

    bugs.python.org fields:

    activity = <Date 2010-03-18.19:50:02.358>
    actor = 'jcea'
    assignee = 'r.david.murray'
    closed = True
    closed_date = <Date 2010-02-24.02:38:29.935>
    closer = 'r.david.murray'
    components = ['Library (Lib)']
    creation = <Date 2010-02-21.15:44:15.653>
    creator = 'adam-collard'
    dependencies = []
    files = ['16280', '16284']
    hgrepos = []
    issue_num = 7975
    keywords = ['patch', 'easy']
    message_count = 8.0
    messages = ['99667', '99669', '99672', '99678', '99692', '99832', '99997', '101276']
    nosy_count = 4.0
    nosy_names = ['rhettinger', 'jcea', 'r.david.murray', 'adam-collard']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue7975'
    versions = ['Python 2.6', 'Python 2.7']

    Metadata

    Metadata

    Assignees

    Labels

    easystdlibStandard Library Python modules in the Lib/ directorytype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions