Skip to content

Backport: Mixing default keyword arguments with *args #46204

Closed

Description

@rhettinger
BPO 1909
Nosy @rhettinger, @terryjreedy, @pitrou, @tiran, @benjaminp, @ezio-melotti

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 2010-06-26.22:56:43.858>
created_at = <Date 2008-01-22.20:04:32.225>
labels = ['interpreter-core', 'type-feature']
title = 'Backport: Mixing default keyword arguments with *args'
updated_at = <Date 2010-06-26.22:56:43.856>
user = 'https://github.com/rhettinger'

bugs.python.org fields:

activity = <Date 2010-06-26.22:56:43.856>
actor = 'ezio.melotti'
assignee = 'none'
closed = True
closed_date = <Date 2010-06-26.22:56:43.858>
closer = 'ezio.melotti'
components = ['Interpreter Core']
creation = <Date 2008-01-22.20:04:32.225>
creator = 'rhettinger'
dependencies = []
files = []
hgrepos = []
issue_num = 1909
keywords = []
message_count = 10.0
messages = ['61530', '61534', '61535', '61536', '104446', '104447', '104450', '104461', '104462', '108756']
nosy_count = 6.0
nosy_names = ['rhettinger', 'terry.reedy', 'pitrou', 'christian.heimes', 'benjamin.peterson', 'ezio.melotti']
pr_nums = []
priority = 'normal'
resolution = 'out of date'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue1909'
versions = ['Python 2.7']

Activity

  1. rhettinger commented on Jan 22, 2008

    @rhettinger
    ContributorAuthor

    Need to backport Py3.0's functionality so that the following is valid
    syntax:

       def f(a, *args, v=None):
           . . .
  2. tiran commented on Jan 22, 2008

    @tiran
    Member

    Why have you assigned the bug to me? I ain't no grammar expert.

  3. rhettinger commented on Jan 22, 2008

    @rhettinger
    ContributorAuthor

    I mistakenly thought you had done this for Py3.0.

  4. tiran commented on Jan 22, 2008

    @tiran
    Member

    Raymond Hettinger wrote:

    Raymond Hettinger added the comment:

    I mistakenly thought you had done this for Py3.0.

    You're welcome, pal! :) I've created a backport of the kw only functions
    for 2.6 but that doesn't make me an expert on grammar.

  5. terryjreedy commented on Apr 28, 2010

    @terryjreedy
    Member

    Can this be closed as either fixed or out-or-date, as the case may be?

  6. rhettinger commented on Apr 28, 2010

    @rhettinger
    ContributorAuthor

    It should still be done if any one has the time.
    Guido approved it long ago.

  7. terryjreedy commented on Apr 28, 2010

    @terryjreedy
    Member

    Ok, I though 2.7 was in feature freeze.
    Updating version.

  8. pitrou commented on Apr 28, 2010

    @pitrou
    Member

    Besides someone having to produce the patch, it would also need the release manager's approval (Benjamin).

  9. benjaminp commented on Apr 28, 2010

    @benjaminp
    Contributor

    Wouldn't this imply a full backport of keyword only arguments? That seems unlikely at the moment.

  10. ezio-melotti commented on Jun 26, 2010

    @ezio-melotti
    Member

    Now it's too late for this. Closing as out of date.

  11. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)type-featureA feature request or enhancement

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions