Since 'as' is a reserved word in Python 2.6, using it as a variable
yields the above syntax error. The attached patch renames the variable
to 'as_' (attaching a simple underscore as is common to resolve such
conflicts). Patch is untested though (ran out of time). If someone from
upstream could review this patch that'd be good.

** Attachment added: "pydoctor_py2.6_reserved_keyword_used_fix.diff"
   
http://launchpadlibrarian.net/26092431/pydoctor_py2.6_reserved_keyword_used_fix.diff

-- 
SyntaxError installing python-support rebuilding pydoctor
https://bugs.launchpad.net/bugs/338111
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to