Sándor Kazi created SPARK-13240:
-----------------------------------
Summary: Having print in assigments (Python 3) causes SyntaxError
Key: SPARK-13240
URL: https://issues.apache.org/jira/browse/SPARK-13240
Project: Spark
Issue Type: Bug
Components: PySpark
Affects Versions: 1.6.0
Environment: Ubuntu 14.04 LTS
Python 3.5.1 |Continuum Analytics, Inc.| (default, Dec 7 2015, 11:16:01)
Reporter: Sándor Kazi
Priority: Minor
f = print
It is syntactically OK to include this line of code in Python 3.5.1, but it
raises a runtime SyntaxError when used with the Spark Python API.
This behaviour is possibly connected to the fact that print is a statement in
Python 2 but not in Python 3... so it might as well impact other things as it
is a parsing problem of the print statement (?).
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]