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

ASF GitHub Bot commented on STORM-1360:
---------------------------------------

GitHub user ashnazg opened a pull request:

    https://github.com/apache/storm/pull/911

    STORM-1360:  storm.py issues with python 3

    This changes the "print" and "except" syntax usages such that they test 
fine for me on Python 2.6.6 (RHEL) and 3.5.0 (Win7).

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

    $ git pull https://github.com/ashnazg/storm python3

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

    https://github.com/apache/storm/pull/911.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 #911
    
----
commit 56b52a0e61d63bb5a9ea3e6d2c651d209bf889f8
Author: Chuck Burgess <[email protected]>
Date:   2015-12-02T14:14:49Z

    make 'print' work with python2 and 3;

commit e92f3a6e7a67f9c67c5fdb3f588a377a47a94213
Author: Chuck Burgess <[email protected]>
Date:   2015-12-02T14:15:11Z

    make 'except' work with python2 and 3;

----


> storm.py issues with python 3
> -----------------------------
>
>                 Key: STORM-1360
>                 URL: https://issues.apache.org/jira/browse/STORM-1360
>             Project: Apache Storm
>          Issue Type: Bug
>          Components: storm-multilang
>         Environment: Python 3.5.0
>            Reporter: Chuck Burgess
>            Assignee: Chuck Burgess
>            Priority: Minor
>
> Python 3.x doesn't like the "print without ()" and "except with comma" syntax.



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

Reply via email to