Re: IMAP4_SSL and OpenSSL compatibility

Discussion in 'Python' started by Antoine Pitrou, Mar 1, 2013.

  1. W. Martin Borgert <debacle <at> debian.org> writes:
    > >
    > > There is already the ssl_context option for that:
    > > http://docs.python.org/3.3/library/imaplib.html#imaplib.IMAP4_SSL

    >
    > Many thanks! Two more questions:
    >
    > 1. Is there any plan to backport this Python >= 3.3 feature to
    > Python 2?


    No, we don't backport new features to maintenance releases.

    > 2. Would the following lines be correct for Python 3.3?
    >
    > >>> import imaplib
    > >>> IMAP4_SSL("192.168.1.1.", ssl_context =

    > SSLContext(ssl.PROTOCOL_SSLv3))


    It should be, yes.

    Regards

    Antoine.
     
    Antoine Pitrou, Mar 1, 2013
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Andrea Gavana
    Replies:
    1
    Views:
    3,086
    litrush
    Aug 11, 2011
  2. Redd Vinylene
    Replies:
    6
    Views:
    312
    Jakub Pawlowicz
    Nov 18, 2008
  3. W. Martin Borgert

    IMAP4_SSL and OpenSSL compatibility

    W. Martin Borgert, Feb 25, 2013, in forum: Python
    Replies:
    0
    Views:
    145
    W. Martin Borgert
    Feb 25, 2013
  4. Antoine Pitrou

    Re: IMAP4_SSL and OpenSSL compatibility

    Antoine Pitrou, Feb 26, 2013, in forum: Python
    Replies:
    0
    Views:
    96
    Antoine Pitrou
    Feb 26, 2013
  5. W. Martin Borgert

    Re: IMAP4_SSL and OpenSSL compatibility

    W. Martin Borgert, Feb 26, 2013, in forum: Python
    Replies:
    1
    Views:
    93
    Matej Cepl
    Mar 1, 2013
Loading...

Share This Page