Install fails with Python 2.3

Anonymous avatarAnonymous created an issue

CherryPy 2.1 is supposed to be compatible with Python 2.3 as per http://www.cherrypy.org/file/tags/cherrypy-2.1.0-rc1/README.txt .

Install on a box with Python 2.3 fails with following error

byte-compiling /usr/lib/python2.3/site-packages/cherrypy/test/cp_decorator_tests.py to cp_decorator_tests.pyc
  File "/usr/lib/python2.3/site-packages/cherrypy/test/cp_decorator_tests.py", line 4
    @cherrypy.expose("1")
    ^
SyntaxError: invalid syntax

Work-around: Delete file cherrypy/test/cp_decorator_tests.py before beginning install.

I hope cherrypy will continue supporting Python2.3. We have taken serious business decision to use CherryPy in our product and 2.3 compatibility was one of the assumptions based on Prerequisites mentioned at http://www.cherrypy.org/wiki/CherryPyInstall .

Reported by pythonic@gmail.com

Comments (3)

  1. Anonymous

    I'll look into this issue later but I can already assure you that CP will definitely support Python-2.3

  2. Log in to comment
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.