psyco changes the return value of type()
walter at livinglogic.de
Thu Oct 17 11:27:50 CEST 2002
Xiao-Qin Xia wrote:
> Hi, there,
> psyco changes the return value of type():
> Obviously, type() has different return values, when psyco exists or not.
> That is really not so good news for codes need to run on different
> situation, with or without psyco. Any way to avoid this?
This is documented in
With Python 2.2, all classes defined after the line:
from psyco.classes import *
automatically become a new-style class; its methods and the methods of
the inheriting classes are all automatically bound.
More information about the Python-list