Skip to content

Commit 3dc0653

Browse files
author
Git for Windows Build Agent
committed
Update 2 packages
mingw-w64-i686-python (3.12.8-2 -> 3.12.9-1) mingw-w64-x86_64-python (3.12.8-2 -> 3.12.9-1) Signed-off-by: Git for Windows Build Agent <[email protected]>
1 parent f03ab36 commit 3dc0653

File tree

423 files changed

+6669
-1113
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

423 files changed

+6669
-1113
lines changed

mingw32/bin/libpython3.12.dll

0 Bytes
Binary file not shown.

mingw32/bin/libpython3.dll

-512 Bytes
Binary file not shown.

mingw32/bin/python.exe

0 Bytes
Binary file not shown.

mingw32/bin/python3.12.exe

0 Bytes
Binary file not shown.

mingw32/bin/python3.exe

0 Bytes
Binary file not shown.

mingw32/bin/python3w.exe

0 Bytes
Binary file not shown.

mingw32/bin/pythonw.exe

0 Bytes
Binary file not shown.

mingw32/include/python3.12/cpython/pytime.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ functions and constants
5353
extern "C" {
5454
#endif
5555

56-
#ifdef __clang__
56+
#if defined(__clang__) || defined(_MSC_VER)
5757
struct timeval;
5858
#endif
5959

mingw32/include/python3.12/internal/pycore_object.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ static inline void _Py_RefcntAdd(PyObject* op, Py_ssize_t n)
6565
_Py_AddRefTotal(_PyInterpreterState_GET(), n);
6666
#endif
6767
op->ob_refcnt += n;
68+
69+
// Although the ref count was increased by `n` (which may be greater than 1)
70+
// it is only a single increment (i.e. addition) operation, so only 1 refcnt
71+
// increment operation is counted.
72+
_Py_INCREF_STAT_INC();
6873
}
6974
#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)
7075

mingw32/include/python3.12/internal/pycore_pyerrors.h

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,18 @@ PyAPI_FUNC(void) _PyErr_SetString(
7575
PyObject *exception,
7676
const char *string);
7777

78+
/*
79+
* Set an exception with the error message decoded from the current locale
80+
* encoding (LC_CTYPE).
81+
*
82+
* Exceptions occurring in decoding take priority over the desired exception.
83+
*
84+
* Exported for '_ctypes' shared extensions.
85+
*/
86+
PyAPI_FUNC(void) _PyErr_SetLocaleString(
87+
PyObject *exception,
88+
const char *string);
89+
7890
PyAPI_FUNC(PyObject *) _PyErr_Format(
7991
PyThreadState *tstate,
8092
PyObject *exception,

0 commit comments

Comments
 (0)