Skip to content

Return namedtuples from tokenize token generator #50107

@mallyvai

Description

@mallyvai
mannequin
BPO 5857
Nosy @birkenfeld, @rhettinger, @mallyvai, @superbobry
Files
  • mallyvai_tokenize.patch: Patch to decorate generate_tokens function in tokenize.py and return namedtuples.
  • tokenize.diff: Alternate 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/rhettinger'
    closed_at = <Date 2009-04-29.00:35:54.897>
    created_at = <Date 2009-04-27.20:26:54.965>
    labels = ['type-feature', 'library']
    title = 'Return namedtuples from tokenize token generator'
    updated_at = <Date 2021-03-11.11:09:22.631>
    user = 'https://github.com/mallyvai'

    bugs.python.org fields:

    activity = <Date 2021-03-11.11:09:22.631>
    actor = 'superbobry'
    assignee = 'rhettinger'
    closed = True
    closed_date = <Date 2009-04-29.00:35:54.897>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2009-04-27.20:26:54.965>
    creator = 'mallyvai'
    dependencies = []
    files = ['13797', '13799']
    hgrepos = []
    issue_num = 5857
    keywords = ['needs review']
    message_count = 7.0
    messages = ['86691', '86699', '86701', '86703', '86773', '86774', '388497']
    nosy_count = 4.0
    nosy_names = ['georg.brandl', 'rhettinger', 'mallyvai', 'superbobry']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'enhancement'
    url = 'https://bugs.python.org/issue5857'
    versions = ['Python 3.1', 'Python 2.7']

    Metadata

    Metadata

    Assignees

    Labels

    stdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions