Title: bpo-34170: Add _PyCoreConfig.bytes_warning by vstinner · Pull Request #8447 · python/cpython · GitHub
Open Graph Title: bpo-34170: Add _PyCoreConfig.bytes_warning by vstinner · Pull Request #8447 · python/cpython
X Title: bpo-34170: Add _PyCoreConfig.bytes_warning by vstinner · Pull Request #8447 · python/cpython
Description: Add more fields to _PyCoreConfig: _check_hash_pycs_mode bytes_warning debug inspect interactive legacy_windows_fs_encoding legacy_windows_stdio optimization_level quiet unbuffered_stdio user_site_directory verbose write_bytecode Changes: Remove pymain_get_global_config() and pymain_set_global_config() which became useless. These functions have been replaced by _PyCoreConfig_GetGlobalConfig() and _PyCoreConfig_SetGlobalConfig(). sys.flags.dont_write_bytecode value is now restricted to 1 even if -B option is specified multiple times on the command line. PyThreadState_Clear() now uses the config from the current interpreter rather than using global Py_VerboseFlag https://bugs.python.org/issue34170
Open Graph Description: Add more fields to _PyCoreConfig: _check_hash_pycs_mode bytes_warning debug inspect interactive legacy_windows_fs_encoding legacy_windows_stdio optimization_level quiet unbuffered_stdio user_site_...
X Description: Add more fields to _PyCoreConfig: _check_hash_pycs_mode bytes_warning debug inspect interactive legacy_windows_fs_encoding legacy_windows_stdio optimization_level quiet unbuffered_stdio user_site_...
Opengraph URL: https://github.com/python/cpython/pull/8447
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:8fdb8584-6e05-0911-4c10-e86464b61ae2 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | BF92:13DDC4:3DE2BFB:55EAD8B:6A4F54F7 |
| html-safe-nonce | 4c96f97886e2f3498f6b245a43e8594e51a9991a1b72ff573d844358f7bafd4e |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCRjkyOjEzRERDNDozREUyQkZCOjU1RUFEOEI6NkE0RjU0RjciLCJ2aXNpdG9yX2lkIjoiODkyNTk5OTA5MzMyNTA1ODQ3IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 59e9d97ee3090d8ab8aebd619357440fb2d10c8a2ecf1f37783c39ba8d5f24c7 |
| hovercard-subject-tag | pull_request:203621859 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,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/python/cpython/pull/8447/files |
| twitter:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/194129?s=400&v=4 |
| og:image:alt | Add more fields to _PyCoreConfig: _check_hash_pycs_mode bytes_warning debug inspect interactive legacy_windows_fs_encoding legacy_windows_stdio optimization_level quiet unbuffered_stdio user_site_... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b92d11c0aa4a77d54ef4af1078b6a15fb5a70a215b30c4ecf28889d5a8e656d9 |
| turbo-cache-control | no-preview |
| diff-view | unified |
| 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 full-width |
| disable-turbo | true |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4b249b445842943ed31549e027f57a8ade9881ed |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width