summaryrefslogtreecommitdiff
path: root/Mailman/pythonlib (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Installing latest editions from the Python development tree. Thisbwarsaw1999-01-141-13/+13
| | | | fixes several bugs uncovered in Mailman and other testing.
* In rcpt(), avoid a space after the TO: address when the option list isguido1999-01-141-2/+2
| | | | empty. Make sure there is a space when there are options.
* getaddrlist(): fixes to handle continuation lines, and watching forbwarsaw1999-01-141-1/+7
| | | | already existing commas. Should do a better job.
* New proposed change to standard library module. Get rid ofbwarsaw1999-01-131-24/+11
| | | | | | | getallrecipients() and just make getaddrlist() do the right thing (scan all matching headers, not just the first one). Patch submitted to Guido.
* getallrecipients(): returns a tuple list of all To: and Cc: headerbwarsaw1999-01-121-0/+16
| | | | recipients, parsed with AddressList()
* Copied from Python 1.5.2 since we'll need the new interface.bwarsaw1999-01-121-0/+904
|
* Copied from the Python 1.5.2 distribution.bwarsaw1999-01-091-0/+107
|
* Changes to workaround some bogus clients which either don't include abwarsaw1999-01-081-2/+24
| | | | | | | | | | | | | | | | | | | | | | | | content-type header, or include a bogus one. cgi.py FieldStorage.__init__(): if there is no content-type header, use text/plain for inner parts, but application/x-www-form-urlencoded for outer parts. Honor any existing content-type header. Lower down, if the content-type header is something we don't understand, default to text/plain for inner parts, but application/x-www-form-urlencoded for outer parts. This patch will be proposed for Python 1.5.2 driver run_main(): Play some games to get Mailman's special cgi.py module. We import it from Mailman.pythonlib.cgi, but then we jam this module into sys.modules['cgi'] so all those imports in all those Mailman.Cgi scripts get our special one (without having to hack all those scripts!)
* Added cgi.py from Python 1.5.2 distribution.bwarsaw1999-01-081-0/+1341
|
* TemporaryFile(): Divergence from Python 1.5.2 version. Can't use barebwarsaw1999-01-051-1/+6
| | | | | | `raise' here since we may be running under Python 1.5. I don't use Utils.reraise() because I don't want to import Utils, so just do the manual sys import and raise.
* Copied from the Python 1.5.2b1 distribution, this version implementsbwarsaw1998-12-291-0/+141
| | | | safe filename generation across fork() related children.
* Small, and final docstring merge with Dragon's version.bwarsaw1998-12-221-1/+5
|
* New infrastructure for alleviating version skew with deployedbwarsaw1998-12-223-0/+75
| | | | | | | | | | Pythons. When Mailman requires a newer version of a standard Python library than can be required to already be installed, we copy the .py file to this directory. This makes it easier to remove later when that version of Python is required. Other than the standard package and CVS boilerplate, smtplib.py is the latest almost-Python-1.5.2 version.
* A few other docstring fixes, most importantly to be a little nicer tobwarsaw1998-12-221-54/+59
| | | | Emacs ;-)
* Nothing earthshattering, just some fixes to typos and other formattingbwarsaw1998-12-221-49/+52
| | | | bugs in various docstrings.
* Change interface to sendmail: if the destination address is a stringjhylton1998-08-131-1/+6
| | | | | | | instead of a list, turn it into a list containing that string. This avoids an apparently common newbie mistake -- passing in a single string for the destination and have it treated as a sequence of characters.
* Untabified and deleted trailing blank lines.guido1998-08-101-9/+7
|
* Latest version by The Dragon, who writes:guido1998-08-041-66/+120
| | | | | | | | I did some bugfixes, and fixed a major problem with the esmtp suport (I think the person who did that part misunderstood RFC1869) Some of the interface fer esmtp-related things has changed as a result. I also added some documentation to the SMTP class' docstring.
* Better RFC 821 compliance (MAIL and RCPT, and CRLF in data)guido1998-07-131-15/+37
| | | | by Carey Evans <c.evans@clear.net.nz>, for picky mail servers.
* Eric Raymond added support for ESMTP protocol and corrected some typosguido1998-06-251-33/+113
| | | | in comments and doc strings.
* Add optional argument to help().guido1998-04-031-2/+2
|
* Mass check-in after untabifying all files that need it.guido1998-03-261-71/+71
|
* Sez The Dragon:guido1998-01-291-24/+25
| | | | | Ok, I fixed the quotes, along with a bug or two. Also added another exception.
* SMTP client by The Dragon De Monsyne <dragondm@integral.org>.guido1998-01-291-0/+278