- 01 Feb, 2001 4 commits
-
-
Fred Drake authored
-
Tim Peters authored
-
Tim Peters authored
internal states. Put the old .seed() (which could only get at about the square root of the # of possibilities) under the new name .whseed(), for bit-level compatibility with older versions. This occurred to me while reviewing effbot's book (he found himself stumbling over .seed() more than once there ...).
-
Jeremy Hylton authored
-
- 31 Jan, 2001 13 commits
-
-
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.
-
Barry Warsaw authored
debugging leaks and other memory problems.
-
Barry Warsaw authored
-
Barry Warsaw authored
debugging memory leaks and the like.
-
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.
-
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.
-
Barry Warsaw authored
subsection to include a discussion of the msgfmt.py program.
-
Jeremy Hylton authored
-
Tim Peters authored
-
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.
-
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
-
Mark Hammond authored
-
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>.
-
- 30 Jan, 2001 8 commits
-
-
Fred Drake authored
want most of the time.
-
Moshe Zadka authored
Tested for not breaking builds on Linux.
-
Jack Jansen authored
-
Jeremy Hylton authored
-
Jeremy Hylton authored
recently fixed bug, but it checked for the wrong answer.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
imports. It checks for them now.
-
Jeremy Hylton authored
reference manual but not checked: Names bound by import statemants may not occur in global statements in the same scope. The from ... import * form may only occur in a module scope. I guess these changes could break code, but the reference manual warned about them. Several other small changes If a variable is declared global in the nearest enclosing scope of a free variable, then treat it is a global in the nested scope too. Get rid of com_mangle and symtable_mangle functions and call mangle directly. If errors occur during symtable table creation, return -1 from symtable_build(). Do not increment st_errors in assignment to lambda, because exception is not set. Add extra argument to symtable_assign(); the argument, flag, is ORed with DEF_LOCAL for each symtable_add_def() call.
-
- 29 Jan, 2001 15 commits
-
-
Guido van Rossum authored
typedef, and at least one compiler choked on this. (SF patch #103457, by bquinlan)
-
Jeremy Hylton authored
This change eliminates an extra malloc/free when a frame with free variables is created. Any cell vars or free vars are stored in f_localsplus after the locals and before the stack. eval_code2() fills in the appropriate values after handling initialization of locals. To track the size the frame has an f_size member that tracks the total size of f_localsplus. It used to be implicitly f_nlocals + f_stacksize.
-
Jeremy Hylton authored
object. This avoids creation + decref if bogus arguments are passed.
-
Jeremy Hylton authored
-
Jeremy Hylton authored
-
Andrew M. Kuchling authored
NetBSD
-
Andrew M. Kuchling authored
in term.h
-
Andrew M. Kuchling authored
-
Andrew M. Kuchling authored
commented out.
-
Andrew M. Kuchling authored
Get Fred's name right Add some XXX items that need to be written
-
Jack Jansen authored
Don't call OpenDeskAcc() and AppendResMenu() on Carbon.
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-
Jack Jansen authored
-