Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc7f6535

Browse files
authored
gh-131624: Fix posix_spawn tests failing on NetBSD with stack limit assertions (GH-131625)
Fix recursive limit assertions on NetBSD for posix_spawn.
1 parent00cf5ea commitc7f6535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎Python/ceval.c‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -437,7 +437,7 @@ _Py_InitializeRecursionLimits(PyThreadState *tstate)
437437
_tstate->c_stack_soft_limit=_tstate->c_stack_hard_limit+PYOS_STACK_MARGIN_BYTES;
438438
#else
439439
uintptr_there_addr=_Py_get_machine_stack_pointer();
440-
# if defined(HAVE_PTHREAD_GETATTR_NP)&& !defined(_AIX)
440+
# if defined(HAVE_PTHREAD_GETATTR_NP)&& !defined(_AIX)&& !defined(__NetBSD__)
441441
size_tstack_size,guard_size;
442442
void*stack_addr;
443443
pthread_attr_tattr;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp