Date: Wed, 28 Jul 2010 10:08:49 -0700 From: Chuck Swiger <cswiger@mac.com> To: David Southwell <david@vizion2000.net> Cc: freebsd-ports@freebsd.org Subject: Re: net-im/telepathy-haze Build fail Message-ID: <BA37D8D2-6369-4041-8D02-C5C62E97A420@mac.com> In-Reply-To: <201007281800.47169.david@vizion2000.net> References: <201007281800.47169.david@vizion2000.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Jul 28, 2010, at 10:00 AM, David Southwell wrote: > This is a python error. Is anyone sufficiently familiar with python to take a > look at tools/glib-signals-marshall-gen.py. > Is all the code in that script strict enough for python 3. No, that script contains syntax that doesn't work with Python 3: > File "../tools/glib-signals-marshal-gen.py", line 49 > print 'VOID:' + ','.join(rhs) > ^ > SyntaxError: invalid syntax See: http://docs.python.org/release/3.0.1/whatsnew/3.0.html#print-is-a-function This one change alone is so fundamental that you should assume that almost no python-2 code will run under python-3 without changes.... Regards, -- -Chuck
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BA37D8D2-6369-4041-8D02-C5C62E97A420>