From mboxrd@z Thu Jan 1 00:00:00 1970 From: Jeroen Hofstee Date: Mon, 30 Sep 2013 21:06:08 +0200 Subject: [U-Boot] : buildman error In-Reply-To: References: <5249C35C.2090500@myspectrum.nl> Message-ID: <5249CBA0.1000706@myspectrum.nl> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On 09/30/2013 08:55 PM, Jagan Teki wrote: > I think print is now required to be a function, so print(result). We > may need to adjust the code... >>> Does this print func chage with new python versions? >>> >> yes, since python 3 it needs brackets. > If we fix this, is it compatible for lower versions? > jeroen at black:~$ python Python 2.7.4 (default, Apr 19 2013, 18:28:01) [GCC 4.7.3] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> print("bla") bla >>> exit() nope, but someone will have to check complete python 3 compatibility, I doubt this is the only problem, just the first one. Regards, Jeroen