[Zope3-Users] Zope3-users Digest, Vol 71, Issue 6

Michael Howitz mh at gocept.com
Fri Oct 22 09:31:41 EDT 2010


Am 22.10.2010 um 13:47 schrieb david ally:
> Hi All,
> 
> Eventually, I was able to build the project, however, because of the speed of my Internet link, it was constantly timing out, but fortunately, when i restarted the build operation, it continued from where it stopped.
> 
> It got to a point where the build was still going but it gave this errors and continued the build operation. Please find below;
> 
> Got zope.tal 3.5.2.
> Getting distribution for 'RestrictedPython==3.6.0'.
> SyntaxError: ('invalid syntax', ('build/bdist.linux-i686/egg/RestrictedPython/tests/before_and_after27.py', 30, 17, '    x = {y: y for y in whatever if y}\n'))
> 
> SyntaxError: ('invalid syntax', ('build/bdist.linux-i686/egg/RestrictedPython/tests/security_in_syntax27.py', 6, 13, '    {y: y for _restricted_name in x}\n'))
> 
> SyntaxError: ('invalid syntax', ('/home/david/sampleproject/eggs/tmpwTJ7tk/RestrictedPython-3.6.0-py2.6.egg/RestrictedPython/tests/before_and_after27.py', 30, 17, '    x = {y: y for y in whatever if y}\n'))
> 
> SyntaxError: ('invalid syntax', ('/home/david/sampleproject/eggs/tmpwTJ7tk/RestrictedPython-3.6.0-py2.6.egg/RestrictedPython/tests/security_in_syntax27.py', 6, 13, '    {y: y for _restricted_name in x}\n'))

These errors only occur because there are tests for Python 2.7 syntax constructs which are not yet exising in the Python 2.6 you used. You can safely ignore this errors.

Mit freundlichen Grüßen
-- 
Michael Howitz · mh at gocept.com · software developer
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 8 · fax +49 345 1229889 1
Zope and Plone consulting and development



More information about the Zope3-users mailing list