klen/python-scss — Issue #16: Python 2.5 Incompatible
Author: pizzapanther
Created: 2011-10-13 22:22:12+00:00
State: open

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 "", line 1, in
File "scss/parser.py", line 9, in
from scss.base import Node, Empty, ParseNode, ContentNode, IncludeNode
File "scss/base.py", line 4, in
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 "", line 1, in
File "scss/parser.py", line 10, in
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 "", line 1, in
File "scss/parser.py", line 10, in
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
from scss.function import FUNCTION_LIST, unknown, warn
File "scss/function.py", line 7, in
from itertools import product
ImportError: cannot import name product