| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | gh-110964: Remove private _PyArg functions (#110966) | Victor Stinner | 2023-10-17 | 1 | -0/+5 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Move the following private functions and structures to pycore_modsupport.h internal C API: * _PyArg_BadArgument() * _PyArg_CheckPositional() * _PyArg_NoKeywords() * _PyArg_NoPositional() * _PyArg_ParseStack() * _PyArg_ParseStackAndKeywords() * _PyArg_Parser structure * _PyArg_UnpackKeywords() * _PyArg_UnpackKeywordsWithVararg() * _PyArg_UnpackStack() * _Py_ANY_VARARGS() Changes: * Python/getargs.h now includes pycore_modsupport.h to export functions. * clinic.py now adds pycore_modsupport.h when one of these functions is used. * Add pycore_modsupport.h includes when a C extension uses one of these functions. * Define Py_BUILD_CORE_MODULE in C extensions which now include directly or indirectly (via code generated by Argument Clinic) pycore_modsupport.h: * _csv * _curses_panel * _dbm * _gdbm * _multiprocessing.posixshmem * _sqlite.row * _statistics * grp * resource * syslog * _testcapi: bad_get() no longer uses METH_FASTCALL calling convention but METH_VARARGS. Replace _PyArg_UnpackStack() with PyArg_ParseTuple(). * _testcapi: add PYTESTCAPI_NEED_INTERNAL_API macro which is defined by _testcapi sub-modules which need the internal C API (pycore_modsupport.h): exceptions.c, float.c, vectorcall.c, watchers.c. * Remove Include/cpython/modsupport.h header file. Include/modsupport.h no longer includes the removed header file. * Fix mypy clinic.py | ||||
| * | gh-99113: Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (gh-104205) | Eric Snow | 2023-05-05 | 1 | -0/+1 |
| | | | | Here we are doing no more than adding the value for Py_mod_multiple_interpreters and using it for stdlib modules. We will start checking for it in gh-104206 (once PyInterpreterState.ceval.own_gil is added in gh-104204). | ||||
| * | Statistics inv_cdf sync with corresponding random module normal ↵ | Raymond Hettinger | 2022-07-26 | 1 | -1/+1 |
| | | | | | distributions (#95265) | ||||
| * | bpo-40268: Remove unused structmember.h includes (GH-19530) | Victor Stinner | 2020-04-15 | 1 | -1/+0 |
| | | | | | | | If only offsetof() is needed: include stddef.h instead. When structmember.h is used, add a comment explaining that PyMemberDef is used. | ||||
| * | bpo-1635741: Port _statistics module to multiphase initialization (GH-19015) | Dong-hee Na | 2020-03-16 | 1 | -3/+7 |
| | | |||||
| * | Clean up module initialization. (GH-17215) | Brandt Bucher | 2019-11-19 | 1 | -3/+1 |
| | | |||||
| * | bpo-37798: Prevent undefined behavior in direct calls to the C helper ↵ | Raymond Hettinger | 2019-09-15 | 1 | -1/+17 |
| | | | | | function. (#16149) | ||||
| * | bpo-37798: Fix _statistics module doc (GH-15546) | Dong-hee Na | 2019-09-03 | 1 | -1/+4 |
| | | |||||
| * | bpo-37798: Minor code formatting and comment clean-ups. (GH-15526) | Raymond Hettinger | 2019-08-26 | 1 | -13/+22 |
| | | |||||
| * | bpo-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (GH-15266) | Dong-hee Na | 2019-08-23 | 1 | -0/+122 |
