https://github.com/python/cpython/commit/529012e26fc43d9b101b034d372b443a24bdf2af
commit: 529012e26fc43d9b101b034d372b443a24bdf2af
branch: main
author: Adam Turner <9087854+aa-tur...@users.noreply.github.com>
committer: AA-Turner <9087854+aa-tur...@users.noreply.github.com>
date: 2025-05-06T02:08:42+01:00
summary:

Remove duplicate includes: Include/internal/ (#132624)

files:
M Include/internal/pycore_code.h
M Include/internal/pycore_runtime_init.h

diff --git a/Include/internal/pycore_code.h b/Include/internal/pycore_code.h
index e1fd483d4a1bee..4ffa0386115d10 100644
--- a/Include/internal/pycore_code.h
+++ b/Include/internal/pycore_code.h
@@ -434,8 +434,6 @@ write_location_entry_start(uint8_t *ptr, int code, int 
length)
  * On a specialization failure, the backoff counter is restarted.
  */
 
-#include "pycore_backoff.h"
-
 // A value of 1 means that we attempt to specialize the *second* time each
 // instruction is executed. Executing twice is a much better indicator of
 // "hotness" than executing once, but additional warmup delays only prevent
diff --git a/Include/internal/pycore_runtime_init.h 
b/Include/internal/pycore_runtime_init.h
index 2b2e439681f459..4200d91a2fcd9d 100644
--- a/Include/internal/pycore_runtime_init.h
+++ b/Include/internal/pycore_runtime_init.h
@@ -233,8 +233,6 @@ extern PyTypeObject _PyExc_MemoryError;
         ._data = (LITERAL), \
     }
 
-#include "pycore_runtime_init_generated.h"
-
 #ifdef __cplusplus
 }
 #endif

_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-le...@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: arch...@mail-archive.com

Reply via email to