Title: Port syslog module to use module state · Issue #99127 · python/cpython · GitHub
Open Graph Title: Port syslog module to use module state · Issue #99127 · python/cpython
X Title: Port syslog module to use module state · Issue #99127 · python/cpython
Description: While I check the @ericsnowcurrently 's checklist: https://github.com/ericsnowcurrently/multi-core-python/wiki/0-The-Plan I found that the syslog module still uses the global variable for the following variables. S_ident_o S_log_open Bot...
Open Graph Description: While I check the @ericsnowcurrently 's checklist: https://github.com/ericsnowcurrently/multi-core-python/wiki/0-The-Plan I found that the syslog module still uses the global variable for the follo...
X Description: While I check the @ericsnowcurrently 's checklist: https://github.com/ericsnowcurrently/multi-core-python/wiki/0-The-Plan I found that the syslog module still uses the global variable for the f...
Opengraph URL: https://github.com/python/cpython/issues/99127
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Port syslog module to use module state","articleBody":"While I check the @ericsnowcurrently 's checklist: https://github.com/ericsnowcurrently/multi-core-python/wiki/0-The-Plan\r\nI found that the syslog module still uses the global variable for the following variables.\r\n\r\n* S_ident_o\r\n* S_log_open\r\n\r\nBoth variables are declared as global variables since the original author assumes that in only one instance, only one syslog will exist.(one process one interpreter)\r\n\r\nSo I think that it's okay to move them into the module state if we consider the per-interpreter model.\r\n\r\n\r\n\u003c!-- gh-pr-number: gh-99128 --\u003e\r\n* PR: gh-99128\r\n\u003c!-- /gh-pr-number --\u003e\r\n","author":{"url":"https://github.com/corona10","@type":"Person","name":"corona10"},"datePublished":"2022-11-05T13:24:53.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":10},"url":"https://github.com/99127/cpython/issues/99127"}
| 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:99aee028-1878-8bc3-37b6-3420d9fa80a0 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | E87A:17EBDB:9D9BE4:D30612:696991FD |
| html-safe-nonce | 63b698482e611f2a19031ce53e77ba533ab4a84b9659e52e9a468b88b22be178 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJFODdBOjE3RUJEQjo5RDlCRTQ6RDMwNjEyOjY5Njk5MUZEIiwidmlzaXRvcl9pZCI6IjQ5MjMzNTMzMjg1MDcyNjE0MzciLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6323ed72835234f50fc9e2b35e14ead8d055e05a98c74b85517ea600f08eee9d |
| hovercard-subject-tag | issue:1437031680 |
| 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/99127/issue_layout |
| twitter:image | https://opengraph.githubassets.com/311d2f4175f825f746d3abc3bbdd50eacd64b25292862f004011585bbae0e5ea/python/cpython/issues/99127 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/311d2f4175f825f746d3abc3bbdd50eacd64b25292862f004011585bbae0e5ea/python/cpython/issues/99127 |
| og:image:alt | While I check the @ericsnowcurrently 's checklist: https://github.com/ericsnowcurrently/multi-core-python/wiki/0-The-Plan I found that the syslog module still uses the global variable for the follo... |
| 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 | 3542e147982176a7ebaa23dfb559c8af16f721c03ec560c68c56b64a0f35e751 |
| 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 | af80af7cc9e3de9c336f18b208a600950a3c187c |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width