Github user vanzin commented on a diff in the pull request:

    https://github.com/apache/spark/pull/6203#discussion_r30454615
  
    --- Diff: python/pyspark/context.py ---
    @@ -173,6 +173,7 @@ def _do_init(self, master, appName, sparkHome, pyFiles, 
environment, batchSize,
                 self._jvm.PythonAccumulatorParam(host, port))
     
             self.pythonExec = os.environ.get("PYSPARK_PYTHON", 'python')
    +        self.pythonVer = sys.version_info.major * 10 + 
sys.version_info.minor
    --- End diff --
    
    Probably not a huge deal, but it might be better to pass major and minor as 
separate parameters. You know, in case python 2.10 ever comes out. :-)
    
    Or, at least, use a larger multiplier.


---
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 [email protected] or file a JIRA ticket
with INFRA.
---

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to