Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | regsub is gone, nothing to ignore | Neal Norwitz | 2006-03-26 | 1 | -2/+0 |
| | |||||
* | Try to handle sys.getfilesystemencoding() returning None. | Neal Norwitz | 2006-03-26 | 1 | -1/+4 |
| | | | | | ascii seems like the safest bet that it will exist. I wonder if utf-8 would be a better choice? This should get test_fileinput passing on OpenBSD. | ||||
* | Patch #1443155: Add the incremental codecs support for CJK codecs. | Hye-Shik Chang | 2006-03-26 | 2 | -74/+250 |
| | | | | (reviewed by Walter Dörwald) | ||||
* | fix typo | Georg Brandl | 2006-03-25 | 1 | -1/+1 |
| | |||||
* | Don't decrement below zero. And add more tests. | Raymond Hettinger | 2006-03-25 | 1 | -3/+17 |
| | |||||
* | Whitespace normalization. | Tim Peters | 2006-03-25 | 1 | -1/+1 |
| | |||||
* | Fix a problem with @contextmanager not detecting a broken generator | Phillip J. Eby | 2006-03-25 | 1 | -0/+22 |
| | | | | | | that yields after a throw(). Make @contextmanager not reraise exceptions, but return a false value in that case instead. Add test cases for both behaviors. | ||||
* | Support throw() of string exceptions. | Phillip J. Eby | 2006-03-25 | 1 | -2/+4 |
| | |||||
* | Revert previous change. Wasn't ready yet. | Raymond Hettinger | 2006-03-24 | 1 | -12/+1 |
| | |||||
* | Add more tests | Raymond Hettinger | 2006-03-24 | 1 | -1/+12 |
| | |||||
* | SF Patch #1455676: Simplify using Queues with daemon consumer threads | Raymond Hettinger | 2006-03-24 | 1 | -0/+30 |
| | | | | | Adds join() and task_done() methods to track when all enqueued tasks have been gotten and fully processed by daemon consumer threads. | ||||
* | Use absolute import. | Neal Norwitz | 2006-03-24 | 1 | -1/+1 |
| | |||||
* | Bug #1183780: Add Popen objects to _active only in __del__. | Martin v. Löwis | 2006-03-24 | 1 | -0/+4 |
| | | | | | Cleanup terminated processes as well. Add cmd attribute to Popen4. | ||||
* | Exceptions should inherit from Exception now. | Neal Norwitz | 2006-03-24 | 1 | -1/+1 |
| | |||||
* | Hmmm, I don't think we wanted to test // twice and / not at all (in this ↵ | Neal Norwitz | 2006-03-24 | 1 | -3/+3 |
| | | | | section). | ||||
* | Exceptions should inherit from Exception now. | Neal Norwitz | 2006-03-24 | 1 | -2/+2 |
| | |||||
* | Relax result test for program mode of quopri. | Martin v. Löwis | 2006-03-23 | 1 | -2/+5 |
| | |||||
* | Rewrite pipe code using subprocess, to make sure the | Martin v. Löwis | 2006-03-23 | 1 | -9/+9 |
| | | | | child process is closed when the test completes. | ||||
* | Forward port MvL's fix in 43227: | Neal Norwitz | 2006-03-23 | 1 | -0/+4 |
| | | | | | Fix crash when a Unicode string containing an encoding declaration is compile()d. Fixes #1115379. | ||||
* | Record that test_wait[34] get skipped on native Windows. | Tim Peters | 2006-03-22 | 1 | -0/+2 |
| | |||||
* | Correct API design mistake from rev. 43126: make socket attributes readonly ↵ | Georg Brandl | 2006-03-21 | 1 | -5/+5 |
| | | | | properties. | ||||
* | Try to repair at least one segfault on the Mac buildbot, | Tim Peters | 2006-03-21 | 1 | -40/+47 |
| | | | | | | | | | | | | | | | | | | | | | | as diagnosed by Nick Coghlan. test_capi.py: A test module should never spawn a thread as a side effect of being imported. Because this one did, the segfault one of its thread tests caused didn't occur until a few tests after test_regrtest.py thought test_capi was finished. Repair that. Also join() the thread spawned at the end, so that test_capi is truly finished when regrtest reports that it's done. _testcapimodule.c test_thread_state(): this spawns a couple of non-threading.py threads, passing them a PyObject* argument, but did nothing to ensure that those threads finished before returning. As a result, the PyObject* _could_ (although this was unlikely) get decref'ed out of existence before the threads got around to using it. Added explicit synchronization (via a Python mutex) so that test_thread_state can reliably wait for its spawned threads to finish. | ||||
* | whitespace n11n | Anthony Baxter | 2006-03-20 | 1 | -3/+3 |
| | |||||
* | Patch #1309579: wait3 and wait4 were added to the posix module by Chad J. ↵ | Neal Norwitz | 2006-03-20 | 4 | -64/+144 |
| | | | | | | | | Schroeder. This was a fair amount of rework of the patch. Refactored test_fork1 so it could be reused by the new tests for wait3/4. Also made them into new style unittests (derive from unittest.TestCase). | ||||
* | SF [ 1231053 ] audioop - alaw encoding/decoding added, code updated | Anthony Baxter | 2006-03-20 | 1 | -3/+21 |
| | | | | | | | | | This patch adds a-LAW encoding to audioop and replaces the old u-LAW encoding/decoding code with the current code from sox. Possible issues: the code from sox uses int16_t. Code by Lars Immisch | ||||
* | Fix problem spotted by Coverity that occurs if tzinfo.tzname().replace() | Neal Norwitz | 2006-03-20 | 1 | -0/+11 |
| | | | | | | returns a non-string when converting %Z. Will backport. | ||||
* | Shim for test_email_renamed.py tests. | Barry Warsaw | 2006-03-18 | 1 | -0/+13 |
| | |||||
* | Merge email package 4.0 from the sandbox, including documentation, test cases, | Barry Warsaw | 2006-03-18 | 1 | -1/+1 |
| | | | | and NEWS updates. | ||||
* | Add tests for the C APIs PyCodec_IncrementalEncoder() and | Walter Dörwald | 2006-03-18 | 1 | -2/+14 |
| | | | | PyCodec_IncrementalDecoder(). | ||||
* | RFE #567972: Socket objects' family, type and proto properties are | Georg Brandl | 2006-03-17 | 1 | -0/+8 |
| | | | | now exposed via new get...() methods. | ||||
* | as is on the road to keyword-hood, use a different var name. | Neal Norwitz | 2006-03-17 | 1 | -7/+7 |
| | |||||
* | Oops, copied the wrong code from keeprefs. Get the right code | Neal Norwitz | 2006-03-17 | 1 | -4/+9 |
| | | | | | | this time and call gc.collect(), since there is some garbage. The original code didn't really leak (if gc.collect() was called). | ||||
* | Update/expand on comments about leaking tests. | Neal Norwitz | 2006-03-17 | 1 | -0/+1 |
| | |||||
* | Ignore ctypes leaks, but add a test case so we do not forget. | Neal Norwitz | 2006-03-17 | 1 | -0/+11 |
| | |||||
* | Try to find a host that responds slower from python.org so this test does ↵ | Neal Norwitz | 2006-03-17 | 1 | -1/+1 |
| | | | | not fail on macteagle (G4 OSX.4 in buildbot) | ||||
* | Set eol-style to native. | Tim Peters | 2006-03-16 | 1 | -13/+13 |
| | |||||
* | Update test_winsound to check for a configured sound card (using a VBScript | Trent Mick | 2006-03-16 | 2 | -34/+128 |
| | | | | | helper written by Roger Upole and Mark Hammond) and adjust the expected PlaySoundTest case results accordingly. | ||||
* | Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. | Neal Norwitz | 2006-03-16 | 3 | -116/+0 |
| | |||||
* | Rename sre.py -> re.py | Neal Norwitz | 2006-03-16 | 3 | -4/+3 |
| | |||||
* | The pre module has been gone for a while. Need to go through and find other ↵ | Neal Norwitz | 2006-03-16 | 1 | -3/+0 |
| | | | | modules that no longer exists, since errors are silently ignored. | ||||
* | SF patch #1359365: cStringIO.StringIO.isatty() will raise a ValueError | Walter Dörwald | 2006-03-15 | 1 | -0/+7 |
| | | | | now if close() has been called before (like file and StringIO.StringIO do) | ||||
* | Whitespace normalization. | Tim Peters | 2006-03-15 | 1 | -3/+3 |
| | |||||
* | Don't try to explicitly set path in runpy package tests (tests were broken ↵ | Nick Coghlan | 2006-03-15 | 1 | -1/+0 |
| | | | | on Windows) | ||||
* | Don't let cleanup errors mask real errors in the runpy tests | Nick Coghlan | 2006-03-15 | 1 | -5/+18 |
| | |||||
* | Make test_runpy close all references to test modules before trying to delete ↵ | Nick Coghlan | 2006-03-15 | 1 | -8/+11 |
| | | | | the underlying files | ||||
* | Patch #1436130: codecs.lookup() now returns a CodecInfo object (a subclass | Walter Dörwald | 2006-03-15 | 1 | -0/+57 |
| | | | | | | | of tuple) that provides incremental decoders and encoders (a way to use stateful codecs without the stream API). Functions codecs.getincrementaldecoder() and codecs.getincrementalencoder() have been added. | ||||
* | Implement PEP 338 which has been marked as accepted by GvR | Nick Coghlan | 2006-03-15 | 1 | -0/+157 |
| | |||||
* | SF patch #1359365: file and cStringIO raise a ValueError when next() is called | Walter Dörwald | 2006-03-15 | 1 | -0/+2 |
| | | | | after calling close(). Change StringIO, so that it behaves the same way. | ||||
* | Renamed test_hashlib_speed.py to time_hashlib.py. | Tim Peters | 2006-03-14 | 2 | -10/+2 |
| | | | | | | | | | | | Since it's never intended that this script be run by regrtest.py, it shouldn't have been named with a "test_" prefix to begin with. A consequence is that we shouldn't see useless: test_hashlib_speed skipped -- not a unit test (stand alone benchmark) lines in regrtest output anymore. | ||||
* | Fix SF bug #1448804 and ad a test to ensure that all subscript operations ↵ | Nick Coghlan | 2006-03-13 | 1 | -0/+72 |
| | | | | continue to be handled correctly |