Skip to content

[ZEPPELIN-1287][branch-0.6] No need to call print to display output in PythonInterpreter#1320

Closed
minahlee wants to merge 2 commits intoapache:branch-0.6from
minahlee:branch-0.6_ZEPPELIN-1287
Closed

[ZEPPELIN-1287][branch-0.6] No need to call print to display output in PythonInterpreter#1320
minahlee wants to merge 2 commits intoapache:branch-0.6from
minahlee:branch-0.6_ZEPPELIN-1287

Conversation

@minahlee
Copy link
Member

What is this PR for?

Implement #1278 to merge branch-0.6

What type of PR is it?

Bug Fix

What is the Jira issue?

ZEPPELIN-1287

Questions:

  • Does the licenses files need update? no
  • Is there breaking changes for older versions? no
  • Does this needs documentation? no

@minahlee
Copy link
Member Author

\cc @zjffdu for review

@bzz
Copy link
Member

bzz commented Aug 11, 2016

@minahlee I think we also need to set appropriate "fix for" versions in JIRA before merging #1278 otherwise it will be very hard for you, as release manager, to figure out changelog and attributions may get lost.

I have updated current one to both 0.7.0 for master and 0.6.1 for branch-0.6

LGTM

@minahlee
Copy link
Member Author

@bzz Thanks for taking care of JIRA issue!

@minahlee minahlee closed this Aug 11, 2016
@minahlee minahlee reopened this Aug 11, 2016
@minahlee minahlee closed this Aug 11, 2016
@minahlee minahlee reopened this Aug 11, 2016
// possible that the output contains the kind of pattern itself, e.g. print("...")
result = new InterpreterResult(Code.SUCCESS, output.replaceAll("\\.\\.\\.", ""));
return result;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

return it directly ?

return new InterpreterResult(Code.SUCCESS, output.replaceAll("\\.\\.\\.", ""));

@zjffdu
Copy link
Contributor

zjffdu commented Aug 12, 2016

Just one minor code style issue, rest LGTM, Thanks @minahlee for taking over this.

@minahlee
Copy link
Member Author

@zjffdu Thanks for review!
Merge if there is no more discussion

asfgit pushed a commit that referenced this pull request Aug 12, 2016
…n PythonInterpreter

### What is this PR for?
Implement #1278 to merge branch-0.6

### What type of PR is it?
Bug Fix

### What is the Jira issue?
[ZEPPELIN-1287](https://issues.apache.org/jira/browse/ZEPPELIN-1287)

### Questions:
* Does the licenses files need update? no
* Is there breaking changes for older versions? no
* Does this needs documentation? no

Author: Mina Lee <minalee@apache.org>

Closes #1320 from minahlee/branch-0.6_ZEPPELIN-1287 and squashes the following commits:

f99f8aa [Mina Lee] return result directly
ac83b14 [Mina Lee] No need to call print to display output in PythonInterpreter
@minahlee minahlee closed this Aug 12, 2016
@minahlee minahlee deleted the branch-0.6_ZEPPELIN-1287 branch August 12, 2016 07:26
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

Comments