> >The PROBLEM! : the value Movie.REGULAR etc are being treated as strings and >not int. >>> class Movie: REGULAR = 1 CHILDREN = 0 NEW_RELEASE = 2 def __init__(self,title,rating=REGULAR): self.title = title self.rating = eval(rating) >>> o = apply(Movie,("Shrek","Movie.CHILDREN")) >>> o.title 'Shrek' >>> o.rating 0 Kirby