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

gh-118761: Improve import time ofsubprocess#129427

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
gpshead merged 2 commits intopython:mainfromhukkin:subprocess-importtime
Jan 29, 2025

Conversation

@hukkin
Copy link
Contributor

@hukkinhukkin commentedJan 29, 2025
edited by bedevere-appbot
Loading

This makesimport subprocess lazy importlocale andsignal. As a result, alsore (imported bylocale) andenum (imported bysignal) imports are skipped.

Benchmark import time

main branch

$hyperfine --warmup 11"./python -c 'import subprocess'""./python -c 'pass'"Benchmark 1: ./python -c 'import subprocess'  Time (mean ± σ):      24.6 ms ±   0.9 ms    [User: 20.8 ms, System: 4.0 ms]  Range (min … max):    23.5 ms …  28.0 ms    108 runsBenchmark 2: ./python -c 'pass'  Time (mean ± σ):      10.8 ms ±   0.6 ms    [User: 8.9 ms, System: 2.3 ms]  Range (min … max):    10.1 ms …  14.2 ms    190 runsSummary  './python -c 'pass'' ran    2.28 ± 0.16 times faster than './python -c 'import subprocess''

PR branch

$hyperfine --warmup 11"./python -c 'import subprocess'""./python -c 'pass'"Benchmark 1: ./python -c 'import subprocess'  Time (mean ± σ):      18.7 ms ±   0.8 ms    [User: 16.1 ms, System: 3.2 ms]  Range (min … max):    17.6 ms …  21.7 ms    139 runsBenchmark 2: ./python -c 'pass'  Time (mean ± σ):      10.4 ms ±   0.5 ms    [User: 9.4 ms, System: 1.8 ms]  Range (min … max):     9.7 ms …  12.9 ms    226 runsSummary  './python -c 'pass'' ran    1.80 ± 0.11 times faster than './python -c 'import subprocess''

Benchmarksubprocess.run call

In fact, this not only has an effect on import time, but simplesubprocess.run calls, too:

main branch

$hyperfine --warmup 11"./python -c 'import subprocess; subprocess.run([\"sleep\",\"0\"])'""./python -c 'pass'"Benchmark 1: ./python -c 'import subprocess; subprocess.run(["sleep", "0"])'  Time (mean ± σ):      26.7 ms ±   1.1 ms    [User: 23.4 ms, System: 3.4 ms]  Range (min … max):    25.5 ms …  31.7 ms    103 runsBenchmark 2: ./python -c 'pass'  Time (mean ± σ):      11.7 ms ±   0.8 ms    [User: 9.5 ms, System: 2.4 ms]  Range (min … max):    10.9 ms …  15.4 ms    235 runsSummary  './python -c 'pass'' ran    2.28 ± 0.18 times faster than './python -c 'import subprocess; subprocess.run(["sleep", "0"])''

PR branch

$hyperfine --warmup 11"./python -c 'import subprocess; subprocess.run([\"sleep\",\"0\"])'""./python -c 'pass'"Benchmark 1: ./python -c 'import subprocess; subprocess.run(["sleep", "0"])'  Time (mean ± σ):      22.0 ms ±   1.3 ms    [User: 18.1 ms, System: 3.9 ms]  Range (min … max):    20.3 ms …  27.2 ms    119 runsBenchmark 2: ./python -c 'pass'  Time (mean ± σ):      12.0 ms ±   0.4 ms    [User: 9.8 ms, System: 2.3 ms]  Range (min … max):    11.5 ms …  13.6 ms    224 runsSummary  './python -c 'pass'' ran    1.84 ± 0.12 times faster than './python -c 'import subprocess; subprocess.run(["sleep", "0"])''

Copy link
Member

@gpsheadgpshead left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

thanks for including the comments in the code as to why. as much as a dislike it from a style perspective, this is the right way to get faster import times in Python today.

hukkin reacted with thumbs up emoji
@gpsheadgpshead added needs backport to 3.12only security fixes needs backport to 3.13bugs and security fixes labelsJan 29, 2025
@gpsheadgpshead merged commit49f2465 intopython:mainJan 29, 2025
48 checks passed
@miss-islington-app
Copy link

