Skip to content
This repository has been archived by the owner on Jul 9, 2020. It is now read-only.

Python 2.5 Incompatible #16

Closed
pizzapanther opened this issue Oct 13, 2011 · 1 comment
Closed

Python 2.5 Incompatible #16

pizzapanther opened this issue Oct 13, 2011 · 1 comment

Comments

@pizzapanther
Copy link
Contributor

Tried to use with Python 2.5 on Google App Engine and got the following errors. Submitting a patch soon.

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "scss/parser.py", line 9, in <module>
    from scss.base import Node, Empty, ParseNode, ContentNode, IncludeNode
  File "scss/base.py", line 4, in <module>
    class Node(object):
  File "scss/base.py", line 40, in Node
    @ctx.setter
AttributeError: 'property' object has no attribute 'setter'

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "scss/parser.py", line 10, in <module>
    from scss.control import Variable, Expression, Function, Mixin, Include, MixinParam, Extend, Variables, Option, FunctionDefinition, FunctionReturn, If, For, SepValString
  File "scss/control.py", line 87
    return func(*params, root=self.root, name=name)
                            ^
SyntaxError: invalid syntax

Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "scss/parser.py", line 10, in <module>
    from scss.control import Variable, Expression, Function, Mixin, Include, MixinParam, Extend, Variables, Option, FunctionDefinition, FunctionReturn, If, For, SepValString
  File "scss/control.py", line 3, in <module>
    from scss.function import FUNCTION_LIST, unknown, warn
  File "scss/function.py", line 7, in <module>
    from itertools import product
ImportError: cannot import name product
pizzapanther added a commit to pizzapanther/python-scss that referenced this issue Oct 13, 2011
@klen
Copy link
Owner

klen commented Oct 14, 2011

Thanks! Version 0.8.70 on pypi.

@klen klen closed this as completed Oct 14, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants