summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_capi.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #20586: Argument Clinic now ensures signatures on functions without ↵Zachary Ware2015-04-131-1/+5
| | | | docstrings.
* Issue #23799: Added test.support.start_threads() for running and cleaning upSerhiy Storchaka2015-04-011-9/+5
|\ | | | | | | multiple threads.
| * Issue #23799: Added test.support.start_threads() for running and cleaning upSerhiy Storchaka2015-04-011-9/+5
| | | | | | | | multiple threads.
* | Issue #23571: Enhance _Py_CheckFunctionResult()Victor Stinner2015-03-241-4/+4
| | | | | | | | | | | | | | | | | | Too bad, sometimes Py_FatalError() is unable to write the exception into sys.stderr (on "AMD64 OpenIndiana 3.x" buildbot, the buildbot was probably out of memory). Call Py_FatalError() with a different message for the two cases (result+error, or no result and no error).
* | Issue #23571: Update test_capiVictor Stinner2015-03-241-2/+23
| |
* | Issue #23571: Fix test_capiVictor Stinner2015-03-211-2/+2
| |
* | Issue #23571: _Py_CheckFunctionResult() now gives the name of the functionVictor Stinner2015-03-211-0/+44
| | | | | | | | | | | | | | | | | | | | | | which returned an invalid result (result+error or no result without error) in the exception message. Add also unit test to check that the exception contains the name of the function. Special case: the final _PyEval_EvalFrameEx() check doesn't mention the function since it didn't execute a single function but a whole frame.
* | #22731 test_capi test fails because of mismatched newlinesSteve Dower2014-11-011-3/+4
| |
* | Issue #18093: fix test_capi test skip due to _testembed moveNick Coghlan2014-09-251-1/+1
| |
* | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)Benjamin Peterson2014-04-101-0/+17
| |
* | Issue #19977: Fix test_capi when LC_CTYPE locale is POSIXVictor Stinner2014-03-181-14/+18
|/
* Issue #20530: Argument Clinic's signature format has been revised again.Larry Hastings2014-02-091-4/+13
| | | | | | | The new syntax is highly human readable while still preventing false positives. The syntax also extends Python syntax to denote "self" and positional-only parameters, allowing inspect.Signature objects to be totally accurate for all supported builtins in Python 3.4.
* Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-1/+2
|\
| * Issue #20532: Tests which use _testcapi now are marked as CPython only.Serhiy Storchaka2014-02-071-1/+2
| |
* | Issue #20326: Argument Clinic now uses a simple, unique signature toLarry Hastings2014-01-281-1/+1
| | | | | | | | | | | | | | | | | | | | annotate text signatures in docstrings, resulting in fewer false positives. "self" parameters are also explicitly marked, allowing inspect.Signature() to authoritatively detect (and skip) said parameters. Issue #20326: Argument Clinic now generates separate checksums for the input and output sections of the block, allowing external tools to verify that the input has not changed (and thus the output is not out-of-date).
* | Issue #20189: Four additional builtin types (PyTypeObject,Larry Hastings2014-01-241-3/+3
| | | | | | | | | | | | PyMethodDescr_Type, _PyMethodWrapper_Type, and PyWrapperDescr_Type) have been modified to provide introspection information for builtins. Also: many additional Lib, test suite, and Argument Clinic fixes.
* | Fix inspect.signature tests for builtins when docstrings are compiled out.Larry Hastings2013-11-241-0/+3
| |
* | Issue #19674: inspect.signature() now produces a correct signatureLarry Hastings2013-11-231-0/+29
| | | | | | | | for some builtins.
* | Issue #18874: Implement the PEP 454 (tracemalloc)Victor Stinner2013-11-231-1/+1
| |
* | Issue #19440: Clean up test_capiZachary Ware2013-11-121-14/+8
|\ \ | |/
| * Issue #19440: Clean up test_capiZachary Ware2013-11-121-13/+7
| |
* | Close #19439: execute embedding tests on WindowsNick Coghlan2013-11-031-32/+46
| | | | | | | | Patch by Zachary Ware
* | Issue #16129: this should appease the buildbotsNick Coghlan2013-10-181-8/+7
| |
* | Skip #16129 test until I debug cross-platform issuesNick Coghlan2013-10-171-0/+1
| |
* | Try to debug overspecified test :(Nick Coghlan2013-10-171-1/+2
| |
* | Issue #16129: Add `Py_SetStandardStreamEncoding`Nick Coghlan2013-10-171-25/+71
| | | | | | | | | | | | | | | | | | | | | | This new pre-initialization API allows embedding applications like Blender to force a particular encoding and error handler for the standard IO streams. Also refactors Modules/_testembed.c to let us start testing multiple embedding scenarios. (Initial patch by Bastien Montagne)
* | Issue #18948: improve SuppressCoreFiles to include Windows crash popup ↵Antoine Pitrou2013-10-081-1/+1
| | | | | | | | | | | | suppression, and use it in more tests. Patch by Valerie Lambert and Zachary Ware.
* | test_capi: make a specific test case for the subinterpreter testAntoine Pitrou2013-08-011-1/+6
|/ | | | (it was wrongly classified in the pending calls test case)
* Fix indentation.Ezio Melotti2013-03-051-4/+4
|
* #11732: add a new suppress_crash_popup() context manager to test.support.Ezio Melotti2013-03-051-1/+2
|
* #17249: merge with 3.2.Ezio Melotti2013-02-231-28/+27
|\
| * #17249: convert a test in test_capi to use unittest and reap threads.Ezio Melotti2013-02-231-28/+28
| |
* | Remove outdated statementAntoine Pitrou2013-01-171-1/+0
|\ \ | |/
| * Remove outdated statementAntoine Pitrou2013-01-171-1/+0
| |
* | Closes #16126: PyErr_Format format mismatch in _testcapimodule.cJesus Cea2012-10-041-0/+11
| |
* | Merge 3.2.Stefan Krah2012-08-211-0/+8
|\ \ | |/
| * Issue #15736: Fix overflow in _PySequence_BytesToCharpArray().Stefan Krah2012-08-211-0/+8
| |
* | Merge 3.2.Stefan Krah2012-08-201-0/+10
|\ \ | |/
| * Issue #15738: Fix a missing NULL check in subprocess_fork_exec().Stefan Krah2012-08-201-0/+10
| |
* | Merge 3.2.Stefan Krah2012-08-201-0/+13
|\ \ | |/
| * Issue #15732: Fix (constructed) crash in _PySequence_BytesToCharpArray().Stefan Krah2012-08-201-0/+13
| | | | | | | | Found by Coverity.
* | Issue #14769: Incorporated mildly pedantic feedback from python-dev.Larry Hastings2012-06-221-19/+21
| | | | | | | | | | Mostly documentation changes; the code changes are clarifications, not semantic changes.
* | Issue #14769: test_capi now has SkipitemTest, which cleverly checksLarry Hastings2012-06-221-1/+70
| | | | | | | | | | for "parity" between PyArg_ParseTuple() and the Python/getargs.c static function skipitem() for all possible "format units".
* | Issue #9116: Allowed test to pass on Windows by adjusting the test condition ↵Vinay Sajip2012-05-061-2/+2
| | | | | | | | slightly to allow for a Windows-specific error message.
* | Issue #14098: New functions PyErr_GetExcInfo and PyErr_SetExcInfo.Martin v. Löwis2012-04-191-0/+23
| | | | | | | | Patch by Stefan Behnel.
* | Test running of code in a sub-interpreterAntoine Pitrou2012-01-171-0/+17
|\ \ | |/ | | | | (prelude to issue #6531).
| * Test running of code in a sub-interpreterAntoine Pitrou2012-01-171-0/+17
| | | | | | | | (prelude to issue #6531).
* | Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.Antoine Pitrou2011-06-301-0/+3
|\ \ | |/
| * Issue #12407: Explicitly skip test_capi.EmbeddingTest under Windows.Antoine Pitrou2011-06-301-0/+3
| |
* | Close #12028: Make threading._get_ident() public, rename it toVictor Stinner2011-05-301-3/+2
|/ | | | | threading.get_ident() and document it. This function was used by _thread.get_ident().