Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | test_capi.test__testcapi() becomes more verbose (#4197) | Victor Stinner | 2017-10-31 | 1 | -4/+9 |
| | | | | Write the name of each subtest on a new line to help debugging when a test does crash Python. | ||||
* | bpo-28280: Make PyMapping_Keys(), PyMapping_Values() and PyMapping_Items() ↵ | Oren Milman | 2017-10-08 | 1 | -1/+45 |
| | | | | always return a list (#3840) | ||||
* | bpo-31370: Remove support for threads-less builds (#3385) | Antoine Pitrou | 2017-09-07 | 1 | -8/+2 |
| | | | | | | * Remove Setup.config * Always define WITH_THREAD for compatibility. | ||||
* | bpo-30695: Add set_nomemory(start, stop) to _testcapi (GH-2406) | xdegaye | 2017-07-01 | 1 | -1/+33 |
| | |||||
* | bpo-28180: Fix test_capi.test_forced_io_encoding() (#2155) | Victor Stinner | 2017-06-13 | 1 | -1/+1 |
| | | | | | Don't run Python in an empty environment, but copy the current environment and set PYTHONIOENCODING. So the test works also on Python compiled in shared mode (using libpython). | ||||
* | bpo-28180: Implementation for PEP 538 (#659) | Nick Coghlan | 2017-06-11 | 1 | -19/+16 |
| | | | | | | | | | | - new PYTHONCOERCECLOCALE config setting - coerces legacy C locale to C.UTF-8, C.utf8 or UTF-8 by default - always uses C.UTF-8 on Android - uses `surrogateescape` on stdin and stdout in the coercion target locales - configure option to disable locale coercion at build time - configure option to disable C locale warning at build time | ||||
* | bpo-30447: Fix/skip the subinterpreters test on some platforms. (#1791) | Eric Snow | 2017-05-25 | 1 | -43/+42 |
| | |||||
* | bpo-29102: Add a unique ID to PyInterpreterState. (#1639) | Eric Snow | 2017-05-23 | 1 | -5/+86 |
| | |||||
* | bpo-30184: Add tests for invalid use of PyArg_ParseTupleAndKeywords. (#1316) | Serhiy Storchaka | 2017-05-03 | 1 | -18/+41 |
| | |||||
* | bpo-30065: Fixed arguments validation in _posixsubprocess.fork_exec(). (#1110) | Serhiy Storchaka | 2017-04-19 | 1 | -3/+3 |
| | |||||
* | bpo-29951: Include function name for some error messages in ↵ | Michael Seifert | 2017-04-09 | 1 | -4/+4 |
| | | | | | | | `PyArg_ParseTuple*` (#916) Also changed format specifier for function name from "%s" to "%.200s" and exception messages should start with lowercase letter. | ||||
* | Issue #24932: Use proper command line parsing in _testembed | Steve Dower | 2017-01-02 | 1 | -1/+1 |
| | |||||
* | Issue #28410: Added _PyErr_FormatFromCause() -- the helper for raising | Serhiy Storchaka | 2016-10-21 | 1 | -2/+2 |
| | | | | | | | | new exception with setting current exception as __cause__. _PyErr_FormatFromCause(exception, format, args...) is equivalent to Python raise exception(format % args) from sys.exc_info()[1] | ||||
* | Issue #28484: Skip tests if GIL is not used or multithreading is disabled | Martin Panter | 2016-10-20 | 1 | -0/+1 |
| | |||||
* | #27364: fix "incorrect" uses of escape character in the stdlib. | R David Murray | 2016-09-08 | 1 | -5/+5 |
| | | | | | | | And most of the tools. Patch by Emanual Barry, reviewed by me, Serhiy Storchaka, and Martin Panter. | ||||
* | Issue #26282: PyArg_ParseTupleAndKeywords() and Argument Clinic now support | Serhiy Storchaka | 2016-06-09 | 1 | -0/+25 |
| | | | | positional-only and keyword parameters in the same function. | ||||
* | Issue #27076: Merge spelling from 3.5 | Martin Panter | 2016-05-26 | 1 | -1/+1 |
|\ | |||||
| * | Issue #27076: Doc, comment and tests spelling fixes | Martin Panter | 2016-05-26 | 1 | -1/+1 |
| | | | | | | | | Most fixes to Doc/ and Lib/ directories by Ville Skyttä. | ||||
* | | Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N" | Serhiy Storchaka | 2016-05-20 | 1 | -0/+3 |
|\ \ | |/ | | | | | format unit. | ||||
| * | Issue #26168: Fixed possible refleaks in failing Py_BuildValue() with the "N" | Serhiy Storchaka | 2016-05-20 | 1 | -0/+3 |
| | | | | | | | | format unit. | ||||
* | | Fail if PyMem_Malloc() is called without holding the GIL | Victor Stinner | 2016-03-16 | 1 | -4/+13 |
| | | | | | | | | | | Issue #26563: Debug hooks on Python memory allocators now raise a fatal error if functions of the PyMem_Malloc() family are called without holding the GIL. | ||||
* | | Issue #26564: Fix test_capi | Victor Stinner | 2016-03-15 | 1 | -0/+2 |
| | | |||||
* | | Check the GIL in PyObject_Malloc() | Victor Stinner | 2016-03-14 | 1 | -9/+21 |
| | | | | | | | | | | Issue #26558: The debug hook of PyObject_Malloc() now checks that the GIL is held when the function is called. | ||||
* | | Issue #26516: Fix test_capi on AIX | Victor Stinner | 2016-03-14 | 1 | -1/+1 |
| | | | | | | | | Fix regex for parse a pointer address. | ||||
* | | Issue #26516: Fix test_capi on 32-bit system | Victor Stinner | 2016-03-14 | 1 | -11/+9 |
| | | | | | | | | On 32-bit system, only 4 bytes after dumped for the tail. | ||||
* | | Issue #26516: Fix test_capi on Windows | Victor Stinner | 2016-03-14 | 1 | -4/+8 |
| | | | | | | | | Pointers are formatted differently. | ||||
* | | Add PYTHONMALLOC env var | Victor Stinner | 2016-03-14 | 1 | -0/+59 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | Issue #26516: * Add PYTHONMALLOC environment variable to set the Python memory allocators and/or install debug hooks. * PyMem_SetupDebugHooks() can now also be used on Python compiled in release mode. * The PYTHONMALLOCSTATS environment variable can now also be used on Python compiled in release mode. It now has no effect if set to an empty string. * In debug mode, debug hooks are now also installed on Python memory allocators when Python is configured without pymalloc. | ||||
* | | Issue #26312: SystemError is now raised in all programming bugs with using | Serhiy Storchaka | 2016-02-11 | 1 | -2/+2 |
| | | | | | | | | | | PyArg_ParseTupleAndKeywords(). RuntimeError did raised before in some programming bugs. | ||||
* | | Issue #26198: ValueError is now raised instead of TypeError on buffer | Serhiy Storchaka | 2016-02-07 | 1 | -2/+2 |
|/ | | | | | overflow in parsing "es#" and "et#" format units. SystemError is now raised instead of TypeError on programmical error in parsing format string. | ||||
* | Issue #26198: Fixed error messages for some argument parsing errors. | Serhiy Storchaka | 2016-02-07 | 1 | -1/+1 |
| | | | | | Fixed the documented about buffer overflow error for "es#" and "et#" format units. | ||||
* | Issue #25800: Merge with 3.4 | Zachary Ware | 2015-12-05 | 1 | -1/+2 |
|\ | |||||
| * | Issue #25800: Fix running test_capi directly | Zachary Ware | 2015-12-05 | 1 | -1/+2 |
| | | |||||
* | | Issue #9517: Move script_helper to the support package. | Berker Peksag | 2015-05-06 | 1 | -1/+1 |
| | | | | | | | | Patch by Christie Wilson. | ||||
* | | Issue #20586: Argument Clinic now ensures signatures on functions without ↵ | Zachary Ware | 2015-04-13 | 1 | -1/+5 |
| | | | | | | | | docstrings. | ||||
* | | Issue #23799: Added test.support.start_threads() for running and cleaning up | Serhiy Storchaka | 2015-04-01 | 1 | -9/+5 |
|\ \ | |/ | | | | | multiple threads. | ||||
| * | Issue #23799: Added test.support.start_threads() for running and cleaning up | Serhiy Storchaka | 2015-04-01 | 1 | -9/+5 |
| | | | | | | | | multiple threads. | ||||
* | | Issue #23571: Enhance _Py_CheckFunctionResult() | Victor Stinner | 2015-03-24 | 1 | -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_capi | Victor Stinner | 2015-03-24 | 1 | -2/+23 |
| | | |||||
* | | Issue #23571: Fix test_capi | Victor Stinner | 2015-03-21 | 1 | -2/+2 |
| | | |||||
* | | Issue #23571: _Py_CheckFunctionResult() now gives the name of the function | Victor Stinner | 2015-03-21 | 1 | -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 newlines | Steve Dower | 2014-11-01 | 1 | -3/+4 |
| | | |||||
* | | Issue #18093: fix test_capi test skip due to _testembed move | Nick Coghlan | 2014-09-25 | 1 | -1/+1 |
| | | |||||
* | | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176) | Benjamin Peterson | 2014-04-10 | 1 | -0/+17 |
| | | |||||
* | | Issue #19977: Fix test_capi when LC_CTYPE locale is POSIX | Victor Stinner | 2014-03-18 | 1 | -14/+18 |
|/ | |||||
* | Issue #20530: Argument Clinic's signature format has been revised again. | Larry Hastings | 2014-02-09 | 1 | -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 Storchaka | 2014-02-07 | 1 | -1/+2 |
|\ | |||||
| * | Issue #20532: Tests which use _testcapi now are marked as CPython only. | Serhiy Storchaka | 2014-02-07 | 1 | -1/+2 |
| | | |||||
* | | Issue #20326: Argument Clinic now uses a simple, unique signature to | Larry Hastings | 2014-01-28 | 1 | -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 Hastings | 2014-01-24 | 1 | -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 Hastings | 2013-11-24 | 1 | -0/+3 |
| | |