Title: compiler's line number propagation algorithm could be more robust · Issue #103795 · python/cpython · GitHub
Open Graph Title: compiler's line number propagation algorithm could be more robust · Issue #103795 · python/cpython
X Title: compiler's line number propagation algorithm could be more robust · Issue #103795 · python/cpython
Description: The bug in #101517 was due to a raise instruction not being assigned a line number. This happened because the compiler's line number propagation algorithm cannot propagate line numbers to blocks that have two predecessors. The fix for th...
Open Graph Description: The bug in #101517 was due to a raise instruction not being assigned a line number. This happened because the compiler's line number propagation algorithm cannot propagate line numbers to blocks th...
X Description: The bug in #101517 was due to a raise instruction not being assigned a line number. This happened because the compiler's line number propagation algorithm cannot propagate line numbers to block...
Opengraph URL: https://github.com/python/cpython/issues/103795
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"compiler's line number propagation algorithm could be more robust","articleBody":"The bug in https://github.com/python/cpython/issues/101517 was due to a raise instruction not being assigned a line number. This happened because the compiler's line number propagation algorithm cannot propagate line numbers to blocks that have two predecessors. The fix for that case was to reorganise the instructions so that this situation is avoided. \r\n\r\nWe should\r\n\r\n1. Be able to detect when this happens (via assertions in the compiler). \r\n2. Make the line number propagation algorithm more robust so that this doesn't happen.\r\n\r\n\r\nSee also https://github.com/python/cpython/pull/103550#pullrequestreview-1398779636.\r\n\r\nCC @carljm ","author":{"url":"https://github.com/iritkatriel","@type":"Person","name":"iritkatriel"},"datePublished":"2023-04-24T21:13:21.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/103795/cpython/issues/103795"}
| 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:8cc9cd46-4201-9ca5-6451-8e1b6b93c66e |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9C1E:D2759:49B50:5D575:696AF8F0 |
| html-safe-nonce | eef02b2fd4918a3550f847fa357afab6bd2ba26f4f7fca4d890015bc99262e72 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QzFFOkQyNzU5OjQ5QjUwOjVENTc1OjY5NkFGOEYwIiwidmlzaXRvcl9pZCI6IjU4MzQ1MjQ3ODIwMTgzNjE1ODQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 78fbd0539e6bba1eba56be5f1be368f0401ae45539ccfd731145229fb4a9dd86 |
| hovercard-subject-tag | issue:1682054188 |
| 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/103795/issue_layout |
| twitter:image | https://opengraph.githubassets.com/efe9cfc8e131eaa687319090abc6e04c04fe0c1c5db244755c643fa8284e62e9/python/cpython/issues/103795 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/efe9cfc8e131eaa687319090abc6e04c04fe0c1c5db244755c643fa8284e62e9/python/cpython/issues/103795 |
| og:image:alt | The bug in #101517 was due to a raise instruction not being assigned a line number. This happened because the compiler's line number propagation algorithm cannot propagate line numbers to blocks th... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | iritkatriel |
| 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