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

Evaluation order example lacks suffix #47769

Closed
terryjreedy opened this issue Aug 7, 2008 · 2 comments
Closed

Evaluation order example lacks suffix #47769

terryjreedy opened this issue Aug 7, 2008 · 2 comments
Assignees
Labels
docs Documentation in the Doc dir

Comments

@terryjreedy
Copy link
Member

BPO 3519
Nosy @birkenfeld, @terryjreedy

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/birkenfeld'
closed_at = <Date 2008-08-08.06:42:29.993>
created_at = <Date 2008-08-07.21:53:16.272>
labels = ['docs']
title = 'Evaluation order example lacks suffix'
updated_at = <Date 2008-08-08.06:42:29.900>
user = 'https://github.com/terryjreedy'

bugs.python.org fields:

activity = <Date 2008-08-08.06:42:29.900>
actor = 'georg.brandl'
assignee = 'georg.brandl'
closed = True
closed_date = <Date 2008-08-08.06:42:29.993>
closer = 'georg.brandl'
components = ['Documentation']
creation = <Date 2008-08-07.21:53:16.272>
creator = 'terry.reedy'
dependencies = []
files = []
hgrepos = []
issue_num = 3519
keywords = []
message_count = 2.0
messages = ['70864', '70882']
nosy_count = 2.0
nosy_names = ['georg.brandl', 'terry.reedy']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = None
url = 'https://bugs.python.org/issue3519'
versions = ['Python 2.6', 'Python 2.5', 'Python 3.0']

@terryjreedy
Copy link
Member Author

Language reference/ Expressions/ Evaluation order
...
In the following lines, expressions will be evaluated in the arithmetic
order of their suffixes:
...
func(expr1, expr2, *expr3, **expr4)

The omission of a suffix from the function expression could imply that
such are somehow not included in the left-to-right rule. Suggest
'func0', 'f_expr0', 'func_expr0' or just 'expr0' possibly renumbered from 1.

expr1(expr2, expr3, *expr4, **expr5)
is probably most consistent with other examples.

@terryjreedy terryjreedy added the docs Documentation in the Doc dir label Aug 7, 2008
@birkenfeld
Copy link
Member

Thanks, fixed in r65591.

@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
docs Documentation in the Doc dir
Projects
None yet
Development

No branches or pull requests

2 participants