[pypy-svn] r42000 - pypy/dist/pypy/lib
stephan at codespeak.net
stephan at codespeak.net
Thu Apr 12 10:51:30 CEST 2007
Author: stephan
Date: Thu Apr 12 10:51:29 2007
New Revision: 42000
Modified:
pypy/dist/pypy/lib/stackless.py
Log:
removed calls to super in tasklet.__new__ and tasklet.__init__
Modified: pypy/dist/pypy/lib/stackless.py
==============================================================================
--- pypy/dist/pypy/lib/stackless.py (original)
+++ pypy/dist/pypy/lib/stackless.py Thu Apr 12 10:51:29 2007
@@ -282,10 +282,10 @@
"""
tempval = None
def __new__(cls, func=None, label=''):
- return super(tasklet,cls).__new__(cls)
+ return coroutine.__new__(cls)
def __init__(self, func=None, label=''):
- super(tasklet, self).__init__()
+ coroutine.__init__(self)
self._init(func, label)
def _init(self, func=None, label=''):
More information about the Pypy-commit
mailing list