This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Ramchandra Apte
Recipients Ramchandra Apte, janssen, loewis, vila
Date 2011-12-08.12:49:13
SpamBayes Score 1.5592594e-05
Marked as misclassified No
Message-id <1323348553.97.0.222619682687.issue1062@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2011-12-08 12:49:14Ramchandra Aptesetrecipients: + Ramchandra Apte, loewis, janssen, vila
2011-12-08 12:49:13Ramchandra Aptesetmessageid: <1323348553.97.0.222619682687.issue1062@psf.upfronthosting.co.za>
2011-12-08 12:49:13Ramchandra Aptelinkissue1062 messages
2011-12-08 12:49:13Ramchandra Aptecreate