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

Ticket #776 (defect)

Opened 9 months ago

Last modified 9 months ago

CherryPy 3.1.0beta3 requires Python >=2.4

Status: closed (fixed)

Reported by: guest Assigned to: fumanchu
Priority: high Milestone: 3.1
Component: CherryPy code Keywords:
Cc:

_cpconfig.py at lines305 and 307 calls set([v]).

set([]) is only available in Python >= 2.4

_cpconfig.py should have the following added in the imports section:

try:
    set
except NameError:
    from sets import Set as set, ImmutableSet as frozenset

(stolen from Python in a Nutshell)

frozenset is not strictly necessary but will avoid accidental breakages in future.

Change History

01/21/08 11:13:10: Modified by fumanchu

  • owner changed from rdelon to fumanchu.
  • status changed from new to assigned.
  • description changed.

01/21/08 11:13:38: Modified by fumanchu

  • description changed.

01/27/08 19:54:25: Modified by fumanchu

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

Fixed in [1882].

Hosted by WebFaction

Log in as guest/cpguest to create tickets