Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Adjust tests for no newline appending to MIMEText.__init__()'s _text | Barry Warsaw | 2003-03-11 | 1 | -11/+7 |
| | | | | argument. | ||||
* | __init__(): Don't add a newline to _text if it doesn't already end in | Barry Warsaw | 2003-03-11 | 1 | -4/+1 |
| | | | | one. Possibly controversial. | ||||
* | For email 2.5b1, we no longer add a trailing newline to | Barry Warsaw | 2003-03-11 | 1 | -2/+1 |
| | | | | | MIMEText.__init__()'s _text argument if it doesn't already end in a newline. This may be controversial. | ||||
* | body_line_iterator(): Accept optional decode argument, pass through to | Barry Warsaw | 2003-03-11 | 2 | -6/+12 |
| | | | | Message.get_payload(). | ||||
* | body_line_iterator() now takes a decode argument. | Barry Warsaw | 2003-03-11 | 1 | -1/+3 |
| | |||||
* | get_payload(): Teach this about various uunencoded | Barry Warsaw | 2003-03-11 | 1 | -10/+21 |
| | | | | Content-Transfer-Encodings | ||||
* | test_get_decoded_uu_payload(): A new test for | Barry Warsaw | 2003-03-11 | 1 | -0/+11 |
| | | | | Content-Transfer-Encoding: x-uuencode | ||||
* | M PyShell.py | Kurt B. Kaiser | 2003-03-10 | 2 | -1/+6 |
| | | | | | M rpc.py Improve exception handing if peer process has terminated. | ||||
* | A interruptmodule.c | Kurt B. Kaiser | 2003-03-10 | 2 | -1/+51 |
| | | | | | | M setup.py Implements an interrupt extension module which allows a subthread to raise an interrupt in the main thread. | ||||
* | specialsre, escapesre: In SF bug #663369, Matthew Woodcraft points out | Barry Warsaw | 2003-03-10 | 1 | -2/+2 |
| | | | | that backslashes must be escaped in character sets. | ||||
* | test_escape_backslashes(): A test for SF bug #663369 by Matthew Woodcraft. | Barry Warsaw | 2003-03-10 | 1 | -0/+8 |
| | |||||
* | _bdecode(): Remove redundant check. | Barry Warsaw | 2003-03-10 | 1 | -2/+0 |
| | |||||
* | Fix base class | Barry Warsaw | 2003-03-10 | 1 | -1/+1 |
| | |||||
* | Use ndiffAssertEqual in a couple of places for better error reporting. | Barry Warsaw | 2003-03-10 | 1 | -3/+6 |
| | |||||
* | Describe what happens when decode=True and the payload has bogus | Barry Warsaw | 2003-03-10 | 1 | -3/+4 |
| | | | | base64 data. | ||||
* | get_payload(): If we get a low-level binascii.Error when base64 | Barry Warsaw | 2003-03-10 | 1 | -5/+12 |
| | | | | decoding the payload, just return it as-is. | ||||
* | test_broken_base64_payload(): Test for crash in low-level binascii | Barry Warsaw | 2003-03-10 | 1 | -0/+8 |
| | | | | module when decoding a message with broken base64. | ||||
* | Patch #700839: Fix bugs in the plural handling. | Martin v. Löwis | 2003-03-10 | 1 | -8/+17 |
| | |||||
* | [Patch #649762] Fix for asynchat endless loop | Andrew M. Kuchling | 2003-03-10 | 1 | -1/+1 |
| | | | | | | When the null string is used as the terminator, it used to be the same as None, meaning "collect all the data". In the current code, however, it falls into an endless loop; this change reverts to the old behavior. | ||||
* | _split_ascii() [method and function]: Don't join the lines just to | Barry Warsaw | 2003-03-10 | 1 | -10/+11 |
| | | | | | | split them again. Simply return them as chunk lists. _encode_chunks(): Don't add more folding whitespace than necessary. | ||||
* | Use isinstance() instead of type comparison | Andrew M. Kuchling | 2003-03-10 | 1 | -3/+2 |
| | |||||
* | test_another_long_multiline_header(): Yet another formatting test. | Barry Warsaw | 2003-03-10 | 1 | -0/+12 |
| | |||||
* | openmixer()'s 'mode' parameter has been removed. | Greg Ward | 2003-03-10 | 1 | -6/+2 |
| | |||||
* | <sys/soundcard.h> seems to exist on both Linux and FreeBSD, so include | Greg Ward | 2003-03-10 | 1 | -22/+10 |
| | | | | | | | | | it instead of the OS-specific <linux/soundcard.h> or <machine/soundcard.h>. Mixers devices have an ioctl-only interface, no read/write -- so the flags passed to open() don't really matter. Thus, drop the 'mode' parameter to openmixer() (ie. second arg to newossmixerobject()) and always open mixers with O_RDWR. | ||||
* | Expand description of ossaudiodev.error exception. | Greg Ward | 2003-03-10 | 1 | -17/+38 |
| | | | | Improve descriptions of open(), openmixer(). | ||||
* | Rewrite intro paragraphs and add a "See also" box for the link to the | Greg Ward | 2003-03-10 | 1 | -57/+60 |
| | | | | | | | official OSS docs. Markup fixes: change \code{} variously to \function{}, \method{}, or \constant{} as appropriate. | ||||
* | Fix two unformatted lists: one is now an 'enumerate' environment, the | Greg Ward | 2003-03-10 | 1 | -19/+31 |
| | | | | | | other a 'tableii'. Formatting/typo fix. | ||||
* | Add libossaudiodev.tex. | Greg Ward | 2003-03-10 | 2 | -0/+2 |
| | |||||
* | Wrap all paragraphs to 72 columns. | Greg Ward | 2003-03-09 | 1 | -117/+123 |
| | | | | | | Two spaces between sentences. Fix em-dashes -- should be "---" not " - ". Spelling fix. | ||||
* | Documentation for the ossaudiodev module. | Greg Ward | 2003-03-09 | 1 | -0/+289 |
| | | | | | Initial revision supplied by Nicholas FitzRoy-Dale <wzdd@lardcave.net> (emailed to me [gward@python.net] 2003-03-08 23:37 +1100). | ||||
* | SF patch #691928: Use datetime in _strptime | Raymond Hettinger | 2003-03-09 | 2 | -88/+56 |
| | | | | | | | | | | | | Contributed by Brett Cannon. To prevent code duplication, I patched _strptime to use datetime's date object to do Julian day, Gregorian, and day of the week calculations. Patch also includes new regression tests to test results and the calculation gets triggered. Very minor comment changes and the contact email are also changed. | ||||
* | Sf patch #700047: unicode object leaks refcount on resizing | Raymond Hettinger | 2003-03-09 | 1 | -0/+1 |
| | | | | Contributed by Hye-Shik Chang. | ||||
* | Add contributor name. | Raymond Hettinger | 2003-03-09 | 1 | -0/+1 |
| | |||||
* | SF patch #667730: More DictMixin | Raymond Hettinger | 2003-03-09 | 6 | -4/+222 |
| | | | | | | | | * Adds missing pop() methods to weakref.py * Expands test suite to broaden coverage of objects with a mapping interface. Contributed by Sebastien Keim. | ||||
* | SF 698520: Iterator for urllib.URLOpener | Raymond Hettinger | 2003-03-09 | 3 | -1/+9 |
| | | | | Contributed by Brett Cannon. | ||||
* | [ 684677 ] Allow freeze to exclude implicits | Just van Rossum | 2003-03-08 | 1 | -3/+6 |
| | |||||
* | Skip the test if TESTFN_ENCODING is None. Fixes #699386. | Martin v. Löwis | 2003-03-08 | 1 | -19/+6 |
| | |||||
* | _split_ascii(): lstrip the individual lines in the ascii split lines, | Barry Warsaw | 2003-03-07 | 1 | -0/+3 |
| | | | | since we'll be adding our own continuation whitespace later. | ||||
* | test_long_unbreakable_lines_with_continuation(): Another funky example | Barry Warsaw | 2003-03-07 | 1 | -0/+16 |
| | | | | from Jason Mastaler :) | ||||
* | decode_rfc2231(): RFC 2231 allows leaving out both the charset and | Barry Warsaw | 2003-03-07 | 1 | -5/+7 |
| | | | | language without including any single quotes. | ||||
* | test_rfc2231_no_language_or_charset(): RFC 2231 allows leaving out | Barry Warsaw | 2003-03-07 | 1 | -0/+11 |
| | | | | both the charset and language without including any single quotes. | ||||
* | Don't quote the path to Python unless the path contains an embedded space. | Tim Peters | 2003-03-07 | 1 | -1/+4 |
| | | | | | | | | Quoting the path doesn't work on Win2K (cmd.exe) regardless, this is just a hack to let the test pass again on Win2K (so long as Python isn't installed in a path that does contain an embedded space). On Win2K it looks like we'd also have to add a second pair of double quotes, around the entire command line. | ||||
* | Whitespace normalization. | Tim Peters | 2003-03-07 | 5 | -44/+44 |
| | |||||
* | whitespace normalization | Barry Warsaw | 2003-03-07 | 1 | -6/+6 |
| | |||||
* | This test relied on significant trailing whitespace in a string literal. | Tim Peters | 2003-03-07 | 1 | -7/+12 |
| | | | | Evil. | ||||
* | Add a little more verbiage about the bsddb module/package change. It's | Skip Montanaro | 2003-03-07 | 1 | -1/+8 |
| | | | | | | clear from recent discussions on c.l.py that people are a bit confused about the differences between the old bsddb, the new bssdb, the bsddb3/PyBSDDB package and changes to file formats. Tried to clarify the issues. | ||||
* | _write_headers(), _split_header(): All of the smarts for splitting | Barry Warsaw | 2003-03-07 | 1 | -35/+20 |
| | | | | | | long header lines is now (properly) in the Header class. So we no longer need _split_header() and we'll just defer to Header.encode() when we have a plain string. | ||||
* | More internal refinements of the ascii splitting algorithm. | Barry Warsaw | 2003-03-07 | 1 | -7/+10 |
| | | | | | | | | | | | | | | _encode_chunks(): Pass maxlinelen in instead of always using self._maxlinelen, so we can adjust for shorter initial lines. Pass this value through to _max_append(). encode(): Weave maxlinelen through to the _encode_chunks() call. _split_ascii(): When recursively splitting a line on spaces (i.e. lower level syntactic split), don't append the whole returned string. Instead, split it on linejoiners and extend the lines up to the last line (for proper packing). Calculate the linelen based on the last element in the this list. | ||||
* | Test_ioctl and test_tarfile are skipped on MacOS9. | Jack Jansen | 2003-03-07 | 1 | -0/+2 |
| | |||||
* | Removed unused variable | Jack Jansen | 2003-03-07 | 1 | -1/+0 |
| |