[issue21068] Make ssl.PROTOCOL_* an enum

2014-04-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Ok, since this is a low-risk change I've made it anyway. -- resolution: -> fixed stage: patch review -> committed/rejected status: open -> closed ___ Python tracker __

[issue21068] Make ssl.PROTOCOL_* an enum

2014-04-18 Thread Roundup Robot
Roundup Robot added the comment: New changeset f776771ab0ee by Antoine Pitrou in branch 'default': Issue #21068: The ssl.PROTOCOL* constants are now enum members. http://hg.python.org/cpython/rev/f776771ab0ee -- nosy: +python-dev ___ Python tracker <

[issue21068] Make ssl.PROTOCOL_* an enum

2014-04-16 Thread Ethan Furman
Ethan Furman added the comment: Looks good to me. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21068] Make ssl.PROTOCOL_* an enum

2014-04-16 Thread Antoine Pitrou
Antoine Pitrou added the comment: Anyone else has an opinion on this? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsu

[issue21068] Make ssl.PROTOCOL_* an enum

2014-03-28 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Possibly it should be done for all ssl APIs returning a constant. Are there > others? There's SSLContext.verify_mode, but it simply mirrors the configuration chosen by the user. -- ___ Python tracker

[issue21068] Make ssl.PROTOCOL_* an enum

2014-03-25 Thread Giampaolo Rodola'
Giampaolo Rodola' added the comment: I like this. Possibly it should be done for all ssl APIs returning a constant. Are there others? -- ___ Python tracker ___ _

[issue21068] Make ssl.PROTOCOL_* an enum

2014-03-25 Thread Donald Stufft
Donald Stufft added the comment: Ah, sure it'd probably be useful in that context. -- ___ Python tracker ___ ___ Python-bugs-list mail

[issue21068] Make ssl.PROTOCOL_* an enum

2014-03-25 Thread Antoine Pitrou
Antoine Pitrou added the comment: It may be useful in relation with issue20421, since we could then return one of the enum values (not PROTOCOL_SSLv23, of course). -- ___ Python tracker ___

[issue21068] Make ssl.PROTOCOL_* an enum

2014-03-25 Thread Donald Stufft
Donald Stufft added the comment: I don't really feel real strongly one way or another about this patch fwiw. Not sure it makes anything easier but I don't think it makes anything harder either. -- ___ Python tracker

[issue21068] Make ssl.PROTOCOL_* an enum

2014-03-25 Thread Ethan Furman
Changes by Ethan Furman : -- nosy: +ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue21068] Make ssl.PROTOCOL_* an enum

2014-03-25 Thread Antoine Pitrou
New submission from Antoine Pitrou: Small patch to make PROTOCOL_SSLv23 and friends enum members. Not sure this is useful. -- components: Library (Lib) files: sslproto_enum.patch keywords: patch messages: 214865 nosy: christian.heimes, dstufft, giampaolo.rodola, janssen, pitrou priority