mirror of
https://github.com/python/cpython.git
synced 2025-10-03 05:35:59 +00:00
[3.13] GH-118844: Fix build failures when combining --disable-gil with --enable-experimental-jit (GH-118959)
(cherry picked from commit 5b941e57c7
)
Co-authored-by: Savannah Ostrowski <savannahostrowski@gmail.com>
This commit is contained in:
parent
6e855b30a9
commit
9d2c10bee3
4 changed files with 5 additions and 3 deletions
|
@ -842,7 +842,7 @@ class Popen:
|
||||||
raise TypeError("bufsize must be an integer")
|
raise TypeError("bufsize must be an integer")
|
||||||
|
|
||||||
if stdout is STDOUT:
|
if stdout is STDOUT:
|
||||||
raise ValueError("STDOUT can only be used for stderr")
|
raise ValueError("STDOUT can only be used for stderr")
|
||||||
|
|
||||||
if pipesize is None:
|
if pipesize is None:
|
||||||
pipesize = -1 # Restore default
|
pipesize = -1 # Restore default
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
Fix build failures when configuring with both ``--disable-gil`` and ``--enable-experimental-jit``.
|
|
@ -5,6 +5,7 @@
|
||||||
#include "pycore_abstract.h"
|
#include "pycore_abstract.h"
|
||||||
#include "pycore_call.h"
|
#include "pycore_call.h"
|
||||||
#include "pycore_ceval.h"
|
#include "pycore_ceval.h"
|
||||||
|
#include "pycore_critical_section.h"
|
||||||
#include "pycore_dict.h"
|
#include "pycore_dict.h"
|
||||||
#include "pycore_intrinsics.h"
|
#include "pycore_intrinsics.h"
|
||||||
#include "pycore_long.h"
|
#include "pycore_long.h"
|
||||||
|
|
|
@ -174,8 +174,8 @@ static const uint8_t DwarfDataRel = 0x30;
|
||||||
typedef struct {
|
typedef struct {
|
||||||
unsigned char version;
|
unsigned char version;
|
||||||
unsigned char eh_frame_ptr_enc;
|
unsigned char eh_frame_ptr_enc;
|
||||||
unsigned char fde_count_enc;
|
unsigned char fde_count_enc;
|
||||||
unsigned char table_enc;
|
unsigned char table_enc;
|
||||||
int32_t eh_frame_ptr;
|
int32_t eh_frame_ptr;
|
||||||
int32_t eh_fde_count;
|
int32_t eh_fde_count;
|
||||||
int32_t from;
|
int32_t from;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue