[pypy-svn] r59475 - pypy/trunk/pypy/rlib
fijal at codespeak.net
fijal at codespeak.net
Tue Oct 28 14:39:59 CET 2008
Author: fijal
Date: Tue Oct 28 14:39:58 2008
New Revision: 59475
Modified:
pypy/trunk/pypy/rlib/rsocket.py
Log:
Move this method one level up. This silences last warning during annotation :)
Modified: pypy/trunk/pypy/rlib/rsocket.py
==============================================================================
--- pypy/trunk/pypy/rlib/rsocket.py (original)
+++ pypy/trunk/pypy/rlib/rsocket.py Tue Oct 28 14:39:58 2008
@@ -103,6 +103,11 @@
return rffi.cast(lltype.Ptr(TYPE), self.addr_p)
lock._annspecialcase_ = 'specialize:ll'
+ def lock_in_addr(self):
+ """ Purely abstract
+ """
+ raise NotImplementedError
+
def unlock(self):
"""To call after we're done with the pointer returned by lock().
Note that locking and unlocking costs nothing at run-time.
@@ -193,11 +198,6 @@
host, serv = getnameinfo(self, NI_NUMERICHOST | NI_NUMERICSERV)
return host
- def lock_in_addr(self):
- """ Purely abstract
- """
- raise NotImplementedError
-
# ____________________________________________________________
class INETAddress(IPAddress):
More information about the Pypy-commit
mailing list