Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Test for UnicodeError instead of ImportError to determine whether | Martin v. Löwis | 2003-03-17 | 1 | -1/+1 |
| | | | | the test file name can be encoded. | ||||
* | binascii_a2b_base64: Properly return an empty string if the input was all | Thomas Wouters | 2003-03-17 | 1 | -0/+4 |
| | | | | | | | invalid, rather than returning a string of random garbage of the estimated result length. Closes SF patch #703471 by Hye-Shik Chang. Will backport to 2.2-maint (consider it done.) | ||||
* | Capturing the exit status for the build process didn't work. Using | Jack Jansen | 2003-03-17 | 1 | -6/+7 |
| | | | | popen2.Popen4() makes it work. Fixes #702180. | ||||
* | Change the default number of repetitions to 3, both in the Timer class | Guido van Rossum | 2003-03-15 | 1 | -12/+21 |
| | | | | | | | | | (from 10) and in main() (from 1). Add a -v option that shows the raw times. Repeating it cranks up the display precision. Always use the "best of N" form of output. | ||||
* | If time.tzset doesn't exist, don't test it. | Guido van Rossum | 2003-03-15 | 1 | -0/+3 |
| | |||||
* | - New function time.tzset() provides access to the C library tzet() | Guido van Rossum | 2003-03-14 | 1 | -1/+82 |
| | | | | function, if supported. (SF patch #675422, by Stuart Bishop.) | ||||
* | Implement some recommendations from Raymond H: | Guido van Rossum | 2003-03-14 | 1 | -10/+48 |
| | | | | | | | | | | - Make all local variables in the template start with an underscore, to prevent name conflicts with the timed code. - Added a method to print a traceback that shows source lines from the expanded template. - Use that method in main(). | ||||
* | Accept commas in unquoted attribute values. | Fred Drake | 2003-03-14 | 4 | -2/+10 |
| | | | | This closes SF patch #669683. | ||||
* | Take out my (long since disabled) POSIX signal mask handling code. | Michael W. Hudson | 2003-03-13 | 1 | -61/+0 |
| | | | | | I'm not going to have the time or energy to get this working x-platform -- anyone who does is welcome to the code! | ||||
* | Move setting of ioready 'wait' earlier in call chain, to | Kurt B. Kaiser | 2003-03-12 | 2 | -8/+24 |
| | | | | rpc.SocketIO.main() and asyncreturn(). Improve comment. | ||||
* | Filter out the depracation warning for macfs. | Jack Jansen | 2003-03-12 | 1 | -0/+2 |
| | |||||
* | SF bug #699934: Obscure error message | Raymond Hettinger | 2003-03-12 | 1 | -3/+7 |
| | | | | Clarify error message for mro conflicts. | ||||
* | test_whitespace_eater_unicode(): Make this test Python 2.1 compatible. | Barry Warsaw | 2003-03-12 | 1 | -1/+4 |
| | |||||
* | Python 2.1 doesn't have True and False | Barry Warsaw | 2003-03-12 | 1 | -0/+3 |
| | |||||
* | M rpc.py | Kurt B. Kaiser | 2003-03-11 | 2 | -4/+4 |
| | | | | | | M run.py 1. Clarify that rpc.SocketIO._getresponse() currently blocks on socket. 2. Improve exception handling in subprocess when GUI terminates abruptly. | ||||
* | Allow unicode pathnames where FSRefs are expected. Fixes 696253. | Jack Jansen | 2003-03-11 | 1 | -0/+5 |
| | |||||
* | Add 'audio' resource. | Guido van Rossum | 2003-03-11 | 1 | -1/+5 |
| | | | | | | | ALERT! A month ago or so I made test_ossaudiodev.py require the 'audio' resource, but I didn't make the necessary changes to regrtest.py. This means that *nobody* has been testing the oss module all that time! | ||||
* | Patch by Andrew Straw: use urllib2 so proxie access works. | Jack Jansen | 2003-03-11 | 1 | -7/+3 |
| | |||||
* | Adjust tests for no newline appending to MIMEText.__init__()'s _text | Barry Warsaw | 2003-03-11 | 1 | -2/+0 |
| | | | | argument. | ||||
* | beta 1 | Barry Warsaw | 2003-03-11 | 1 | -1/+1 |
| | |||||
* | 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. | ||||
* | body_line_iterator(): Accept optional decode argument, pass through to | Barry Warsaw | 2003-03-11 | 2 | -6/+12 |
| | | | | Message.get_payload(). | ||||
* | 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 |
| | |||||
* | 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 |
| | |||||
* | 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 #667730: More DictMixin | Raymond Hettinger | 2003-03-09 | 5 | -4/+221 |
| | | | | | | | | * 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 | 1 | -0/+4 |
| | | | | Contributed by Brett Cannon. | ||||
* | 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 |
| |