[issue18233] SSLSocket.getpeercertchain()

Antoine Pitrou report at bugs.python.org
Sun Nov 17 16:00:04 CET 2013


Antoine Pitrou added the comment:

@Dustin

> My two-cents is to leave it a tuple (why not?).

Because tuples are more used for struct-like data. Here we are returning an unknown number of homogenous objects, which generally calls for a list.

@Christian

> I'd rather return a list or tuple of X509 objects but #18369 won't be ready for 3.4. Ideas?

Unless the feature is really important to have right now, I think it's ok to defer it until we have X509 objects.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue18233>
_______________________________________


More information about the Python-bugs-list mailing list