[Python-Dev] 'with' bites Twisted

Grig Gheorghiu grig.gheorghiu at gmail.com
Thu Sep 7 17:34:17 CEST 2006


When the pybot buildslave for Twisted is trying to run the Twisted test
suite via 'trial', it gets an exception:

Traceback (most recent call last):
  File "/tmp/Twisted/bin/trial", line 23, in <module>
    from twisted.scripts.trial import run
  File "/tmp/Twisted/twisted/scripts/trial.py", line 10, in <module>
    from twisted.application import app
  File "/tmp/Twisted/twisted/application/app.py", line 10, in <module>
    from twisted.application import service
  File "/tmp/Twisted/twisted/application/service.py", line 20, in <module>
    from twisted.python import components
  File "/tmp/Twisted/twisted/python/components.py", line 37, in <module>
    from zope.interface.adapter import AdapterRegistry
  File "/tmp/python-buildbot/local/lib/python2.6/site-packages/zope/interface/adapter.py",
line 201
    for with, objects in v.iteritems():
           ^
SyntaxError: invalid syntax


So the culprit in this case is really zope.interface.

The full log is here:

http://www.python.org/dev/buildbot/community/all/x86%20RedHat%209%20trunk/builds/97/step-shell/0

Grig

-- 
http://agiletesting.blogspot.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.python.org/pipermail/python-dev/attachments/20060907/148dda2b/attachment.htm 


More information about the Python-Dev mailing list