| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
`lazy import a.b.c as d` nests one placeholder per name component. lazy_import_path() and lazy_import_replay_from() recursed over that chain without a recursion check, so a very long dotted name could overflow the C stack. Raise RecursionError instead, as the rest of lazy import resolution does.
|
FYI, the Android test failure should be fixed by either one of the PRs attached to #159320... |
Sorry, something went wrong.
|
Thanks @brittanyrey for the PR, and @Yhg1s for merging it 🌮🎉.. I'm working now to backport this PR to: 3.15. |
Sorry, something went wrong.
|
GH-159416 is a backport of this pull request to the 3.15 branch. |
Sorry, something went wrong.
…hen walking lazy import chains (GH-159289) (#159416) gh-159288: Avoid segfault by adding missing recursion checks when walking lazy import chains (GH-159289) Add missing recursion checks when walking lazy import chains `lazy import a.b.c as d` nests one placeholder per name component. lazy_import_path() and lazy_import_replay_from() recursed over that chain without a recursion check, so a very long dotted name could overflow the C stack. Raise RecursionError instead, as the rest of lazy import resolution does. (cherry picked from commit 2588362) Co-authored-by: Brittany Reynoso <breynoso@meta.com>
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 Alpine Linux 3.15 (tierless) has failed when building commit 72ab890. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/2114/builds/751 Summary of the results of the build (if available): == Click to see traceback logsNote: switching to '72ab89038441d7cd34c0d6e75873dcd7d3831dd4'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 72ab8903844 [3.15] gh-159288: Avoid segfault by adding missing recursion checks when walking lazy import chains (GH-159289) (#159416)
Switched to and reset branch '3.15'
configure: WARNING: x86_64-pc-linux-musl/gcc is not supported
configure: WARNING:
Platform "x86_64-pc-linux-musl" with compiler "gcc" is not supported by the
CPython core team, see https://peps.python.org/pep-0011/ for more information.
make: *** [Makefile:2565: buildbottest] Error 2 |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot AMD64 Alpine Linux NoGIL 3.15 (tierless) has failed when building commit 72ab890. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/2123/builds/649 Summary of the results of the build (if available): == Click to see traceback logsNote: switching to '72ab89038441d7cd34c0d6e75873dcd7d3831dd4'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 72ab8903844 [3.15] gh-159288: Avoid segfault by adding missing recursion checks when walking lazy import chains (GH-159289) (#159416)
Switched to and reset branch '3.15'
configure: WARNING: x86_64-pc-linux-musl/gcc is not supported
configure: WARNING:
Platform "x86_64-pc-linux-musl" with compiler "gcc" is not supported by the
CPython core team, see https://peps.python.org/pep-0011/ for more information.
make: *** [Makefile:2565: buildbottest] Error 2 |
Sorry, something went wrong.
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot x86-64 MacOS Intel ASAN NoGIL 3.15 (tier-2) has failed when building commit 72ab890. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/#/builders/2029/builds/614 Failed tests:
Summary of the results of the build (if available): == Click to see traceback logsremote: Enumerating objects: 36, done.
remote: Counting objects: 2% (1/36)
remote: Counting objects: 5% (2/36)
remote: Counting objects: 8% (3/36)
remote: Counting objects: 11% (4/36)
remote: Counting objects: 13% (5/36)
remote: Counting objects: 16% (6/36)
remote: Counting objects: 19% (7/36)
remote: Counting objects: 22% (8/36)
remote: Counting objects: 25% (9/36)
remote: Counting objects: 27% (10/36)
remote: Counting objects: 30% (11/36)
remote: Counting objects: 33% (12/36)
remote: Counting objects: 36% (13/36)
remote: Counting objects: 38% (14/36)
remote: Counting objects: 41% (15/36)
remote: Counting objects: 44% (16/36)
remote: Counting objects: 47% (17/36)
remote: Counting objects: 50% (18/36)
remote: Counting objects: 52% (19/36)
remote: Counting objects: 55% (20/36)
remote: Counting objects: 58% (21/36)
remote: Counting objects: 61% (22/36)
remote: Counting objects: 63% (23/36)
remote: Counting objects: 66% (24/36)
remote: Counting objects: 69% (25/36)
remote: Counting objects: 72% (26/36)
remote: Counting objects: 75% (27/36)
remote: Counting objects: 77% (28/36)
remote: Counting objects: 80% (29/36)
remote: Counting objects: 83% (30/36)
remote: Counting objects: 86% (31/36)
remote: Counting objects: 88% (32/36)
remote: Counting objects: 91% (33/36)
remote: Counting objects: 94% (34/36)
remote: Counting objects: 97% (35/36)
remote: Counting objects: 100% (36/36)
remote: Counting objects: 100% (36/36), done.
remote: Compressing objects: 14% (1/7)
remote: Compressing objects: 28% (2/7)
remote: Compressing objects: 42% (3/7)
remote: Compressing objects: 57% (4/7)
remote: Compressing objects: 71% (5/7)
remote: Compressing objects: 85% (6/7)
remote: Compressing objects: 100% (7/7)
remote: Compressing objects: 100% (7/7), done.
remote: Total 20 (delta 16), reused 15 (delta 13), pack-reused 0 (from 0)
From https://github.com/python/cpython
* branch 3.15 -> FETCH_HEAD
Note: switching to '72ab89038441d7cd34c0d6e75873dcd7d3831dd4'.
You are in 'detached HEAD' state. You can look around, make experimental
changes and commit them, and you can discard any commits you make in this
state without impacting any branches by switching back to a branch.
If you want to create a new branch to retain commits you create, you may
do so (now or later) by using -c with the switch command. Example:
git switch -c <new-branch-name>
Or undo this operation with:
git switch -
Turn off this advice by setting config variable advice.detachedHead to false
HEAD is now at 72ab8903844 [3.15] gh-159288: Avoid segfault by adding missing recursion checks when walking lazy import chains (GH-159289) (#159416)
Switched to and reset branch '3.15'
configure: WARNING: pkg-config is missing. Some dependencies may not be detected correctly.
Parser/string_parser.c:185:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(p, "\\U%08x", chr);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
Objects/bytesobject.c:273:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buffer, "%ld", va_arg(vargs, long));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/bytesobject.c:276:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buffer, "%zd", va_arg(vargs, Py_ssize_t));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/bytesobject.c:279:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buffer, "%d", va_arg(vargs, int));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/bytesobject.c:287:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buffer, "%lu", va_arg(vargs, unsigned long));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/bytesobject.c:290:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buffer, "%zu", va_arg(vargs, size_t));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/bytesobject.c:293:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buffer, "%u", va_arg(vargs, unsigned int));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/bytesobject.c:300:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buffer, "%i", va_arg(vargs, int));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/bytesobject.c:306:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buffer, "%x", va_arg(vargs, int));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/bytesobject.c:330:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buffer, "%p", va_arg(vargs, void*));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
9 warnings generated.
Objects/typeobject.c:7262:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(msg, "type_traverse() called on non-heap type '%.100s'",
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2814:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_LONG: DO_SPRINTS("l", long, unsigned long); break;
^
Objects/unicodeobject.c:2805:33: note: expanded from macro 'DO_SPRINTS'
case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2814:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_LONG: DO_SPRINTS("l", long, unsigned long); break;
^
Objects/unicodeobject.c:2806:33: note: expanded from macro 'DO_SPRINTS'
case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2814:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_LONG: DO_SPRINTS("l", long, unsigned long); break;
^
Objects/unicodeobject.c:2807:33: note: expanded from macro 'DO_SPRINTS'
case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2814:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_LONG: DO_SPRINTS("l", long, unsigned long); break;
^
Objects/unicodeobject.c:2808:33: note: expanded from macro 'DO_SPRINTS'
case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2814:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_LONG: DO_SPRINTS("l", long, unsigned long); break;
^
Objects/unicodeobject.c:2809:33: note: expanded from macro 'DO_SPRINTS'
default: len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2815:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
^
Objects/unicodeobject.c:2805:33: note: expanded from macro 'DO_SPRINTS'
case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2815:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
^
Objects/unicodeobject.c:2806:33: note: expanded from macro 'DO_SPRINTS'
case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2815:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
^
Objects/unicodeobject.c:2807:33: note: expanded from macro 'DO_SPRINTS'
case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2815:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
^
Objects/unicodeobject.c:2808:33: note: expanded from macro 'DO_SPRINTS'
case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2815:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_LONGLONG: DO_SPRINTS("ll", long long, unsigned long long); break;
^
Objects/unicodeobject.c:2809:33: note: expanded from macro 'DO_SPRINTS'
default: len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2816:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_SIZE: DO_SPRINTS("z", Py_ssize_t, size_t); break;
^
Objects/unicodeobject.c:2805:33: note: expanded from macro 'DO_SPRINTS'
case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2816:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_SIZE: DO_SPRINTS("z", Py_ssize_t, size_t); break;
^
Objects/unicodeobject.c:2806:33: note: expanded from macro 'DO_SPRINTS'
case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2816:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_SIZE: DO_SPRINTS("z", Py_ssize_t, size_t); break;
^
Objects/unicodeobject.c:2807:33: note: expanded from macro 'DO_SPRINTS'
case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2816:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_SIZE: DO_SPRINTS("z", Py_ssize_t, size_t); break;
^
Objects/unicodeobject.c:2808:33: note: expanded from macro 'DO_SPRINTS'
case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2816:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_SIZE: DO_SPRINTS("z", Py_ssize_t, size_t); break;
^
Objects/unicodeobject.c:2809:33: note: expanded from macro 'DO_SPRINTS'
default: len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2817:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_PTRDIFF: DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
^
Objects/unicodeobject.c:2805:33: note: expanded from macro 'DO_SPRINTS'
case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2817:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_PTRDIFF: DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
^
Objects/unicodeobject.c:2806:33: note: expanded from macro 'DO_SPRINTS'
case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2817:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_PTRDIFF: DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
^
Objects/unicodeobject.c:2807:33: note: expanded from macro 'DO_SPRINTS'
case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2817:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_PTRDIFF: DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
^
Objects/unicodeobject.c:2808:33: note: expanded from macro 'DO_SPRINTS'
case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2817:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_PTRDIFF: DO_SPRINTS("t", ptrdiff_t, ptrdiff_t); break;
^
Objects/unicodeobject.c:2809:33: note: expanded from macro 'DO_SPRINTS'
default: len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2818:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_INTMAX: DO_SPRINTS("j", intmax_t, uintmax_t); break;
^
Objects/unicodeobject.c:2805:33: note: expanded from macro 'DO_SPRINTS'
case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2818:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_INTMAX: DO_SPRINTS("j", intmax_t, uintmax_t); break;
^
Objects/unicodeobject.c:2806:33: note: expanded from macro 'DO_SPRINTS'
case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2818:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_INTMAX: DO_SPRINTS("j", intmax_t, uintmax_t); break;
^
Objects/unicodeobject.c:2807:33: note: expanded from macro 'DO_SPRINTS'
case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2818:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_INTMAX: DO_SPRINTS("j", intmax_t, uintmax_t); break;
^
Objects/unicodeobject.c:2808:33: note: expanded from macro 'DO_SPRINTS'
case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2818:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
case F_INTMAX: DO_SPRINTS("j", intmax_t, uintmax_t); break;
^
Objects/unicodeobject.c:2809:33: note: expanded from macro 'DO_SPRINTS'
default: len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2819:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
default: DO_SPRINTS("", int, unsigned int); break;
^
Objects/unicodeobject.c:2805:33: note: expanded from macro 'DO_SPRINTS'
case 'o': len = SPRINT(SIZE_SPEC, "o", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2819:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
default: DO_SPRINTS("", int, unsigned int); break;
^
Objects/unicodeobject.c:2806:33: note: expanded from macro 'DO_SPRINTS'
case 'u': len = SPRINT(SIZE_SPEC, "u", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2819:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
default: DO_SPRINTS("", int, unsigned int); break;
^
Objects/unicodeobject.c:2807:33: note: expanded from macro 'DO_SPRINTS'
case 'x': len = SPRINT(SIZE_SPEC, "x", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2819:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
default: DO_SPRINTS("", int, unsigned int); break;
^
Objects/unicodeobject.c:2808:33: note: expanded from macro 'DO_SPRINTS'
case 'X': len = SPRINT(SIZE_SPEC, "X", UNSIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2819:30: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
default: DO_SPRINTS("", int, unsigned int); break;
^
Objects/unicodeobject.c:2809:33: note: expanded from macro 'DO_SPRINTS'
default: len = SPRINT(SIZE_SPEC, "d", SIGNED_TYPE); break; \
^
Objects/unicodeobject.c:2800:13: note: expanded from macro 'SPRINT'
sprintf(buffer, "%" SIZE_SPEC FMT_CHAR, va_arg(*vargs, TYPE))
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:2873:15: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
len = sprintf(number, "%p", va_arg(*vargs, void*));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
Objects/unicodeobject.c:8859:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buffer, "&#%d;", (int)PyUnicode_READ_CHAR(unicode, collpos));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
Python/ceval_gil.c:81:24: warning: code will never be executed [-Wunreachable-code]
int32_t npending = _Py_atomic_load_int32_relaxed(
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
1 warning generated.
Python/pystrtod.c:1220:19: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
exp_len = sprintf(p, "%+.02d", exp);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
32 warnings generated.
./Modules/_datetimemodule.c:1865:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(freplacement, "%06d", TIME_GET_MICROSECOND(object));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
./Modules/_datetimemodule.c:1867:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(freplacement, "%06d", DATE_GET_MICROSECOND(object));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
./Modules/_datetimemodule.c:1869:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(freplacement, "%06d", 0);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
3 warnings generated.
Programs/_freeze_module.c:129:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(filename, "<frozen %s>", name);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
./Modules/_pickle.c:2382:13: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(pdata, "%c%ld\n", INT, val);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
1 warning generated.
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:282:5: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:115:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:289:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:86:5: note: expanded from macro 'CHECK_NAME_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:435:5: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:115:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:442:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:86:5: note: expanded from macro 'CHECK_NAME_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:548:5: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:115:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:557:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:86:5: note: expanded from macro 'CHECK_NAME_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:579:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:86:5: note: expanded from macro 'CHECK_NAME_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:590:9: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:115:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:687:11: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:115:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:732:5: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:115:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:758:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:86:5: note: expanded from macro 'CHECK_NAME_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:769:9: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:115:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:782:11: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:115:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:927:5: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:115:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:940:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:86:5: note: expanded from macro 'CHECK_NAME_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:957:5: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NMSTRT_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:115:5: note: expanded from macro 'CHECK_NMSTRT_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:964:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:86:5: note: expanded from macro 'CHECK_NAME_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:1199:7: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:86:5: note: expanded from macro 'CHECK_NAME_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
In file included from ./Modules/expat/xmltok.c:326:
./Modules/expat/xmltok_impl.c:1219:11: warning: fallthrough annotation in unreachable code [-Wunreachable-code-fallthrough]
CHECK_NAME_CASES(enc, ptr, end, nextTokPtr)
^
./Modules/expat/xmltok_impl.c:86:5: note: expanded from macro 'CHECK_NAME_CASES'
EXPAT_FALLTHROUGH; \
^
./Modules/expat/fallthrough.h:47:33: note: expanded from macro 'EXPAT_FALLTHROUGH'
# define EXPAT_FALLTHROUGH __attribute__((fallthrough))
^
19 warnings generated.
./Modules/_ctypes/_ctypes.c:388:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buf, "%zd,", shape[k]);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
./Modules/_ctypes/_ctypes.c:390:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(buf, "%zd)", shape[k]);
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
./Modules/_ctypes/_ctypes.c:2945:11: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
cp += sprintf(cp, "%x", Py_SAFE_DOWNCAST(index, Py_ssize_t, int));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
./Modules/_ctypes/_ctypes.c:2954:15: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
cp += sprintf(cp, ":%x", Py_SAFE_DOWNCAST(target->b_index, Py_ssize_t, int));
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
./Modules/_ctypes/_ctypes.c:5378:5: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
sprintf(name, "%.200s_Array_%ld",
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
./Modules/_testcapimodule.c:802:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
FAIL("PyCapsule_GetPointer returned NULL unexpectedly!");
^
./Modules/_testcapimodule.c:791:13: note: expanded from macro 'FAIL'
sprintf(buffer, "%s module: \"%s\" attribute: \"%s\"", \
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
./Modules/_testcapimodule.c:814:17: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
FAIL("PyCapsule_GetPointer should have failed but did not!");
^
./Modules/_testcapimodule.c:791:13: note: expanded from macro 'FAIL'
sprintf(buffer, "%s module: \"%s\" attribute: \"%s\"", \
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
./Modules/_testcapimodule.c:821:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
FAIL("PyCapsule_GetPointer should not have"
^
./Modules/_testcapimodule.c:791:13: note: expanded from macro 'FAIL'
sprintf(buffer, "%s module: \"%s\" attribute: \"%s\"", \
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
./Modules/_testcapimodule.c:824:21: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead. [-Wdeprecated-declarations]
FAIL("PyCapsule_GetPointer should have"
^
./Modules/_testcapimodule.c:791:13: note: expanded from macro 'FAIL'
sprintf(buffer, "%s module: \"%s\" attribute: \"%s\"", \
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:180:1: note: 'sprintf' has been explicitly marked deprecated here
__deprecated_msg("This function is provided for compatibility reasons only. Due to security concerns inherent in the design of sprintf(3), it is highly recommended that you use snprintf(3) instead.")
^
/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/sys/cdefs.h:215:48: note: expanded from macro '__deprecated_msg'
#define __deprecated_msg(_msg) __attribute__((__deprecated__(_msg)))
^
5 warnings generated.
4 warnings generated.
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
ld: warning: search path '/opt/homebrew/lib' not found
make: *** [buildbottest] Error 2
Expanding reachable commits in commit graph: 744
Expanding reachable commits in commit graph: 828
Expanding reachable commits in commit graph: 1009
Expanding reachable commits in commit graph: 1319
Expanding reachable commits in commit graph: 5259
Expanding reachable commits in commit graph: 9084
Expanding reachable commits in commit graph: 15354
Expanding reachable commits in commit graph: 24131
Expanding reachable commits in commit graph: 35383
Expanding reachable commits in commit graph: 50414
Expanding reachable commits in commit graph: 70401
Expanding reachable commits in commit graph: 103254
Expanding reachable commits in commit graph: 155437
Expanding reachable commits in commit graph: 167976, done.
Writing out commit graph in 4 passes: 50% (337267/671904)
Writing out commit graph in 4 passes: 51% (342672/671904)
Writing out commit graph in 4 passes: 52% (349391/671904)
Writing out commit graph in 4 passes: 53% (356110/671904)
Writing out commit graph in 4 passes: 54% (362829/671904)
Writing out commit graph in 4 passes: 55% (369548/671904)
Writing out commit graph in 4 passes: 56% (376267/671904)
Writing out commit graph in 4 passes: 57% (382986/671904)
Writing out commit graph in 4 passes: 57% (388239/671904)
Writing out commit graph in 4 passes: 58% (389705/671904)
Writing out commit graph in 4 passes: 59% (396424/671904)
Writing out commit graph in 4 passes: 60% (403143/671904)
Writing out commit graph in 4 passes: 61% (409862/671904)
Writing out commit graph in 4 passes: 62% (416581/671904)
Writing out commit graph in 4 passes: 63% (423300/671904)
Writing out commit graph in 4 passes: 64% (430019/671904)
Writing out commit graph in 4 passes: 65% (436738/671904)
Writing out commit graph in 4 passes: 66% (443457/671904)
Writing out commit graph in 4 passes: 66% (449484/671904)
Writing out commit graph in 4 passes: 67% (450176/671904)
Writing out commit graph in 4 passes: 68% (456895/671904)
Writing out commit graph in 4 passes: 69% (463614/671904)
Writing out commit graph in 4 passes: 70% (470333/671904)
Writing out commit graph in 4 passes: 71% (477052/671904)
Writing out commit graph in 4 passes: 71% (479261/671904)
Writing out commit graph in 4 passes: 72% (483771/671904)
Writing out commit graph in 4 passes: 73% (490490/671904)
Writing out commit graph in 4 passes: 74% (497209/671904)
Writing out commit graph in 4 passes: 75% (503928/671904)
Writing out commit graph in 4 passes: 76% (510648/671904)
Writing out commit graph in 4 passes: 77% (517367/671904)
Writing out commit graph in 4 passes: 78% (524086/671904)
Writing out commit graph in 4 passes: 79% (530805/671904)
Writing out commit graph in 4 passes: 80% (537524/671904)
Writing out commit graph in 4 passes: 80% (544056/671904)
Writing out commit graph in 4 passes: 81% (544243/671904)
Writing out commit graph in 4 passes: 82% (550962/671904)
Writing out commit graph in 4 passes: 83% (557681/671904)
Writing out commit graph in 4 passes: 84% (564400/671904)
Writing out commit graph in 4 passes: 85% (571119/671904)
Writing out commit graph in 4 passes: 86% (577838/671904)
Writing out commit graph in 4 passes: 87% (584557/671904)
Writing out commit graph in 4 passes: 88% (591276/671904)
Writing out commit graph in 4 passes: 89% (597995/671904)
Writing out commit graph in 4 passes: 90% (604714/671904)
Writing out commit graph in 4 passes: 91% (611433/671904)
Writing out commit graph in 4 passes: 92% (618152/671904)
Writing out commit graph in 4 passes: 93% (624871/671904)
Writing out commit graph in 4 passes: 94% (631590/671904)
Writing out commit graph in 4 passes: 95% (638309/671904)
Writing out commit graph in 4 passes: 96% (645028/671904)
Writing out commit graph in 4 passes: 97% (651747/671904)
Writing out commit graph in 4 passes: 98% (658466/671904)
Writing out commit graph in 4 passes: 99% (665185/671904)
Writing out commit graph in 4 passes: 100% (671904/671904)
Writing out commit graph in 4 passes: 100% (671904/671904), done. |
Sorry, something went wrong.
|
The Alpine buildbot failures on main would be fixed by #159376 (which could use a review ;p), but I don't really want to backport that one to 3.15. The fixed recursion limit on Alpine (actually, non-glibc) Linux has been an issue for a while and I don't want to inadvertently break some place where pthread_getattr_np does the wrong thing and we haven't discovered it yet. So, we probably need a separate fix for the 3.15 backport of this PR to skip the test on musl (using test.support.linked_to_musl). |
Sorry, something went wrong.
|
test_lazy_import.test_deeply_dotted_name() does crash on Alpine Linux and FreeBSD, I created #159535 to track this crash. |
Sorry, something went wrong.
|
test_lazy_import.test_deeply_dotted_name() leaks 19,650 references on PPC64LE CentOS9: see #159538. |
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
lazy import a.b.c as d nests one placeholder per name component. lazy_import_path() and lazy_import_replay_from() recursed over that chain without a recursion check, so a very long dotted name could overflow the stack.
Add guards to raise a RecursionError instead of failing into a segfault.