Message149025
perhaps you can subclass socket.socket and make a function wrapper around bind and connect that sets a variable if called
like:
class sock(socket.socket):
def bind(self,*args):
self.is_bound = True |
|
Date |
User |
Action |
Args |
2011-12-08 12:49:14 | Ramchandra Apte | set | recipients:
+ Ramchandra Apte, loewis, janssen, vila |
2011-12-08 12:49:13 | Ramchandra Apte | set | messageid: <1323348553.97.0.222619682687.issue1062@psf.upfronthosting.co.za> |
2011-12-08 12:49:13 | Ramchandra Apte | link | issue1062 messages |
2011-12-08 12:49:13 | Ramchandra Apte | create | |
|