Skip to content

Conversation

@tacaswell
Copy link
Contributor

This expression is broken by:

bpo-32012: Disallow trailing comma after genexpr without
parenthesis.

python/cpython#4382
python/cpython@9165f77

def __name__(self):
try:
return '_of_'.join(
f.__name__ for f in reversed((self.first,) + self.funcs),
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can we just drop the comma instead?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done

This expression is broken by:

bpo-32012: Disallow trailing comma after genexpr without
parenthesis.

python/cpython#4382
python/cpython@9165f77
@tacaswell
Copy link
Contributor Author

I'm still waiting for my test env to rebuild locally....

@tacaswell
Copy link
Contributor Author

👍 installs locally. I think that the 3.7-dev env is an 'old' version of 3.7 as I get local test failures due to lacking introspection on breakpoint (a new built in function)

@eriknw
Copy link
Member

eriknw commented Dec 16, 2017

LGTM. Thanks, @tacaswell!

@eriknw eriknw merged commit 8da3058 into pytoolz:master Dec 16, 2017
@tacaswell tacaswell deleted the fix_37compat branch December 19, 2017 22:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants