[CherryPy] #1094: setup.py errors on python 2.3.5

4 views
Skip to first unread message

CherryPy

unread,
Sep 12, 2011, 8:25:59 PM9/12/11
to cherrypy...@googlegroups.com
#1094: setup.py errors on python 2.3.5
---------------------------+------------------------------------------------
Reporter: guest | Owner: fumanchu
Type: defect | Status: new
Priority: normal | Milestone:
Component: CherryPy code | Keywords:
---------------------------+------------------------------------------------
so i hacked setup.py so it would work on python < 2.5 and then ran
setup.py but got errors due to the use of annotations:

byte-compiling /usr/lib/python2.3/site-packages/cherrypy/test/test_core.py
to test_core.pyc
File "/usr/lib/python2.3/site-packages/cherrypy/test/test_core.py", line
265
@cherrypy.tools.append_headers(header_list=[
^
SyntaxError: invalid syntax

byte-compiling /usr/lib/python2.3/site-
packages/cherrypy/test/_test_decorators.py to _test_decorators.pyc
File "/usr/lib/python2.3/site-
packages/cherrypy/test/_test_decorators.py", line 9
@expose
^
SyntaxError: invalid syntax

--
Ticket URL: <http://www.cherrypy.org/ticket/1094>
CherryPy <http://www.cherrypy.org>
CherryPy - a pythonic, object-oriented HTTP framework
Reply all
Reply to author
Forward
0 new messages