Skip to content
  • Erik Selin's avatar
    e4e0b3f7
    [SPARK-12268][PYSPARK] Make pyspark shell pythonstartup work under python3 · e4e0b3f7
    Erik Selin authored
    This replaces the `execfile` used for running custom python shell scripts
    with explicit open, compile and exec (as recommended by 2to3). The reason
    for this change is to make the pythonstartup option compatible with python3.
    
    Author: Erik Selin <erik.selin@gmail.com>
    
    Closes #10255 from tyro89/pythonstartup-python3.
    e4e0b3f7
    [SPARK-12268][PYSPARK] Make pyspark shell pythonstartup work under python3
    Erik Selin authored
    This replaces the `execfile` used for running custom python shell scripts
    with explicit open, compile and exec (as recommended by 2to3). The reason
    for this change is to make the pythonstartup option compatible with python3.
    
    Author: Erik Selin <erik.selin@gmail.com>
    
    Closes #10255 from tyro89/pythonstartup-python3.
Loading