Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N" | Serhiy Storchaka | 2016-05-20 | 1 | -1/+6 |
| | | | | format unit. | ||||
* | Issue #23799: Added test.test_support.start_threads() for running and | Serhiy Storchaka | 2015-04-01 | 1 | -18/+14 |
| | | | | cleaning up multiple threads. | ||||
* | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -1/+3 |
| | |||||
* | #17249: check for the availability of the thread module. | Ezio Melotti | 2013-02-23 | 1 | -2/+3 |
| | |||||
* | #17249: convert a test in test_capi to use unittest and reap threads. | Ezio Melotti | 2013-02-23 | 1 | -28/+27 |
| | |||||
* | #11565: Fix several typos. Patch by Piotr Kasprzyk. | Ezio Melotti | 2011-03-16 | 1 | -1/+1 |
| | |||||
* | Issue #7449, part 7: simplify threading detection in test_capi | Victor Stinner | 2010-04-27 | 1 | -10/+6 |
| | | | | | | * Skip TestPendingCalls if threading module is missing * Test if threading module is present or not, instead of test the presence of _testcapi._test_thread_state | ||||
* | #7092: Silence more py3k warnings. Patch by Florent Xicluna. | Ezio Melotti | 2010-02-03 | 1 | -1/+1 |
| | |||||
* | Reverting the Revision: 77368. I committed Flox's big patch for tests by | Senthil Kumaran | 2010-01-08 | 1 | -1/+1 |
| | | | | mistake. ( It may come in for sure tough) | ||||
* | Fixing - Issue7026 - RuntimeError: dictionary changed size during iteration. ↵ | Senthil Kumaran | 2010-01-08 | 1 | -1/+1 |
| | | | | Patch by flox | ||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -1/+1 |
| | |||||
* | issue 4293: make test_capi.py more robutst, it times out on some platforms, ↵ | Kristján Valur Jónsson | 2009-01-18 | 1 | -6/+29 |
| | | | | presumably waiting for threads. Lower the thread count to 16. | ||||
* | Issue 4293: Make Py_AddPendingCall() thread safe | Kristján Valur Jónsson | 2009-01-09 | 1 | -0/+67 |
| | | | | Add test cases and documentation | ||||
* | Issue2564: Prevent a hang in "import test.autotest", which runs the entire test | Amaury Forgeot d'Arc | 2008-04-08 | 1 | -3/+2 |
| | | | | | | | suite as a side-effect of importing the module. - in test_capi, a thread tried to import other modules - re.compile() imported sre_parse again on every call. | ||||
* | 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. | ||||
* | Revert previous checkin on getargs 'L' code. Try to convert all | Martin v. Löwis | 2005-03-03 | 1 | -13/+1 |
| | | | | | numbers in PyLong_AsLongLong, and update test suite accordingly. Backported to 2.4. | ||||
* | Clear internal call error in 'L' format. Fixes #723201. | Martin v. Löwis | 2005-03-03 | 1 | -1/+13 |
| | | | | Backported to 2.4. | ||||
* | Whitespace normalization. | Tim Peters | 2004-08-26 | 1 | -1/+0 |
| | |||||
* | Fix for [ 1010677 ] thread Module Breaks PyGILState_Ensure(), | Mark Hammond | 2004-08-24 | 1 | -0/+4 |
| | | | | | and a test case. When booting a new thread, use the PyGILState API to manage the GIL. | ||||
* | Whitespace normalization. | Tim Peters | 2003-04-24 | 1 | -2/+2 |
| | |||||
* | New PyGILState_ API - implements pep 311, from patch 684256. | Mark Hammond | 2003-04-19 | 1 | -0/+29 |
| | |||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -1/+1 |
| | | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :) | ||||
* | Fix typo in comment (the module is now called _testcapi, not _test). | Guido van Rossum | 2001-04-13 | 1 | -1/+1 |
| | |||||
* | Renamed _testXXX to _testcapiXXX. Jack is my hero -- good call! | Tim Peters | 2001-02-04 | 1 | -6/+6 |
| | |||||
* | Patch derived from Trent's 101162: a Python/C API testing framework. | Tim Peters | 2001-02-02 | 1 | -0/+16 |
STILL NEEDS UNIX BUILD CHANGES. |