[ 
https://issues.apache.org/jira/browse/SPARK-15902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15327723#comment-15327723
 ] 

Krishna Kalyan commented on SPARK-15902:
----------------------------------------

Hi [~holdenk],
I have some questions, where do I add this warning? [here 
below](https://github.com/apache/spark/blob/master/python/pyspark/context.py)
I need to add something like  
{code}
if sys.version < 2.6:
            warnings.warn("Deprecated in 2.1.0. Use Python 2.7+ instead", 
DeprecationWarning)
{code}
Thanks

> Add a deprecation warning for Python 2.6
> ----------------------------------------
>
>                 Key: SPARK-15902
>                 URL: https://issues.apache.org/jira/browse/SPARK-15902
>             Project: Spark
>          Issue Type: Sub-task
>          Components: PySpark
>            Reporter: holdenk
>            Priority: Minor
>
> As we move to Python 2.7+ in Spark 2.1+ it would be good to add a deprecation 
> warning if we detect we are running in Python 2.6.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

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

Reply via email to