Title: in debug mode, compile(ast) fails with an assertion error if an AST node has no line number information · Issue #65584 · python/cpython · GitHub
Open Graph Title: in debug mode, compile(ast) fails with an assertion error if an AST node has no line number information · Issue #65584 · python/cpython
X Title: in debug mode, compile(ast) fails with an assertion error if an AST node has no line number information · Issue #65584 · python/cpython
Description: BPO 21385 Nosy @terryjreedy, @vstinner, @benjaminp, @bitdancer, @PCManticore, @ztane Superseder bpo-26107: PEP 511: code.co_lnotab: use signed line number delta to support moving instructions in an optimizer Files astlinenotest.py: an ex...
Open Graph Description: BPO 21385 Nosy @terryjreedy, @vstinner, @benjaminp, @bitdancer, @PCManticore, @ztane Superseder bpo-26107: PEP 511: code.co_lnotab: use signed line number delta to support moving instructions in an...
X Description: BPO 21385 Nosy @terryjreedy, @vstinner, @benjaminp, @bitdancer, @PCManticore, @ztane Superseder bpo-26107: PEP 511: code.co_lnotab: use signed line number delta to support moving instructions in an...
Opengraph URL: https://github.com/python/cpython/issues/65584
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"in debug mode, compile(ast) fails with an assertion error if an AST node has no line number information","articleBody":"BPO | [21385](https://bugs.python.org/issue21385)\n--- | :---\nNosy | @terryjreedy, @vstinner, @benjaminp, @bitdancer, @PCManticore, @ztane\nSuperseder | \u003cli\u003ebpo-26107: PEP 511: code.co_lnotab: use signed line number delta to support moving instructions in an optimizer\u003c/li\u003e\nFiles | \u003cli\u003e[astlinenotest.py](https://bugs.python.org/file35090/astlinenotest.py \"Uploaded as text/plain at 2014-04-29.09:00:09 by @ztane\"): an example of how to trigger the assertion failure using ASTs and compile\u003c/li\u003e\n\n\u003csup\u003e*Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.*\u003c/sup\u003e\n\n\u003cdetails\u003e\u003csummary\u003eShow more details\u003c/summary\u003e\u003cp\u003e\n\nGitHub fields:\n```python\nassignee = None\nclosed_at = \u003cDate 2016-01-20.11:35:39.832\u003e\ncreated_at = \u003cDate 2014-04-29.09:00:10.830\u003e\nlabels = ['interpreter-core', 'type-crash']\ntitle = 'in debug mode, compile(ast) fails with an assertion error if an AST node has no line number information'\nupdated_at = \u003cDate 2016-01-20.11:35:39.830\u003e\nuser = 'https://github.com/ztane'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2016-01-20.11:35:39.830\u003e\nactor = 'vstinner'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2016-01-20.11:35:39.832\u003e\ncloser = 'vstinner'\ncomponents = ['Interpreter Core']\ncreation = \u003cDate 2014-04-29.09:00:10.830\u003e\ncreator = 'ztane'\ndependencies = []\nfiles = ['35090']\nhgrepos = []\nissue_num = 21385\nkeywords = []\nmessage_count = 7.0\nmessages = ['217502', '217806', '218383', '218412', '218700', '218723', '258670']\nnosy_count = 6.0\nnosy_names = ['terry.reedy', 'vstinner', 'benjamin.peterson', 'r.david.murray', 'Claudiu.Popa', 'ztane']\npr_nums = []\npriority = 'normal'\nresolution = 'fixed'\nstage = 'needs patch'\nstatus = 'closed'\nsuperseder = '26107'\ntype = 'crash'\nurl = 'https://bugs.python.org/issue21385'\nversions = ['Python 2.7', 'Python 3.4', 'Python 3.5']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/ztane","@type":"Person","name":"ztane"},"datePublished":"2014-04-29T09:00:11.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":7},"url":"https://github.com/65584/cpython/issues/65584"}
| 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:d9a938d5-6c28-63e4-a13a-c4d0c70c375d |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D4C4:DD673:66E99C:8DC36C:6A57D432 |
| html-safe-nonce | 257238c576441f1ed891201905484477006647acd8edc55d45740bbf40108859 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENEM0OkRENjczOjY2RTk5Qzo4REMzNkM6NkE1N0Q0MzIiLCJ2aXNpdG9yX2lkIjoiNzUyMzQ4ODU5NjM3MDExNzY4MiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 86d76b62a57359cc35680d5b68ffeeed3b2b4eb9f6a4ea863fd49711e3a379d4 |
| hovercard-subject-tag | issue:1198920070 |
| 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/65584/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4a5b181151795cd8d73fbc7152b3cf9d1cbad941ed5f144f282e2e6765169bd6/python/cpython/issues/65584 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4a5b181151795cd8d73fbc7152b3cf9d1cbad941ed5f144f282e2e6765169bd6/python/cpython/issues/65584 |
| og:image:alt | BPO 21385 Nosy @terryjreedy, @vstinner, @benjaminp, @bitdancer, @PCManticore, @ztane Superseder bpo-26107: PEP 511: code.co_lnotab: use signed line number delta to support moving instructions in an... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ztane |
| hostname | github.com |
| expected-hostname | github.com |
| None | 837767abbd14b05f219fd812ef2842c659968b63619e1b966dded83972ab5bca |
| 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 | 9044d0f867aa9892268d1f430238ff123e11ee91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width