Skip to content

Commit

Permalink
Update 2 packages
Browse files Browse the repository at this point in the history
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]>
  • Loading branch information
Git for Windows Build Agent committed Feb 7, 2025
1 parent f03ab36 commit 3dc0653
Show file tree
Hide file tree
Showing 423 changed files with 6,669 additions and 1,113 deletions.
Binary file modified mingw32/bin/libpython3.12.dll
Binary file not shown.
Binary file modified mingw32/bin/libpython3.dll
Binary file not shown.
Binary file modified mingw32/bin/python.exe
Binary file not shown.
Binary file modified mingw32/bin/python3.12.exe
Binary file not shown.
Binary file modified mingw32/bin/python3.exe
Binary file not shown.
Binary file modified mingw32/bin/python3w.exe
Binary file not shown.
Binary file modified mingw32/bin/pythonw.exe
Binary file not shown.
2 changes: 1 addition & 1 deletion mingw32/include/python3.12/cpython/pytime.h
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ functions and constants
extern "C" {
#endif

#ifdef __clang__
#if defined(__clang__) || defined(_MSC_VER)
struct timeval;
#endif

Expand Down
5 changes: 5 additions & 0 deletions mingw32/include/python3.12/internal/pycore_object.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ static inline void _Py_RefcntAdd(PyObject* op, Py_ssize_t n)
_Py_AddRefTotal(_PyInterpreterState_GET(), n);
#endif
op->ob_refcnt += n;

// Although the ref count was increased by `n` (which may be greater than 1)
// it is only a single increment (i.e. addition) operation, so only 1 refcnt
// increment operation is counted.
_Py_INCREF_STAT_INC();
}
#define _Py_RefcntAdd(op, n) _Py_RefcntAdd(_PyObject_CAST(op), n)

Expand Down
12 changes: 12 additions & 0 deletions mingw32/include/python3.12/internal/pycore_pyerrors.h
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,18 @@ PyAPI_FUNC(void) _PyErr_SetString(
PyObject *exception,
const char *string);

/*
* Set an exception with the error message decoded from the current locale
* encoding (LC_CTYPE).
*
* Exceptions occurring in decoding take priority over the desired exception.
*
* Exported for '_ctypes' shared extensions.
*/
PyAPI_FUNC(void) _PyErr_SetLocaleString(
PyObject *exception,
const char *string);

