Download Install Tutorial Docs FAQ Tools WikiLicense Team IRC Planet Involvement Shop Book

Ticket #315 (defect)

Opened 3 years ago

Last modified 3 years ago

Install fails with Python 2.3

Status: closed (fixed)

Reported by: pythonic@gmail.com Assigned to: rdelon
Priority: high Milestone: 2.1-rc2
Component: CherryPy code Keywords: python 2.3
Cc:

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 .

Change History

09/21/05 02:50:43: Modified by rdelon

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

09/23/05 17:09:28: Modified by fumanchu

Fixed in [673]

09/23/05 17:10:39: Modified by fumanchu

  • status changed from new to closed.
  • resolution set to fixed.

Hosted by WebFaction

Log in as guest/cpguest to create tickets