[Scons-dev] Why we need to release separate SCons3 for Python 3
Gary Oberbrunner
garyo at oberbrunner.com
Fri Feb 22 18:22:23 EST 2013
On Fri, Feb 22, 2013 at 5:53 PM, anatoly techtonik <techtonik at gmail.com>wrote:
> On Fri, Feb 22, 2013 at 9:42 PM, Russel Winder <russel at winder.org.uk>wrote:
>
>> On Fri, 2013-02-22 at 18:10 +0300, anatoly techtonik wrote:
>> […]
>> > Every construct of Python 2.x that is not compatible with Python 3 will
>> > give errors - print statements is the most obvious.
>>
>> Not entirely true. print statements/function calls call be written to
>> be Python 2 and Python 3 compliant, or:
>>
>> from __future__ import print_function
>>
>
> You misused the context. It is not about using print("") in Python 2 - it
> is about using print "" in Python 3, which is just what happen when users
> will try to use old SConstruct files with Python 3.
>
Oh, well sure. Of course people have to port all their python code to
python3 before they switch to using python3, and that includes SConstructs
and all related files. I thought you were talking about something much
more serious than that.
--
Gary
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://two.pairlist.net/pipermail/scons-dev/attachments/20130222/de45f908/attachment.htm>
More information about the Scons-dev
mailing list