Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add default value support to collections.namedtuple() #76501

Closed
rhettinger opened this issue Dec 14, 2017 · 2 comments
Closed

Add default value support to collections.namedtuple() #76501

rhettinger opened this issue Dec 14, 2017 · 2 comments
Labels
3.7 (EOL) end of life stdlib Python modules in the Lib dir

Comments

@rhettinger
Copy link
Contributor

BPO 32320
Nosy @rhettinger, @ilevkivskyi
PRs
  • bpo-32320: Add default value support to collections.namedtuple() #4859
  • 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 = None
    closed_at = <Date 2018-01-11.05:45:59.929>
    created_at = <Date 2017-12-14.08:44:35.051>
    labels = ['3.7', 'library']
    title = 'Add default value support to collections.namedtuple()'
    updated_at = <Date 2018-01-11.05:45:59.929>
    user = 'https://github.com/rhettinger'

    bugs.python.org fields:

    activity = <Date 2018-01-11.05:45:59.929>
    actor = 'rhettinger'
    assignee = 'none'
    closed = True
    closed_date = <Date 2018-01-11.05:45:59.929>
    closer = 'rhettinger'
    components = ['Library (Lib)']
    creation = <Date 2017-12-14.08:44:35.051>
    creator = 'rhettinger'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 32320
    keywords = ['patch']
    message_count = 2.0
    messages = ['308282', '309792']
    nosy_count = 2.0
    nosy_names = ['rhettinger', 'levkivskyi']
    pr_nums = ['4859']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue32320'
    versions = ['Python 3.7']

    @rhettinger
    Copy link
    Contributor Author

    Add default argument support and _fields_defaults attribute modeled after typing.NamedTuple.

    @rhettinger rhettinger added 3.7 (EOL) end of life stdlib Python modules in the Lib dir labels Dec 14, 2017
    @rhettinger
    Copy link
    Contributor Author

    New changeset 3948207 by Raymond Hettinger in branch 'master':
    bpo-32320: Add default value support to collections.namedtuple() (bpo-4859)
    3948207

    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.7 (EOL) end of life stdlib Python modules in the Lib dir
    Projects
    None yet
    Development

    No branches or pull requests

    1 participant