summaryrefslogtreecommitdiffstats
path: root/Include/Python.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2024-03-20 14:44:05 (GMT)
committerGitHub <noreply@github.com>2024-03-20 14:44:05 (GMT)
commitda2f9d1417a7d28df6e1ced87d64ecf28acb0a5f (patch)
tree9b1c411e9c5ba14971109cc512c10dcdde2bcd5a /Include/Python.h
parent0325a8a8cdba6c091bcbbb3c995f3bf1d1217012 (diff)
downloadcpython-da2f9d1417a7d28df6e1ced87d64ecf28acb0a5f.zip
cpython-da2f9d1417a7d28df6e1ced87d64ecf28acb0a5f.tar.gz
cpython-da2f9d1417a7d28df6e1ced87d64ecf28acb0a5f.tar.bz2
[3.12] gh-117021: Fix integer overflow in PyLong_AsPid() on non-Windows 64-bit platforms (GH-117064) (GH-117070)
(cherry picked from commit 519b2ae22b54760475bbf62b9558d453c703f9c6)
Diffstat (limited to 'Include/Python.h')
-rw-r--r--Include/Python.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/Include/Python.h b/Include/Python.h
index 52a7aac..5eddda6 100644
--- a/Include/Python.h
+++ b/Include/Python.h
@@ -49,6 +49,9 @@
#include "bytearrayobject.h"
#include "bytesobject.h"
#include "unicodeobject.h"
+#include "cpython/initconfig.h"
+#include "pystate.h"
+#include "pyerrors.h"
#include "longobject.h"
#include "cpython/longintrepr.h"
#include "boolobject.h"
@@ -74,8 +77,6 @@
#include "sliceobject.h"
#include "cpython/cellobject.h"
#include "iterobject.h"
-#include "cpython/initconfig.h"
-#include "pystate.h"
#include "cpython/genobject.h"
#include "descrobject.h"
#include "genericaliasobject.h"
@@ -85,7 +86,6 @@
#include "cpython/picklebufobject.h"
#include "cpython/pytime.h"
#include "codecs.h"
-#include "pyerrors.h"
#include "pythread.h"
#include "cpython/context.h"
#include "modsupport.h"