GitHub user cclauss opened a pull request:

    https://github.com/apache/spark/pull/21702

    [SPARK-23698] Remove raw_input() from Python 2

    Signed-off-by: cclauss <ccla...@bluewin.ch>
    
    ## What changes were proposed in this pull request?
    
    Humans will be able to enter text in Python 3 prompts which they can not do 
today.
    The Python builtin __raw_input()__ was removed in Python 3 in favor of 
__input()__.  This PR does the same thing in Python 2.
    
    ## How was this patch tested?
    
    (Please explain how this patch was tested. E.g. unit tests, integration 
tests, manual tests)
    (If this patch involves UI changes, please attach a screenshot; otherwise, 
remove this)
    flake8 testing
    
    Please review http://spark.apache.org/contributing.html before opening a 
pull request.


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

    $ git pull https://github.com/cclauss/spark python-fix-raw_input

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

    https://github.com/apache/spark/pull/21702.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 #21702
    
----
commit 960769a735933d58d136ea068954ad83d4731b10
Author: cclauss <cclauss@...>
Date:   2018-07-03T07:10:46Z

    [SPARK-23698] Remove raw_input() from Python 2
    
    Signed-off-by: cclauss <ccla...@bluewin.ch>

----


---

---------------------------------------------------------------------
To unsubscribe, e-mail: reviews-unsubscr...@spark.apache.org
For additional commands, e-mail: reviews-h...@spark.apache.org

Reply via email to