Title: bpo-23403: [lib2to3] Make grammar pickling faster by ambv · Pull Request #6491 · python/cpython · GitHub
Open Graph Title: bpo-23403: [lib2to3] Make grammar pickling faster by ambv · Pull Request #6491 · python/cpython
X Title: bpo-23403: [lib2to3] Make grammar pickling faster by ambv · Pull Request #6491 · python/cpython
Description: Now uses pickle protocol 4 Doesn't wrap the grammar's __dict__ in ordered dictionaries anymore as dictionaries in Python 3.6+ are ordered by default This still produces deterministic pickles (that hash the same with MD5). Tested with different PYTHONHASHSEED values. https://bugs.python.org/issue23403
Open Graph Description: Now uses pickle protocol 4 Doesn't wrap the grammar's __dict__ in ordered dictionaries anymore as dictionaries in Python 3.6+ are ordered by default This still produces deterministic pi...
X Description: Now uses pickle protocol 4 Doesn't wrap the grammar's __dict__ in ordered dictionaries anymore as dictionaries in Python 3.6+ are ordered by default This still produces determin...
Opengraph URL: https://github.com/python/cpython/pull/6491
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/files(.:format) |
| route-controller | pull_requests |
| route-action | files |
| fetch-nonce | v2:cefe9291-4fff-83fc-841b-fd55fcd2b5a8 |
| current-catalog-service-hash | ae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b |
| request-id | DF6A:26FC81:10EBE81:16B8103:6A53371B |
| html-safe-nonce | 714da4b6c0d9e6bba523a4c3d1bfcb79bff63dfda231cce9d36599d04b1a3955 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJERjZBOjI2RkM4MToxMEVCRTgxOjE2QjgxMDM6NkE1MzM3MUIiLCJ2aXNpdG9yX2lkIjoiMzU0NDk5MDA4NTc2NTM0NzA5OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 009029e307a67785f745170ecebce5d975df9c261322d1c13c0080fc466bad25 |
| hovercard-subject-tag | pull_request:182013939 |
| 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/6491/files |
| twitter:image | https://avatars.githubusercontent.com/u/55281?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/55281?s=400&v=4 |
| og:image:alt | Now uses pickle protocol 4 Doesn't wrap the grammar's __dict__ in ordered dictionaries anymore as dictionaries in Python 3.6+ are ordered by default This still produces deterministic pi... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width