Thanks@hukkin for the PR, and@gpshead for merging it 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJan 29, 2025
* subprocess: lazy import signal and locale to improve module import time(cherry picked from commit49f2465)Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com>
@bedevere-app
Copy link

GH-129447 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelJan 29, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJan 29, 2025
* subprocess: lazy import signal and locale to improve module import time(cherry picked from commit49f2465)Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com>
@bedevere-app
Copy link

GH-129448 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelJan 29, 2025
@hukkinhukkin deleted the subprocess-importtime branchJanuary 29, 2025 16:45
gpshead pushed a commit that referenced this pull requestJan 29, 2025
…29448)gh-118761: Improve import time of `subprocess` (GH-129427)* subprocess: lazy import signal and locale to improve module import time(cherry picked from commit49f2465)Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com>
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotiOS ARM64 Simulator 3.x has failed when building commit49f2465.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1380/builds/2481) and take a look at the build logs.
  4. Check if the failure is related to this commit (49f2465) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1380/builds/2481

Summary of the results of the build (if available):

==

Click to see traceback logs
Traceback (most recent call last):  File"/Users/buildbot/Library/Developer/XCTestDevices/97D3A17A-DA4C-4604-9518-E15ACEF024F7/data/Containers/Bundle/Application/8DBA6A7C-D7C1-4CFB-8A88-E61850C12AD4/iOSTestbed.app/python/lib/python3.14/threading.py", line1054, in_bootstrap_innerself.run()~~~~~~~~^^  File"/Users/buildbot/Library/Developer/XCTestDevices/97D3A17A-DA4C-4604-9518-E15ACEF024F7/data/Containers/Bundle/Application/8DBA6A7C-D7C1-4CFB-8A88-E61850C12AD4/iOSTestbed.app/python/lib/python3.14/threading.py", line996, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/Users/buildbot/Library/Developer/XCTestDevices/97D3A17A-DA4C-4604-9518-E15ACEF024F7/data/Containers/Bundle/Application/8DBA6A7C-D7C1-4CFB-8A88-E61850C12AD4/iOSTestbed.app/python/lib/python3.14/test/test_interpreters/test_stress.py", line47, inrun    interp= interpreters.create()  File"/Users/buildbot/Library/Developer/XCTestDevices/97D3A17A-DA4C-4604-9518-E15ACEF024F7/data/Containers/Bundle/Application/8DBA6A7C-D7C1-4CFB-8A88-E61850C12AD4/iOSTestbed.app/python/lib/python3.14/test/support/interpreters/__init__.py", line76, increateid= _interpreters.create(reqrefs=True)interpreters.InterpreterError:interpreter creation failedkTraceback (most recent call last):  File"/Users/buildbot/Library/Developer/XCTestDevices/97D3A17A-DA4C-4604-9518-E15ACEF024F7/data/Containers/Bundle/Application/8DBA6A7C-D7C1-4CFB-8A88-E61850C12AD4/iOSTestbed.app/python/lib/python3.14/threading.py", line1054, in_bootstrap_innerself.run()~~~~~~~~^^  File"/Users/buildbot/Library/Developer/XCTestDevices/97D3A17A-DA4C-4604-9518-E15ACEF024F7/data/Containers/Bundle/Application/8DBA6A7C-D7C1-4CFB-8A88-E61850C12AD4/iOSTestbed.app/python/lib/python3.14/threading.py", line996, inrunself._target(*self._args,**self._kwargs)~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"/Users/buildbot/Library/Developer/XCTestDevices/97D3A17A-DA4C-4604-9518-E15ACEF024F7/data/Containers/Bundle/Application/8DBA6A7C-D7C1-4CFB-8A88-E61850C12AD4/iOSTestbed.app/python/lib/python3.14/test/test_interpreters/test_stress.py", line30, intask    interp= interpreters.create()  File"/Users/buildbot/Library/Developer/XCTestDevices/97D3A17A-DA4C-4604-9518-E15ACEF024F7/data/Containers/Bundle/Application/8DBA6A7C-D7C1-4CFB-8A88-E61850C12AD4/iOSTestbed.app/python/lib/python3.14/test/support/interpreters/__init__.py", line76, increateid= _interpreters.create(reqrefs=True)interpreters.InterpreterError:interpreter creation failedk

