bpo-35081: Add pycore_ prefix to internal header files (GH-10263) · python/cpython@27e2d1f

GitHub

File renamed without changes.

Original file line numberDiff line numberDiff line change@@ -4,7 +4,7 @@

44extern"C" {

55#endif

667-#include"internal/pyatomic.h"

7+#include"pycore_atomic.h"

88#include"pythread.h"

991010struct_pending_calls {

@@ -25,7 +25,7 @@ struct _pending_calls {

2525intlast;

2626};

272728-#include"internal/gil.h"

28+#include"pycore_gil.h"

29293030struct_ceval_runtime_state {

3131intrecursion_limit;

File renamed without changes.

Original file line numberDiff line numberDiff line change@@ -2,7 +2,7 @@

22#definePy_INTERNAL_CONTEXT_H

33445-#include"internal/hamt.h"

5+#include"pycore_hamt.h"

667788struct_pycontextobject {

File renamed without changes.

Original file line numberDiff line numberDiff line change@@ -4,8 +4,8 @@

44extern"C" {

55#endif

667-#include"internal/condvar.h"

8-#include"internal/pyatomic.h"

7+#include"pycore_condvar.h"

8+#include"pycore_atomic.h"

991010#ifndefPy_HAVE_CONDVAR

1111# error You need either a POSIX-compatible or a Windows system!

File renamed without changes.

File renamed without changes.

File renamed without changes.

Original file line numberDiff line numberDiff line change@@ -7,9 +7,9 @@ extern "C" {

77#include"pystate.h"

88#include"pythread.h"

9910-#include"internal/mem.h"

11-#include"internal/ceval.h"

12-#include"internal/warnings.h"

10+#include"pycore_mem.h"

11+#include"pycore_ceval.h"

12+#include"pycore_warnings.h"

131314141515/* GIL state */