mirror of
https://github.com/python/cpython.git
synced 2025-08-04 17:08:35 +00:00
gh-109599: Expose CapsuleType
via the _types
module (#131969)
This commit is contained in:
parent
7473c600a5
commit
231a50fa9a
10 changed files with 82 additions and 12 deletions
28
configure
generated
vendored
28
configure
generated
vendored
|
@ -783,6 +783,8 @@ MODULE__INTERPRETERS_FALSE
|
|||
MODULE__INTERPRETERS_TRUE
|
||||
MODULE__TYPING_FALSE
|
||||
MODULE__TYPING_TRUE
|
||||
MODULE__TYPES_FALSE
|
||||
MODULE__TYPES_TRUE
|
||||
MODULE__STRUCT_FALSE
|
||||
MODULE__STRUCT_TRUE
|
||||
MODULE_SELECT_FALSE
|
||||
|
@ -31008,6 +31010,28 @@ then :
|
|||
|
||||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
if test "$py_cv_module__types" != "n/a"
|
||||
then :
|
||||
py_cv_module__types=yes
|
||||
fi
|
||||
if test "$py_cv_module__types" = yes; then
|
||||
MODULE__TYPES_TRUE=
|
||||
MODULE__TYPES_FALSE='#'
|
||||
else
|
||||
MODULE__TYPES_TRUE='#'
|
||||
MODULE__TYPES_FALSE=
|
||||
fi
|
||||
|
||||
as_fn_append MODULE_BLOCK "MODULE__TYPES_STATE=$py_cv_module__types$as_nl"
|
||||
if test "x$py_cv_module__types" = xyes
|
||||
then :
|
||||
|
||||
|
||||
|
||||
|
||||
fi
|
||||
|
||||
|
||||
|
@ -33723,6 +33747,10 @@ if test -z "${MODULE__STRUCT_TRUE}" && test -z "${MODULE__STRUCT_FALSE}"; then
|
|||
as_fn_error $? "conditional \"MODULE__STRUCT\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${MODULE__TYPES_TRUE}" && test -z "${MODULE__TYPES_FALSE}"; then
|
||||
as_fn_error $? "conditional \"MODULE__TYPES\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
fi
|
||||
if test -z "${MODULE__TYPING_TRUE}" && test -z "${MODULE__TYPING_FALSE}"; then
|
||||
as_fn_error $? "conditional \"MODULE__TYPING\" was never defined.
|
||||
Usually this means the macro was only invoked conditionally." "$LINENO" 5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue