Issue #1053 resolved

types.ClassType gone in Python 3

guest
created an issue

py3/cherrypy/_cpdispatch.py in 3.2.0 has on line 527:

if isinstance(controller, (type, types.ClassType)):

types.ClassType does not exist in Python 3, causing an AttributeError. This should just be, if I'm not mistaken,

if isinstance(controller, type):

Comments (2)

  1. Log in to comment