Skip to content

FIX: compatibility with python3.7 #386

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

Merged
merged 3 commits into from
Dec 16, 2017
Merged

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

@@ -498,7 +498,7 @@ def composed_doc(*fs):
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