1. 23 Şub, 2008 1 kayıt (commit)
  2. 17 Ock, 2008 2 kayıt (commit)
  3. 10 Eyl, 2007 1 kayıt (commit)
    • Bill Janssen's avatar
      More work on SSL support. · 98d19daf
      Bill Janssen yazdı
      * Much expanded test suite:
      
        All protocols tested against all other protocols.
        All protocols tested with all certificate options.
        Tests for bad key and bad cert.
        Test of STARTTLS functionality.
        Test of RAND_* functions.
      
      * Fixes for threading/malloc bug.
      
      * Issue 1065 fixed:
      
        sslsocket class renamed to SSLSocket.
        sslerror class renamed to SSLError.
        Function "wrap_socket" now used to wrap an existing socket.
      
      * Issue 1583946 finally fixed:
      
        Support for subjectAltName added.
        Subject name now returned as proper DN list of RDNs.
      
      * SSLError exported from socket as "sslerror".
      
      * RAND_* functions properly exported from ssl.py.
      
      * Documentation improved:
      
        Example of how to create a self-signed certificate.
        Better indexing.
      98d19daf
  4. 31 Agu, 2007 1 kayıt (commit)
  5. 30 Agu, 2007 1 kayıt (commit)
  6. 29 Agu, 2007 1 kayıt (commit)
    • Bill Janssen's avatar
      This contains a number of things: · 426ea0a8
      Bill Janssen yazdı
      1) Improve the documentation of the SSL module, with a fuller
         explanation of certificate usage, another reference, proper
         formatting of this and that.
      
      2) Fix Windows bug in ssl.py, and general bug in sslsocket.close().
         Remove some unused code from ssl.py.  Allow accept() to be called on
         sslsocket sockets.
      
      3) Use try-except-else in import of ssl in socket.py.  Deprecate use of
         socket.ssl().
      
      4) Remove use of socket.ssl() in every library module, except for
         test_socket_ssl.py and test_ssl.py.
      426ea0a8
  7. 28 Mar, 2007 1 kayıt (commit)
  8. 12 Mar, 2007 1 kayıt (commit)
  9. 10 Mar, 2007 1 kayıt (commit)
  10. 09 Mar, 2007 1 kayıt (commit)
  11. 22 Ock, 2007 1 kayıt (commit)
  12. 03 Kas, 2006 1 kayıt (commit)
  13. 27 Eki, 2006 1 kayıt (commit)
  14. 06 Haz, 2006 1 kayıt (commit)
    • Martin Blais's avatar
      Normalized a few cases of whitespace in function declarations. · 215f13dd
      Martin Blais yazdı
      Found them using::
      
        find . -name '*.py' | while read i ; do grep 'def[^(]*( ' $i /dev/null ; done
        find . -name '*.py' | while read i ; do grep ' ):' $i /dev/null ; done
      
      (I was doing this all over my own code anyway, because I'd been using spaces in
      all defs, so I thought I'd make a run on the Python code as well.  If you need
      to do such fixes in your own code, you can use xx-rename or parenregu.el within
      emacs.)
      215f13dd
  15. 31 Mar, 2006 1 kayıt (commit)
  16. 17 Şub, 2006 1 kayıt (commit)
  17. 26 Haz, 2005 1 kayıt (commit)
  18. 06 Şub, 2005 1 kayıt (commit)
  19. 16 Ock, 2005 1 kayıt (commit)
  20. 08 Ock, 2005 1 kayıt (commit)
  21. 06 Ara, 2004 1 kayıt (commit)
  22. 10 Tem, 2004 1 kayıt (commit)
  23. 12 Şub, 2004 1 kayıt (commit)
  24. 06 Eki, 2002 1 kayıt (commit)
  25. 05 Eyl, 2002 1 kayıt (commit)
    • Raymond Hettinger's avatar
      smptlib did not handle empty addresses. · 342456d5
      Raymond Hettinger yazdı
      The problem was that it expected rfc822.parseaddr() to return None
      upon a parse failure.  The actual, documented return value for a
      parse failure is (None, None).
      
      Closes SF bug 602029.
      342456d5
  26. 08 Agu, 2002 1 kayıt (commit)
  27. 28 Tem, 2002 1 kayıt (commit)
  28. 27 Tem, 2002 1 kayıt (commit)
  29. 03 Haz, 2002 1 kayıt (commit)
    • Walter Dörwald's avatar
      Remove uses of the string and types modules: · 65230a2d
      Walter Dörwald yazdı
      x in string.whitespace => x.isspace()
      type(x) in types.StringTypes => isinstance(x, basestring)
      isinstance(x, types.StringTypes) => isinstance(x, basestring)
      type(x) is types.StringType => isinstance(x, str)
      type(x) == types.StringType => isinstance(x, str)
      string.split(x, ...) => x.split(...)
      string.join(x, y) => y.join(x)
      string.zfill(x, ...) => x.zfill(...)
      string.count(x, ...) => x.count(...)
      hasattr(types, "UnicodeType") => try: unicode except NameError:
      type(x) != types.TupleTuple => not isinstance(x, tuple)
      isinstance(x, types.TupleType) => isinstance(x, tuple)
      type(x) is types.IntType => isinstance(x, int)
      
      Do not mention the string module in the rlcompleter docstring.
      
      This partially applies SF patch http://www.python.org/sf/562373
      (with basestring instead of string). (It excludes the changes to
      unittest.py and does not change the os.stat stuff.)
      65230a2d
  30. 02 Haz, 2002 2 kayıt (commit)
  31. 01 Haz, 2002 1 kayıt (commit)
  32. 31 May, 2002 1 kayıt (commit)
  33. 16 Nis, 2002 1 kayıt (commit)
  34. 15 Nis, 2002 1 kayıt (commit)
    • Barry Warsaw's avatar
      ehlo(): A proper fix for SF bug #498572. RFC 1869 describes ESMTP · be22ae6d
      Barry Warsaw yazdı
      which requires that if there are ehlo parameters returned with an ehlo
      keyword (in the response to EHLO), the keyword and parameters must be
      delimited by an ASCII space.  Thus responses like
      
          250-AUTH=LOGIN
      
      should be ignored as non-conformant to the RFC (the `=' isn't allowed
      in the ehlo keyword).
      
      This is a bug fix candidate.
      be22ae6d
  35. 26 Mar, 2002 1 kayıt (commit)
    • Barry Warsaw's avatar
      __init__(): We'll try to be more RFC 2821 compliant by providing for a · 13e34f7a
      Barry Warsaw yazdı
      better local_hostname default.  According to RFC 2821, it is
      recommended that the fqdn hostname be provided in the EHLO/HELO verb
      and if that can't be calculated, to use a domain literal.
      
      The rationale for this change is documented in SF patch #497736 which
      also had privacy concerns about leaking the fqdn in the EHLO/HELO.  We
      decided this wasn't a big concern because no user data is leaked, and
      the IP will always be leaked.  The local_hostname argument is provided
      for those clients that are super paranoid.
      
      Using localhost.localdomain may break some strict smtp servers so we
      decided against using it as the default.
      13e34f7a
  36. 25 Mar, 2002 1 kayıt (commit)
  37. 24 Mar, 2002 1 kayıt (commit)
  38. 24 Şub, 2002 1 kayıt (commit)