1. 01 Feb, 2001 16 commits
  2. 31 Jan, 2001 13 commits
    • Barry Warsaw's avatar
      Long ago, Guido suggested that I add this to the standard library. · 03b486eb
      Barry Warsaw authored
      I'm now checking it in.  I need to write some documentation for it,
      but I don't have time right now.  Still, I wanted to get this into
      2.1a2.
      
      # Overview:
      #
      # This file implements the minimal SMTP protocol as defined in RFC 821.  It
      # has a hierarchy of classes which implement the backend functionality for the
      # smtpd.  A number of classes are provided:
      #
      #   SMTPServer - the base class for the backend.  Raises an UnimplementedError
      #   if you try to use it.
      #
      #   DebuggingServer - simply prints each message it receives on stdout.
      #
      #   PureProxy - Proxies all messages to a real smtpd which does final
      #   delivery.  One known problem with this class is that it doesn't handle
      #   SMTP errors from the backend server at all.  This should be fixed
      #   (contributions are welcome!).
      #
      #   MailmanProxy - An experimental hack to work with GNU Mailman
      #   <www.list.org>.  Using this server as your real incoming smtpd, your
      #   mailhost will automatically recognize and accept mail destined to Mailman
      #   lists when those lists are created.  Every message not destined for a list
      #   gets forwarded to a real backend smtpd, as with PureProxy.  Again, errors
      #   are not handled correctly yet.
      03b486eb
    • Barry Warsaw's avatar
      Simple embedded program that does a module import. Useful for · 35ad6102
      Barry Warsaw authored
      debugging leaks and other memory problems.
      35ad6102
    • Barry Warsaw's avatar
      cecb56f2
    • Barry Warsaw's avatar
      Add targets to make building `loop' and `import' easier. Useful for · c99d3d40
      Barry Warsaw authored
      debugging memory leaks and the like.
      c99d3d40
    • Barry Warsaw's avatar
      Document the two changes to the mailbox.py module: · d5c379a7
      Barry Warsaw authored
      - All constructors grow an optional argument `factory' which is a
        callable used when new message instances are created by the next()
        methods.  Defaults to the rfc822.Message class.
      
      - A new subclass of UnixMailbox is added, called PortableUnixMailbox.
        It's identical to UnixMailbox, but uses a more portable test for
        From_ delimiter lines.  With PortableUnixMailbox, any line that
        starts with "From " is considered a delimiter (this should really
        check for two newlines before the F, but it doesn't.
      d5c379a7
    • Barry Warsaw's avatar
      Two changes: · 31961621
      Barry Warsaw authored
      - All constructors grow an optional argument `factory' which is a
        callable used when new message instances are created by the next()
        methods.  Defaults to the rfc822.Message class.
      
      - A new subclass of UnixMailbox is added, called PortableUnixMailbox.
        It's identical to UnixMailbox, but uses a more portable test for
        From_ delimiter lines.  With PortableUnixMailbox, any line that
        starts with "From " is considered a delimiter (this should really
        check for two newlines before the F, but it doesn't.
      31961621
    • Barry Warsaw's avatar
      Some rewriting of the "Internationalizing your programs and modules" · ba7d73a3
      Barry Warsaw authored
      subsection to include a discussion of the msgfmt.py program.
      ba7d73a3
    • Jeremy Hylton's avatar
      move "from stat import *" to module level · 00511f9a
      Jeremy Hylton authored
      00511f9a
    • Tim Peters's avatar
      Docs for new Windows zlib build procedure. · 6e57eb60
      Tim Peters authored
      6e57eb60
    • Mark Hammond's avatar
      Fix [ Bug #129293 ] zlib library used for binary win32 distribution can crash · 1007746c
      Mark Hammond authored
      This involves changing the zlib build process to build zlib itself from sources, then use that library.  Also updated are the comments to reflect the new official home of zlib, and add Windows specific notes regarding the build process.
      1007746c
    • Mark Hammond's avatar
      Partial fix to [ Bug #128685 ] popen on Win9x isnt smart enough about finding w9xpopen.exe. · d4da6431
      Mark Hammond authored
      "Partial" as the code uses sys.prefix in an attempt to locate 'w9xpopen.exe', but sys.prefix is not set if Python can't find it itself.  So this _still_ fails in Pythonwin, but I am committing the patch for 2 reasons:
      * Embedded apps that set sys.prefix or use PYTHONHOME will work
      * The exception raised on failure to find the executable is far more obvious
      d4da6431
    • Mark Hammond's avatar
    • Tim Peters's avatar
      SF bug #130532: newest CVS won't build on AIX. · d0cb31e2
      Tim Peters authored
      Removed illegal redefinition of REPR macro; kept the one with the
      argument name that isn't too easy to confuse with zero <wink>.
      d0cb31e2
  3. 30 Jan, 2001 8 commits
  4. 29 Jan, 2001 3 commits