PyAPI_FUNC(PyObject *) _PyErr_Format(
PyThreadState *tstate,
PyObject *exception,
Expand Down
4 changes: 2 additions & 2 deletions mingw32/include/python3.12/patchlevel.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,12 +18,12 @@
/*--start constants--*/
#define PY_MAJOR_VERSION 3
#define PY_MINOR_VERSION 12
#define PY_MICRO_VERSION 8
#define PY_MICRO_VERSION 9
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
#define PY_RELEASE_SERIAL 0

/* Version as a string */
#define PY_VERSION "3.12.8"
#define PY_VERSION "3.12.9"
/*--end constants--*/

/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
Expand Down
7 changes: 5 additions & 2 deletions mingw32/include/python3.12/pyconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,9 @@
/* Define to 1 if you have the <sys/param.h> header file. */
#define HAVE_SYS_PARAM_H 1

/* Define to 1 if you have the <sys/pidfd.h> header file. */
/* #undef HAVE_SYS_PIDFD_H */

/* Define to 1 if you have the <sys/poll.h> header file. */
/* #undef HAVE_SYS_POLL_H */

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

/* Define to 1 if you have the `ttyname' function. */
/* #undef HAVE_TTYNAME */
/* Define to 1 if you have the `ttyname_r' function. */
/* #undef HAVE_TTYNAME_R */

/* Define to 1 if you don't have `tm_zone' but do have the external array
`tzname'. */
Expand Down
9 changes: 9 additions & 0 deletions mingw32/include/python3.12/pymacro.h
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,15 @@
*/
#if defined(__GNUC__) || defined(__clang__)
# define Py_UNUSED(name) _unused_ ## name __attribute__((unused))
#elif defined(_MSC_VER)
// Disable warning C4100: unreferenced formal parameter,
// declare the parameter,
// restore old compiler warnings.
# define Py_UNUSED(name) \
__pragma(warning(push)) \
__pragma(warning(suppress: 4100)) \
_unused_ ## name \
__pragma(warning(pop))
#else
# define Py_UNUSED(name) _unused_ ## name
#endif
Expand Down
11 changes: 8 additions & 3 deletions mingw32/include/python3.12/tracemalloc.h
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
#ifndef Py_TRACEMALLOC_H
#define Py_TRACEMALLOC_H

#ifndef Py_LIMITED_API
#ifdef __cplusplus
extern "C" {
#endif

/* Track an allocated memory block in the tracemalloc module.
Return 0 on success, return -1 on error (failed to allocate memory to store
the trace).
Expand Down Expand Up @@ -47,7 +50,7 @@ PyAPI_FUNC(PyObject *) _PyTraceMalloc_GetTraces(void);
PyAPI_FUNC(PyObject *) _PyTraceMalloc_GetObjectTraceback(PyObject *obj);

/* Initialize tracemalloc */
PyAPI_FUNC(int) _PyTraceMalloc_Init(void);
PyAPI_FUNC(PyStatus) _PyTraceMalloc_Init(void);

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

#ifdef __cplusplus
}
#endif

#endif /* !Py_LIMITED_API */
#endif /* !Py_TRACEMALLOC_H */
Binary file modified mingw32/lib/libpython3.12.dll.a
Binary file not shown.
1 change: 0 additions & 1 deletion mingw32/lib/python3.12/_pydatetime.py
Original file line number Diff line number Diff line change
Expand Up @@ -2313,7 +2313,6 @@ def __reduce__(self):

def _isoweek1monday(year):
# Helper to calculate the day number of the Monday starting week 1
# XXX This could be done more efficiently
THURSDAY = 3
firstday = _ymd2ord(year, 1, 1)
firstweekday = (firstday + 6) % 7 # See weekday() above
Expand Down
4 changes: 2 additions & 2 deletions mingw32/lib/python3.12/_pydecimal.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class DecimalException(ArithmeticError):
Used exceptions derive from this.
If an exception derives from another exception besides this (such as
Underflow (Inexact, Rounded, Subnormal) that indicates that it is only
Underflow (Inexact, Rounded, Subnormal)) that indicates that it is only
called if the others are present. This isn't actually used for
anything, though.
Expand Down Expand Up @@ -145,7 +145,7 @@ class InvalidOperation(DecimalException):
x ** (+-)INF
An operand is invalid
The result of the operation after these is a quiet positive NaN,
The result of the operation after this is a quiet positive NaN,
except when the cause is a signaling NaN, in which case the result is
also a quiet NaN, but with the original sign, and an optional
diagnostic information.
Expand Down
2 changes: 0 additions & 2 deletions mingw32/lib/python3.12/_strptime.py
Original file line number Diff line number Diff line change
Expand Up @@ -300,8 +300,6 @@ def __init__(self, locale_time=None):
'V': r"(?P<V>5[0-3]|0[1-9]|[1-4]\d|\d)",
# W is set below by using 'U'
'y': r"(?P<y>\d\d)",
#XXX: Does 'Y' need to worry about having less or more than
# 4 digits?
'Y': r"(?P<Y>\d\d\d\d)",
'z': r"(?P<z>[+-]\d\d:?[0-5]\d(:?[0-5]\d(\.\d{1,6})?)?|(?-i:Z))",
'A': self.__seqToRE(self.locale_time.f_weekday, 'A'),
Expand Down
Loading

0 comments on commit 3dc0653

Please sign in to comment.