Skip to content

inspect.findsource raises undocumented error for code objects with empty filename #61728

@NilsBruin

Description

@NilsBruin
mannequin
BPO 17526
Nosy @ezio-melotti, @bitdancer, @t8y8
Files
  • 17526_getsource.patch: Patch and unittest
  • 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/ezio-melotti'
    closed_at = <Date 2013-03-30.03:21:15.079>
    created_at = <Date 2013-03-23.02:03:59.259>
    labels = ['easy', 'type-bug', 'library']
    title = 'inspect.findsource raises undocumented error for code objects with empty filename'
    updated_at = <Date 2013-03-30.03:21:15.072>
    user = 'https://bugs.python.org/NilsBruin'

    bugs.python.org fields:

    activity = <Date 2013-03-30.03:21:15.072>
    actor = 'ezio.melotti'
    assignee = 'ezio.melotti'
    closed = True
    closed_date = <Date 2013-03-30.03:21:15.079>
    closer = 'ezio.melotti'
    components = ['Library (Lib)']
    creation = <Date 2013-03-23.02:03:59.259>
    creator = 'Nils.Bruin'
    dependencies = []
    files = ['29591']
    hgrepos = []
    issue_num = 17526
    keywords = ['patch', 'easy']
    message_count = 7.0
    messages = ['185025', '185153', '185190', '185219', '185257', '185537', '185538']
    nosy_count = 5.0
    nosy_names = ['ezio.melotti', 'r.david.murray', 'python-dev', 'Nils.Bruin', 'T8y8']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'behavior'
    url = 'https://bugs.python.org/issue17526'
    versions = ['Python 2.7', 'Python 3.3', 'Python 3.4']

    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