| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
STILL NEEDS UNIX BUILD CHANGES.
|
|
|
|
|
| |
PortableUnixMailbox as a separate class as well (this also generates
the right index entry).
|
| |
|
|
|
|
|
|
|
|
| |
Adds support for raw packets (AF_PACKET) under Linux. I haven't
tested this code thoroughly; it compiles and the basic calls all work
without crashing. Not sure what to actually do with raw sockets though.
Not sure what other platforms this might be useful for.
|
|
|
|
| |
by the quicktest target.
|
| |
|
|
|
|
|
| |
the standard library does not use the SOCKET module any more, and it is
not defined for all platforms (Windows, in particular).
|
| |
|
|
|
|
|
| |
Move some index entries next to what they are referring to for better
"targetting".
|
| |
|
|
|
|
| |
whrandom module directly.
|
| |
|
|
|
|
| |
PyFPE_END_PROTECT() was called on undefined var
|
|
|
|
|
|
| |
socket -- as suggested by Clarence Gardner.
Fix httplib to comply with the new ssl-socket interface.
|
| |
|
|
|
|
| |
SF patch 102989 by Thomas Wouters
|
|
|
|
|
|
|
| |
fields. You can now backspace out the 0 in 0x0, and you can clear the
field when in decimal mode. There are still some oddities about
typing into these fields, but it should be much less annoying. The
real solution is to ditch the update-while-typing "feature".
|
|
|
|
|
| |
scope (still inside the __name__=='__main__' guard). Necessitated by
recent addition of nested scopes.
|
|
|
|
|
| |
Revise item about restriction on 'from ... import *'. It was in the
wrong section and the section restriction was removed.
|
|
|
|
|
|
|
|
|
|
|
| |
discussion on python-dev. 'from mod import *' is still banned except
at the module level.
Fix value for special NOOPT entry in symtable. Initialze to 0 instead
of None, so that later uses of PyInt_AS_LONG() are valid. (Bug
reported by Donn Cave.)
replace local REPR macros with PyObject_REPR in object.h
|
| |
|
| |
|
| |
|
|
|
|
| |
This closes SF bug #129827.
|
| |
|
|
|
|
| |
wide paragraphs.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
| |
Moved commented-out entries for obsolete module to an appendix, still
commented out.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
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 ...).
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
debugging leaks and other memory problems.
|
| |
|
|
|
|
| |
debugging memory leaks and the like.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- 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.
|
|
|
|
| |
subsection to include a discussion of the msgfmt.py program.
|
| |
|
| |
|
|
|
|
| |
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.
|
|
|
|
|
|
|
|
| |
finding w9xpopen.exe.
"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
|
| |
|
|
|
|
|
| |
Removed illegal redefinition of REPR macro; kept the one with the
argument name that isn't too easy to confuse with zero <wink>.
|
|
|
|
| |
want most of the time.
|