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

Backport: Mixing default keyword arguments with *args #46204

Closed
rhettinger opened this issue Jan 22, 2008 · 10 comments
Closed

Backport: Mixing default keyword arguments with *args #46204

rhettinger opened this issue Jan 22, 2008 · 10 comments
Labels
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement

Comments

@rhettinger
Copy link
Contributor

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']

@rhettinger
Copy link
Contributor Author

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

   def f(a, *args, v=None):
       . . .

@rhettinger rhettinger added the interpreter-core (Objects, Python, Grammar, and Parser dirs) label Jan 22, 2008
@tiran
Copy link
Member

tiran commented Jan 22, 2008

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

@rhettinger
Copy link
Contributor Author

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

@tiran
Copy link
Member

tiran commented Jan 22, 2008

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.

@terryjreedy
Copy link
Member

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

@rhettinger
Copy link
Contributor Author

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

@terryjreedy
Copy link
Member

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

@pitrou
Copy link
Member

pitrou commented Apr 28, 2010

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

@benjaminp
Copy link
Contributor

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

@ezio-melotti
Copy link
Member

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

@ezio-melotti ezio-melotti added the type-feature A feature request or enhancement label Jun 26, 2010
@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
interpreter-core (Objects, Python, Grammar, and Parser dirs) type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

6 participants