summaryrefslogtreecommitdiffstats
path: root/PC/_wmimodule.cpp
Commit message (Collapse)AuthorAgeFilesLines
* gh-112278: In _wmi, treat initialization timeout separately from connection ↵AN Long2023-12-081-12/+34
| | | | timeout (GH-112878)
* gh-112278: Disable WMI queries on Windows after they time out (GH-112658)AN Long2023-12-071-2/+23
|
* gh-110964: Remove private _PyArg functions (#110966)Victor Stinner2023-10-171-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-99191: Use correct check for MSVC C++ version support in _wmimodule.cpp ↵C.A.M. Gerlach2023-01-091-3/+3
| | | | (GH-100381)
* gh-96684: Silently suppress COM security errors in _wmi module (GH-96690)Steve Dower2022-09-081-0/+6
|
* gh-96665: Fixes build break on older MSVC versions due to C++20 features in ↵Steve Dower2022-09-071-0/+10
| | | | argument clinic (GH-96667)
* gh-89545: Updates platform module to use new internal _wmi module on Windows ↵Steve Dower2022-09-071-0/+307
to directly query OS properties (GH-96289)