gpshead pushed a commit that referenced this pull requestJan 29, 2025
…29447)gh-118761: Improve import time of `subprocess` (GH-129427)* subprocess: lazy import signal and locale to improve module import time(cherry picked from commit49f2465)Co-authored-by: Taneli Hukkinen <3275109+hukkin@users.noreply.github.com>
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbotx86-64 MacOS Intel ASAN NoGIL 3.x has failed when building commit49f2465.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/#/builders/1366/builds/3167) and take a look at the build logs.
  4. Check if the failure is related to this commit (49f2465) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/#/builders/1366/builds/3167

Failed tests:

  • test_external_inspection

Summary of the results of the build (if available):

==

Click to see traceback logs
remote:Enumerating objects: 16, done.remote:Counting objects:   6% (1/16)remote:Counting objects:  12% (2/16)remote:Counting objects:  18% (3/16)remote:Counting objects:  25% (4/16)remote:Counting objects:  31% (5/16)remote:Counting objects:  37% (6/16)remote:Counting objects:  43% (7/16)remote:Counting objects:  50% (8/16)remote:Counting objects:  56% (9/16)remote:Counting objects:  62% (10/16)remote:Counting objects:  68% (11/16)remote:Counting objects:  75% (12/16)remote:Counting objects:  81% (13/16)remote:Counting objects:  87% (14/16)remote:Counting objects:  93% (15/16)remote:Counting objects: 100% (16/16)remote:Counting objects: 100% (16/16), done.remote:Compressing objects:  11% (1/9)remote:Compressing objects:  22% (2/9)remote:Compressing objects:  33% (3/9)remote:Compressing objects:  44% (4/9)remote:Compressing objects:  55% (5/9)remote:Compressing objects:  66% (6/9)remote:Compressing objects:  77% (7/9)remote:Compressing objects:  88% (8/9)remote:Compressing objects: 100% (9/9)remote:Compressing objects: 100% (9/9), done.remote:Total 9 (delta 7), reused 1 (delta 0), pack-reused 0 (from 0)From https://github.com/python/cpython * branch                    main       -> FETCH_HEADNote:switching to '49f24650e4541456872490ec2b59d6d186204891'.You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by switching back to a branch.If you want to create a new branch to retain commits you create, you maydo 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 falseHEAD is now at 49f24650e45 gh-118761: Improve import time of `subprocess` (GH-129427)Switched to and reset branch 'main'Parser/string_parser.c:146: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:188: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: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,"%ld", va_arg(vargs,long));^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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,"%zd", va_arg(vargs, Py_ssize_t));^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:296: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:188: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:304: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, unsignedlong));^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:307: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:188: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:310: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, unsignedint));^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:317: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:188: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:323: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:188: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:349: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:188: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:6328: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:188: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:946:16: 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]        size= sprintf(str,"&#%d;", PyUnicode_READ(kind, data, i));^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2931: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]            caseF_LONG:     DO_SPRINTS("l",long, unsignedlong);break;^Objects/unicodeobject.c:2922:33: note: expanded from macro 'DO_SPRINTS'                case'o':len= SPRINT(SIZE_SPEC,"o",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2931: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]            caseF_LONG:     DO_SPRINTS("l",long, unsignedlong);break;^Objects/unicodeobject.c:2923:33: note: expanded from macro 'DO_SPRINTS'                case'u':len= SPRINT(SIZE_SPEC,"u",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2931: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]            caseF_LONG:     DO_SPRINTS("l",long, unsignedlong);break;^Objects/unicodeobject.c:2924:33: note: expanded from macro 'DO_SPRINTS'                case'x':len= SPRINT(SIZE_SPEC,"x",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2931: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]            caseF_LONG:     DO_SPRINTS("l",long, unsignedlong);break;^Objects/unicodeobject.c:2925:33: note: expanded from macro 'DO_SPRINTS'                case'X':len= SPRINT(SIZE_SPEC,"X",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2931: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]            caseF_LONG:     DO_SPRINTS("l",long, unsignedlong);break;^Objects/unicodeobject.c:2926:33: note: expanded from macro 'DO_SPRINTS'                default:len= SPRINT(SIZE_SPEC,"d",SIGNED_TYPE);break;   \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2932: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]            caseF_LONGLONG: DO_SPRINTS("ll",longlong, unsignedlonglong);break;^Objects/unicodeobject.c:2922:33: note: expanded from macro 'DO_SPRINTS'                case'o':len= SPRINT(SIZE_SPEC,"o",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2932: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]            caseF_LONGLONG: DO_SPRINTS("ll",longlong, unsignedlonglong);break;^Objects/unicodeobject.c:2923:33: note: expanded from macro 'DO_SPRINTS'                case'u':len= SPRINT(SIZE_SPEC,"u",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2932: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]            caseF_LONGLONG: DO_SPRINTS("ll",longlong, unsignedlonglong);break;^Objects/unicodeobject.c:2924:33: note: expanded from macro 'DO_SPRINTS'                case'x':len= SPRINT(SIZE_SPEC,"x",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2932: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]            caseF_LONGLONG: DO_SPRINTS("ll",longlong, unsignedlonglong);break;^Objects/unicodeobject.c:2925:33: note: expanded from macro 'DO_SPRINTS'                case'X':len= SPRINT(SIZE_SPEC,"X",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2932: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]            caseF_LONGLONG: DO_SPRINTS("ll",longlong, unsignedlonglong);break;^Objects/unicodeobject.c:2926:33: note: expanded from macro 'DO_SPRINTS'                default:len= SPRINT(SIZE_SPEC,"d",SIGNED_TYPE);break;   \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2933: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]            caseF_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t);break;^Objects/unicodeobject.c:2922:33: note: expanded from macro 'DO_SPRINTS'                case'o':len= SPRINT(SIZE_SPEC,"o",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2933: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]            caseF_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t);break;^Objects/unicodeobject.c:2923:33: note: expanded from macro 'DO_SPRINTS'                case'u':len= SPRINT(SIZE_SPEC,"u",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2933: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]            caseF_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t);break;^Objects/unicodeobject.c:2924:33: note: expanded from macro 'DO_SPRINTS'                case'x':len= SPRINT(SIZE_SPEC,"x",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2933: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]            caseF_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t);break;^Objects/unicodeobject.c:2925:33: note: expanded from macro 'DO_SPRINTS'                case'X':len= SPRINT(SIZE_SPEC,"X",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2933: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]            caseF_SIZE:     DO_SPRINTS("z", Py_ssize_t, size_t);break;^Objects/unicodeobject.c:2926:33: note: expanded from macro 'DO_SPRINTS'                default:len= SPRINT(SIZE_SPEC,"d",SIGNED_TYPE);break;   \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2934: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]            caseF_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t);break;^Objects/unicodeobject.c:2922:33: note: expanded from macro 'DO_SPRINTS'                case'o':len= SPRINT(SIZE_SPEC,"o",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2934: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]            caseF_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t);break;^Objects/unicodeobject.c:2923:33: note: expanded from macro 'DO_SPRINTS'                case'u':len= SPRINT(SIZE_SPEC,"u",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2934: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]            caseF_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t);break;^Objects/unicodeobject.c:2924:33: note: expanded from macro 'DO_SPRINTS'                case'x':len= SPRINT(SIZE_SPEC,"x",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2934: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]            caseF_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t);break;^Objects/unicodeobject.c:2925:33: note: expanded from macro 'DO_SPRINTS'                case'X':len= SPRINT(SIZE_SPEC,"X",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2934: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]            caseF_PTRDIFF:  DO_SPRINTS("t", ptrdiff_t, ptrdiff_t);break;^Objects/unicodeobject.c:2926:33: note: expanded from macro 'DO_SPRINTS'                default:len= SPRINT(SIZE_SPEC,"d",SIGNED_TYPE);break;   \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2935: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]            caseF_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t);break;^Objects/unicodeobject.c:2922:33: note: expanded from macro 'DO_SPRINTS'                case'o':len= SPRINT(SIZE_SPEC,"o",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2935: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]            caseF_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t);break;^Objects/unicodeobject.c:2923:33: note: expanded from macro 'DO_SPRINTS'                case'u':len= SPRINT(SIZE_SPEC,"u",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2935: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]            caseF_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t);break;^Objects/unicodeobject.c:2924:33: note: expanded from macro 'DO_SPRINTS'                case'x':len= SPRINT(SIZE_SPEC,"x",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2935: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]            caseF_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t);break;^Objects/unicodeobject.c:2925:33: note: expanded from macro 'DO_SPRINTS'                case'X':len= SPRINT(SIZE_SPEC,"X",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2935: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]            caseF_INTMAX:   DO_SPRINTS("j", intmax_t, uintmax_t);break;^Objects/unicodeobject.c:2926:33: note: expanded from macro 'DO_SPRINTS'                default:len= SPRINT(SIZE_SPEC,"d",SIGNED_TYPE);break;   \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2936: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, unsignedint);break;^Objects/unicodeobject.c:2922:33: note: expanded from macro 'DO_SPRINTS'                case'o':len= SPRINT(SIZE_SPEC,"o",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2936: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, unsignedint);break;^Objects/unicodeobject.c:2923:33: note: expanded from macro 'DO_SPRINTS'                case'u':len= SPRINT(SIZE_SPEC,"u",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2936: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, unsignedint);break;^Objects/unicodeobject.c:2924:33: note: expanded from macro 'DO_SPRINTS'                case'x':len= SPRINT(SIZE_SPEC,"x",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2936: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, unsignedint);break;^Objects/unicodeobject.c:2925:33: note: expanded from macro 'DO_SPRINTS'                case'X':len= SPRINT(SIZE_SPEC,"X",UNSIGNED_TYPE);break; \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2936: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, unsignedint);break;^Objects/unicodeobject.c:2926:33: note: expanded from macro 'DO_SPRINTS'                default:len= SPRINT(SIZE_SPEC,"d",SIGNED_TYPE);break;   \^Objects/unicodeobject.c:2917:13: note: expanded from macro 'SPRINT'            sprintf(buffer,"%"SIZE_SPECFMT_CHAR, va_arg(*vargs,TYPE))^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:2990: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:188: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:9018: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:188: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)))^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.1 warning generated.Python/pystrtod.c:1204: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:188: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.Programs/_freeze_module.c:116: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:188: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.33 warnings generated../Modules/_pickle.c:2145: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:188: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:1812: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:188: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:1814: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:188: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:1816: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:188: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.1 warning generated../Modules/unicodedata.c:1329: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(buffer,"CJK UNIFIED IDEOGRAPH-%X", code);^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:385: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:188: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:387: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:188: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:2813: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:188: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:2822: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:188: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:5137: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:188: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/tkappinit.c:17:In file included from /usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/tk.h:99:/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:131:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]int (*free_private)();/* called to free private storage*/^                            void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:334:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        struct _XImage*(*create_image)();^                                        void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:453:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        XID (*resource_alloc)();/* allocator function*/^                              void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:471:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]int (*synchandler)();/* Synchronization handler*/^                           void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:496:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        Bool (*event_vec[128])();/* vectorfor wire to event*/^                               void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:497:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        Status (*wire_vec[128])();/* vectorfor event to wire*/^                                void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:509:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        Bool (**error_vec)();/* vectorfor wire to error*/^                           void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:522:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]int (*savedsynchandler)();/* user synchandler when Xlib usurps*/^                                void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:1053:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]typedef void (*XIMProc)();^                        void9 warnings generated.In file included from ./Modules/_tkinter.c:52:In file included from /usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/tk.h:99:/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:131:21: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]int (*free_private)();/* called to free private storage*/^                            void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:334:33: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        struct _XImage*(*create_image)();^                                        void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:453:23: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        XID (*resource_alloc)();/* allocator function*/^                              void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:471:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]int (*synchandler)();/* Synchronization handler*/^                           void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:496:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        Bool (*event_vec[128])();/* vectorfor wire to event*/^                               void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:497:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        Status (*wire_vec[128])();/* vectorfor event to wire*/^                                void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:509:20: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]        Bool (**error_vec)();/* vectorfor wire to error*/^                           void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:522:25: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]int (*savedsynchandler)();/* user synchandler when Xlib usurps*/^                                void/usr/local/Cellar/tcl-tk/8.6.13_5/include/tcl-tk/X11/Xlib.h:1053:24: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes]typedef void (*XIMProc)();^                        void./Modules/_testcapimodule.c:1059: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:1048:13: note: expanded from macro 'FAIL'            sprintf(buffer,"%s module:\"%s\" attribute:\"%s\"", \^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:1071: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:1048:13: note: expanded from macro 'FAIL'            sprintf(buffer,"%s module:\"%s\" attribute:\"%s\"", \^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:1078: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:1048:13: note: expanded from macro 'FAIL'            sprintf(buffer,"%s module:\"%s\" attribute:\"%s\"", \^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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:1081: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:1048:13: note: expanded from macro 'FAIL'            sprintf(buffer,"%s module:\"%s\" attribute:\"%s\"", \^/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/stdio.h:188: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.9 warnings generated.4 warnings generated.ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld: warning: ld: warning: directory not found for option '-L/opt/homebrew/lib'directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: directory not found for option '-L/opt/homebrew/lib'ld:warning: ld: warning: directory not found for option '-L/opt/homebrew/lib'directory not found for option '-L/opt/homebrew/lib'make:*** [buildbottest] Error 2

