Skip to content

Give SyntaxError for naked return in timeit #10637

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 1 commit into from
Jun 2, 2017
Merged

Conversation

takluyver
Copy link
Member

We were missing invalid syntax because we put the code into a function before compiling it, leading to confusing error messages.

Closes gh-10636

We were missing invalid syntax because we put the code into a function
before compiling it, leading to confusing error messages.

Closes ipythongh-10636
@takluyver takluyver added this to the 5.5 milestone Jun 2, 2017
@Carreau Carreau merged commit 2065cc7 into ipython:master Jun 2, 2017
@Carreau
Copy link
Member

Carreau commented Jun 2, 2017

@meeseeksdev backport

@lumberbot-app
Copy link
Contributor

lumberbot-app bot commented Jun 2, 2017

Oops, something went wrong applying the patch... Please have a look at my logs.

@Carreau
Copy link
Member

Carreau commented Jun 2, 2017

@meeseeksdev backport

(just testing it will fail but should apply a needs manual backport label)

@lumberbot-app
Copy link
Contributor

lumberbot-app bot commented Jun 2, 2017

There seem to be a conflict, please backport manually

@lumberbot-app lumberbot-app bot added the Still Needs Manual Backport Added My MrMeeseeks when a backport fails. Help by backporting it, solving conflicts, send PR. label Jun 2, 2017
Carreau added a commit to Carreau/ipython that referenced this pull request Jul 20, 2017
Give SyntaxError for naked return in timeit
Carreau added a commit that referenced this pull request Jul 20, 2017
@Carreau Carreau added backported PR that have been backported by MrMeeseeks and removed Still Needs Manual Backport Added My MrMeeseeks when a backport fails. Help by backporting it, solving conflicts, send PR. labels Sep 13, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backported PR that have been backported by MrMeeseeks
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants