GitHub user zjffdu reopened a pull request:

    https://github.com/apache/zeppelin/pull/1278

    ZEPPELIN-1287. No need to call print to display output in PythonInterpreter

    ### What is this PR for?
    It is not necessary to call print to display output in PythonInterpreter. 2 
main changes:
    * the root cause is the displayhook in bootstrap.py
    * also did some code refactoring on PythonInterpreter
    
    
    ### What type of PR is it?
    [Bug Fix]
    
    ### Todos
    * [ ] - Task
    
    ### What is the Jira issue?
    * https://issues.apache.org/jira/browse/ZEPPELIN-1287
    
    ### How should this be tested?
    Verify it manually
    
    ### Screenshots (if appropriate)
    
![2016-08-04_1404](https://cloud.githubusercontent.com/assets/164491/17392006/090279d2-5a4d-11e6-840b-4cddb595a42e.png)
    
    ### Questions:
    * Does the licenses files need update? No
    * Is there breaking changes for older versions? No
    * Does this needs documentation? No


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/zjffdu/zeppelin ZEPPELIN-1287

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/zeppelin/pull/1278.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #1278
    
----
commit 0eade713f1609c77518e19bec2c8750bc3447367
Author: Jeff Zhang <zjf...@apache.org>
Date:   2016-08-04T06:05:22Z

    ZEPPELIN-1287. No need to call print to display output in PythonInterpreter

commit 3e9f1699ee77b1a3b38ee5fef168d82d470831af
Author: Jeff Zhang <zjf...@apache.org>
Date:   2016-08-04T12:19:41Z

    address comments

commit b48b56fbe68dfd3e3a20a71babac72ada52c02d8
Author: Jeff Zhang <zjf...@apache.org>
Date:   2016-08-08T00:40:46Z

    fix unit test fail

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastruct...@apache.org or file a JIRA ticket
with INFRA.
---

Reply via email to