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,

mingw32/include/python3.12/patchlevel.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,12 +18,12 @@
1818
/*--start constants--*/
1919
#define PY_MAJOR_VERSION 3
2020
#define PY_MINOR_VERSION 12
21-
#define PY_MICRO_VERSION 8
21+
#define PY_MICRO_VERSION 9
2222
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
2323
#define PY_RELEASE_SERIAL 0
2424

2525
/* Version as a string */
26-
#define PY_VERSION "3.12.8"
26+
#define PY_VERSION "3.12.9"
2727
/*--end constants--*/
2828

2929
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.

mingw32/include/python3.12/pyconfig.h

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1333,6 +1333,9 @@
13331333
/* Define to 1 if you have the <sys/param.h> header file. */
13341334
#define HAVE_SYS_PARAM_H 1
13351335

1336+
/* Define to 1 if you have the <sys/pidfd.h> header file. */
1337+
/* #undef HAVE_SYS_PIDFD_H */
1338+
13361339
/* Define to 1 if you have the <sys/poll.h> header file. */
13371340
/* #undef HAVE_SYS_POLL_H */
13381341

@@ -1436,8 +1439,8 @@
14361439
/* Define to 1 if you have the `truncate' function. */
14371440
/* #undef HAVE_TRUNCATE */
14381441

1439-
/* Define to 1 if you have the `ttyname' function. */
1440-
/* #undef HAVE_TTYNAME */
1442+
/* Define to 1 if you have the `ttyname_r' function. */
1443+
/* #undef HAVE_TTYNAME_R */
14411444

14421445
/* Define to 1 if you don't have `tm_zone' but do have the external array
14431446
`tzname'. */

mingw32/include/python3.12/pymacro.h

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -118,6 +118,15 @@
118118
*/
119119
#if defined(__GNUC__) || defined(__clang__)
120120
# define Py_UNUSED(name) _unused_ ## name __attribute__((unused))
121+
#elif defined(_MSC_VER)
122+
// Disable warning C4100: unreferenced formal parameter,
123+
// declare the parameter,
124+
// restore old compiler warnings.
125+
# define Py_UNUSED(name) \
126+
__pragma(warning(push)) \
127+
__pragma(warning(suppress: 4100)) \
128+
_unused_ ## name \
129+
__pragma(warning(pop))
121130
#else
122131
# define Py_UNUSED(name) _unused_ ## name
123132
#endif

mingw32/include/python3.12/tracemalloc.h

Lines changed: 8 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,10 @@
11
#ifndef Py_TRACEMALLOC_H
22
#define Py_TRACEMALLOC_H
3-
43
#ifndef Py_LIMITED_API
4+
#ifdef __cplusplus
5+
extern "C" {
6+
#endif
7+
58
/* Track an allocated memory block in the tracemalloc module.
69
Return 0 on success, return -1 on error (failed to allocate memory to store
710
the trace).
@@ -47,7 +50,7 @@ PyAPI_FUNC(PyObject *) _PyTraceMalloc_GetTraces(void);
4750
PyAPI_FUNC(PyObject *) _PyTraceMalloc_GetObjectTraceback(PyObject *obj);
4851

4952
/* Initialize tracemalloc */
50-
PyAPI_FUNC(int) _PyTraceMalloc_Init(void);
53+
PyAPI_FUNC(PyStatus) _PyTraceMalloc_Init(void);
5154

5255
/* Start tracemalloc */
5356
PyAPI_FUNC(int) _PyTraceMalloc_Start(int max_nframe);
@@ -67,6 +70,8 @@ PyAPI_FUNC(PyObject *) _PyTraceMalloc_GetTracedMemory(void);
6770
/* Set the peak size of traced memory blocks to the current size */
6871
PyAPI_FUNC(void) _PyTraceMalloc_ResetPeak(void);
6972

73+
#ifdef __cplusplus
74+
}
7075
#endif
71-
76+
#endif /* !Py_LIMITED_API */
7277
#endif /* !Py_TRACEMALLOC_H */

mingw32/lib/libpython3.12.dll.a

704 Bytes
Binary file not shown.

mingw32/lib/python3.12/_pydatetime.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2313,7 +2313,6 @@ def __reduce__(self):
23132313

23142314
def _isoweek1monday(year):
23152315
# Helper to calculate the day number of the Monday starting week 1
2316-
# XXX This could be done more efficiently
23172316
THURSDAY = 3
23182317
firstday = _ymd2ord(year, 1, 1)
23192318
firstweekday = (firstday + 6) % 7 # See weekday() above

mingw32/lib/python3.12/_pydecimal.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ class DecimalException(ArithmeticError):
9797
9898
Used exceptions derive from this.
9999
If an exception derives from another exception besides this (such as
100-
Underflow (Inexact, Rounded, Subnormal) that indicates that it is only
100+
Underflow (Inexact, Rounded, Subnormal)) that indicates that it is only
101101
called if the others are present. This isn't actually used for
102102
anything, though.
103103
@@ -145,7 +145,7 @@ class InvalidOperation(DecimalException):
145145
x ** (+-)INF
146146
An operand is invalid
147147
148-
The result of the operation after these is a quiet positive NaN,
148+
The result of the operation after this is a quiet positive NaN,
149149
except when the cause is a signaling NaN, in which case the result is
150150
also a quiet NaN, but with the original sign, and an optional
151151
diagnostic information.

mingw32/lib/python3.12/_strptime.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -300,8 +300,6 @@ def __init__(self, locale_time=None):
300300
'V': r"(?P<V>5[0-3]|0[1-9]|[1-4]\d|\d)",
301301
# W is set below by using 'U'
302302
'y': r"(?P<y>\d\d)",
303-
#XXX: Does 'Y' need to worry about having less or more than
304-
# 4 digits?
305303
'Y': r"(?P<Y>\d\d\d\d)",
306304
'z': r"(?P<z>[+-]\d\d:?[0-5]\d(:?[0-5]\d(\.\d{1,6})?)?|(?-i:Z))",
307305
'A': self.__seqToRE(self.locale_time.f_weekday, 'A'),

0 commit comments

Comments
 (0)