Title: sprintf deprecation warning on macOS for datetimemodule · Issue #103733 · python/cpython · GitHub
Open Graph Title: sprintf deprecation warning on macOS for datetimemodule · Issue #103733 · python/cpython
X Title: sprintf deprecation warning on macOS for datetimemodule · Issue #103733 · python/cpython
Description: How to reproduce ./configure --with-address-sanitizer && make Deprecation warning ./Modules/_datetimemodule.c:1566:9: warning: 'sprintf' is deprecated: This function is provided for compatibility reasons only. Due to security concerns in...
Open Graph Description: How to reproduce ./configure --with-address-sanitizer && make Deprecation warning ./Modules/_datetimemodule.c:1566:9: warning: 'sprintf' is deprecated: This function is provided for compatibility r...
X Description: How to reproduce ./configure --with-address-sanitizer && make Deprecation warning ./Modules/_datetimemodule.c:1566:9: warning: 'sprintf' is deprecated: This function is provided for...
Opengraph URL: https://github.com/python/cpython/issues/103733
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"sprintf deprecation warning on macOS for datetimemodule","articleBody":"## How to reproduce\r\n````\r\n./configure --with-address-sanitizer \u0026\u0026 make\r\n`````\r\n\r\n## Deprecation warning\r\n````\r\n./Modules/_datetimemodule.c:1566: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]\r\n sprintf(freplacement, \"%06d\", 0);\r\n````","author":{"url":"https://github.com/corona10","@type":"Person","name":"corona10"},"datePublished":"2023-04-24T01:14:59.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/103733/cpython/issues/103733"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:97c976f5-e500-2cad-219f-71d9dac2292a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | A8AA:2E5741:47857A:5CF510:696B4209 |
| html-safe-nonce | e50fe549615630d67e5476b07f9f0b3e2da1fb80ae604bb602f543af4a8cfa50 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBOEFBOjJFNTc0MTo0Nzg1N0E6NUNGNTEwOjY5NkI0MjA5IiwidmlzaXRvcl9pZCI6IjM5MDg1OTQyMDQ0ODM5OTQxMjEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 3e621b054d0025e87e0febe20740d6436d0ac7fccb897b9265e12a6a4626ecf1 |
| hovercard-subject-tag | issue:1680277199 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/103733/issue_layout |
| twitter:image | https://opengraph.githubassets.com/a8645c5b9dd7b0f4f718c8471fdf3d5d1fd8fb6e5afcf3be7e8b997496671b7b/python/cpython/issues/103733 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/a8645c5b9dd7b0f4f718c8471fdf3d5d1fd8fb6e5afcf3be7e8b997496671b7b/python/cpython/issues/103733 |
| og:image:alt | How to reproduce ./configure --with-address-sanitizer && make Deprecation warning ./Modules/_datetimemodule.c:1566:9: warning: 'sprintf' is deprecated: This function is provided for compatibility r... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | corona10 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5f99f7c1d70f01da5b93e5ca90303359738944d8ab470e396496262c66e60b8d |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 82560a55c6b2054555076f46e683151ee28a19bc |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width