Small problem with Psyco
bearophileHUGS at lycos.com
bearophileHUGS at lycos.com
Fri Dec 5 09:52:11 EST 2008
I post it here because I am using a Psyco version that was compiled by
people here.
I am using Python 2.6.1, on Win, with Psyco (1, 6, 0, 'final', 0).
This minimized code:
from psyco.classes import psyobj
class Bar(psyobj):
def __init__(self, baz):
pass
b = Bar(0)
Produces:
C:\...\test.py:5: DeprecationWarning: object.__new__() takes no
parameters
b = Bar(0)
Bye,
bearophile
More information about the Python-list
mailing list