Title: bpo-40222: Mark exception table function in the dis module as private by pablogsal · Pull Request #95960 · python/cpython · GitHub
Open Graph Title: bpo-40222: Mark exception table function in the dis module as private by pablogsal · Pull Request #95960 · python/cpython
X Title: bpo-40222: Mark exception table function in the dis module as private by pablogsal · Pull Request #95960 · python/cpython
Description: Parsing VM initial structure Hook things up so we can test it Add debugging printf()s in anger; fix bugs Implement actions Support optional tokens Support optional rules Add vmreadme.md; OP_SUCCESS has an argument Do optional items differently (with a postfix op) Compute start/end line/col numbers; add some ideas to vmreadme.md Tighten the code; add some speculation to vmreadme Add OP_NOOP; add enums for rules & actions Implement loops Add a few more rules to the grammar Drop debug printf()s, more flexibility in parse_string() Add memoization, some debug niceties Inline helper functions Explain OP_OPTIONAL better Skeleton of code generator Simplify structure of OP_SUCCESS Move opcodes around Add a 'grammar' for operations Move generated part of vm.h into vmparse.h Clean skeleton of vm_generator Better formatting of generated file; remove unneeded indentation Add OP_LOOP_COLLECT_NONEMPTY -- used for a+ Expand description of root rules Initial support for repeat_0 Fix name rules for repeat0 nodes Eliminate OP_LOOP_START Do fewer reallocs (at the cost of an extra int per frame) Speculate how to implement a.b+ Make memo rule types distinct from token types Fix small issues in vmreadme.pm Add generation of root rules (very coarssely) Add enum for rule types (R_) Generate actions (primitively) Implement code generation for keywords Refactor add_opcode to optionally accept a second argument oparg Translate item names in actions; use the generated vmparse.h! Fix mypy (in vm_generator) Avoid name conflict for 'f' Generate code for repeat1 loops Implement delimited loops (b.a+) Generate code for delimited loop Implement soft keywords (hand-written and code generation) (#129) Update generated vmparse.h Fix code generation for if_stmt Implement lookahead ops Generate code for lookaheads (only one token supported!) Implement left-recursion (with hand-coded vmparse.h) Code generation for left-recursive rules Allow specifying different grammars Generate code for 'cut' Support groups and optional in code generator There's no need to special-case -> in actions Treat TYPE_COMMENT as a token (since it is) Generate code for Grammar/parser.gram Group every opcode with its argument (#131) Add vm target to pegen script to generate the vm parser (#130) Selective memoization Don't call is_memoized in OP_RETURN_LEFT_REC Different way of doing left-recursion Remove leftover conflict markers Fix deps for vm.o Fix includes for vm.c Regenerated vmparse.h bpo-40222: Mark exception table function in the dis module as private
Open Graph Description: Parsing VM initial structure Hook things up so we can test it Add debugging printf()s in anger; fix bugs Implement actions Support optional tokens Support optional rules Add vmreadme.md; OP_SUCCESS...
X Description: Parsing VM initial structure Hook things up so we can test it Add debugging printf()s in anger; fix bugs Implement actions Support optional tokens Support optional rules Add vmreadme.md; OP_SUCCESS...
Opengraph URL: https://github.com/python/cpython/pull/95960
X: @github
Domain: github.com
| route-pattern | /:user_id/:repository/pull/:id/checks(.:format) |
| route-controller | pull_requests |
| route-action | checks |
| fetch-nonce | v2:f2eed9d9-e3ff-1e00-029a-e8d780201d5f |
| current-catalog-service-hash | 87dc3bc62d9b466312751bfd5f889726f4f1337bdff4e8be7da7c93d6c00a25a |
| request-id | A726:DEDFE:B043E6:EE3F47:696ABE48 |
| html-safe-nonce | 697ae1bec2f85d7a2744c738bea34bfed02ad5fe171797e3213b4e77e5a039b7 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBNzI2OkRFREZFOkIwNDNFNjpFRTNGNDc6Njk2QUJFNDgiLCJ2aXNpdG9yX2lkIjoiNzM0MjgzMTQzMTM4NzM2NDkzNiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 44268f5552acb1acffeccf805f5ab46427a6c819eacfec41982ff86ee527c52e |
| hovercard-subject-tag | pull_request:1025640565 |
| github-keyboard-shortcuts | repository,pull-request-list,pull-request-conversation,pull-request-files-changed,checks,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/95960/checks |
| twitter:image | https://avatars.githubusercontent.com/u/11718525?s=400&v=4 |
| twitter:card | summary_large_image |
| og:image | https://avatars.githubusercontent.com/u/11718525?s=400&v=4 |
| og:image:alt | Parsing VM initial structure Hook things up so we can test it Add debugging printf()s in anger; fix bugs Implement actions Support optional tokens Support optional rules Add vmreadme.md; OP_SUCCESS... |
| og:site_name | GitHub |
| og:type | object |
| hostname | github.com |
| expected-hostname | github.com |
| None | 46ce962e0e18113ea447391b6ace8b02d4d2861e57b4fbab3658698f73d8855b |
| 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 full-width full-width-p-0 |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 30300f30bb3949de255e84a146706a3bdb5c19c9 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width