[ 
https://issues.apache.org/jira/browse/SERF-187?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Andreas Stieger resolved SERF-187.
----------------------------------
       Resolution: Fixed
         Assignee: Bert Huijben
    Fix Version/s: serf-trunk

Already fixed in trunk in 
[r1811083|http://svn.apache.org/viewvc?view=revision&revision=1811083], and 
proposed for backport to 1.3.x.

Fixed in scons itself in 
https://github.com/SConsProject/scons/commit/2e0de3c55f22b3eaa7767b69740b898f3d2f46bf


> calling print as a statement causes a SyntaxError if SCons v.3 is installed
> ---------------------------------------------------------------------------
>
>                 Key: SERF-187
>                 URL: https://issues.apache.org/jira/browse/SERF-187
>             Project: serf
>          Issue Type: Bug
>    Affects Versions: serf-1.3.9
>         Environment: Open embedded linux
>            Reporter: Jose Lamego
>            Assignee: Bert Huijben
>             Fix For: serf-trunk
>
>         Attachments: 
> 0001-fixing-print-statement-to-be-compatible-with-py3.patch
>
>
> Scons version 3 calls print as a function due to the use of "import _from 
> __future__ import print_function", so a SyntaxError is thrown when print is 
> called as a statement in SConstruct if said SCons version is installed.
> In the attached patch, I'm proposing modifying the print syntax to be 
> compatible with both python2 and python3.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to