@freakboy3742
Copy link
Contributor

The iOS test failure is weird - yes, it failed in a stress test... but it then passed on a re-run. Not sure why it's reported as a fail (and a fail without identifying the failing test...)

It doesn't look like a problem though.

gpshead reacted with thumbs up emoji

srinivasreddy pushed a commit to srinivasreddy/cpython that referenced this pull requestFeb 7, 2025
* subprocess: lazy import signal and locale to improve module import time
gpshead added a commit to gpshead/cpython that referenced this pull requestFeb 16, 2025
gpshead added a commit that referenced this pull requestFeb 16, 2025
…130201)* Revert "gh-118761: Improve import time of `subprocess` (GH-129427)"This reverts commit49f2465.Also known asf502c8f in 3.13 (PR#129447)Also known asf65aa0d in 3.12 (PR#129448)This caused bugs in the `__del__` finalizer:#118761 (comment)---------Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestFeb 16, 2025
…H-129427)" (pythonGH-130201)* Revert "pythongh-118761: Improve import time of `subprocess` (pythonGH-129427)"This reverts commit49f2465.Also known asf502c8f in 3.13 (PRpythonGH-129447)Also known asf65aa0d in 3.12 (PRpythonGH-129448)This caused bugs in the `__del__` finalizer:python#118761 (comment)---------(cherry picked from commitae30646)Co-authored-by: Gregory P. Smith <greg@krypto.org>Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestFeb 16, 2025
…H-129427)" (pythonGH-130201)* Revert "pythongh-118761: Improve import time of `subprocess` (pythonGH-129427)"This reverts commit49f2465.Also known asf502c8f in 3.13 (PRpythonGH-129447)Also known asf65aa0d in 3.12 (PRpythonGH-129448)This caused bugs in the `__del__` finalizer:python#118761 (comment)---------(cherry picked from commitae30646)Co-authored-by: Gregory P. Smith <greg@krypto.org>Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
gpshead added a commit that referenced this pull requestFeb 16, 2025
)" (GH-130201) (#130205)gh-118761: Revert "Improve import time of `subprocess` (GH-129427)" (GH-130201)* Revert "gh-118761: Improve import time of `subprocess` (GH-129427)"This reverts commit49f2465.Also known asf502c8f in 3.13 (PRGH-129447)Also known asf65aa0d in 3.12 (PRGH-129448)This caused bugs in the `__del__` finalizer:#118761 (comment)---------(cherry picked from commitae30646)Co-authored-by: Gregory P. Smith <greg@krypto.org>Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
gpshead added a commit that referenced this pull requestFeb 16, 2025
)" (GH-130201) (#130204)gh-118761: Revert "Improve import time of `subprocess` (GH-129427)" (GH-130201)* Revert "gh-118761: Improve import time of `subprocess` (GH-129427)"This reverts commit49f2465.Also known asf502c8f in 3.13 (PRGH-129447)Also known asf65aa0d in 3.12 (PRGH-129448)This caused bugs in the `__del__` finalizer:#118761 (comment)---------(cherry picked from commitae30646)Co-authored-by: Gregory P. Smith <greg@krypto.org>Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@gpsheadgpsheadgpshead approved these changes

@AA-TurnerAA-TurnerAA-Turner approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

5 participants

@hukkin@bedevere-bot@freakboy3742@gpshead@AA-Turner

[8]ページ先頭

©2009-2025 Movatter.jp