[pypy-commit] pypy default: Grumble.

arigo noreply at buildbot.pypy.org
Mon Aug 15 11:10:46 CEST 2011


Author: Armin Rigo <arigo at tunes.org>
Branch: 
Changeset: r46516:af690ea765e2
Date: 2011-08-15 09:12 +0000
http://bitbucket.org/pypy/pypy/changeset/af690ea765e2/

Log:	Grumble.

diff --git a/pypy/module/_ssl/interp_ssl.py b/pypy/module/_ssl/interp_ssl.py
--- a/pypy/module/_ssl/interp_ssl.py
+++ b/pypy/module/_ssl/interp_ssl.py
@@ -142,6 +142,7 @@
                                      '__del__() method of ')
 
     def destructor(self):
+        assert isinstance(self, SSLObject)
         if self.peer_cert:
             libssl_X509_free(self.peer_cert)
         if self.ssl:


More information about the pypy-commit mailing list