Title: modulefinder fails if module contains syntax error · Issue #61598 · python/cpython · GitHub
Open Graph Title: modulefinder fails if module contains syntax error · Issue #61598 · python/cpython
X Title: modulefinder fails if module contains syntax error · Issue #61598 · python/cpython
Description: BPO 17396 Nosy @brettcannon, @ncoghlan, @merwok, @bitdancer, @florentx, @ericsnowcurrently, @berkerpeksag PRs #11787#11787#11787#11787 Files fix-handling-of-syntax-errors.diff: Reraise SyntaxError as ImportError if imported module code c...
Open Graph Description: BPO 17396 Nosy @brettcannon, @ncoghlan, @merwok, @bitdancer, @florentx, @ericsnowcurrently, @berkerpeksag PRs #11787#11787#11787#11787 Files fix-handling-of-syntax-errors.diff: Reraise SyntaxError ...
X Description: BPO 17396 Nosy @brettcannon, @ncoghlan, @merwok, @bitdancer, @florentx, @ericsnowcurrently, @berkerpeksag PRs #11787#11787#11787#11787 Files fix-handling-of-syntax-errors.diff: Reraise SyntaxError ...
Opengraph URL: https://github.com/python/cpython/issues/61598
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"modulefinder fails if module contains syntax error","articleBody":"BPO | [17396](https://bugs.python.org/issue17396)\n--- | :---\nNosy | @brettcannon, @ncoghlan, @merwok, @bitdancer, @florentx, @ericsnowcurrently, @berkerpeksag\nPRs | \u003cli\u003epython/cpython#11787\u003c/li\u003e\u003cli\u003epython/cpython#11787\u003c/li\u003e\u003cli\u003epython/cpython#11787\u003c/li\u003e\u003cli\u003epython/cpython#11787\u003c/li\u003e\nFiles | \u003cli\u003e[fix-handling-of-syntax-errors.diff](https://bugs.python.org/file29376/fix-handling-of-syntax-errors.diff \"Uploaded as text/plain at 2013-03-11.12:03:45 by jgosmann\"): Reraise SyntaxError as ImportError if imported module code cannot be compiled\u003c/li\u003e\u003cli\u003e[fix-handling-of-syntax-errors.diff](https://bugs.python.org/file30237/fix-handling-of-syntax-errors.diff \"Uploaded as text/plain at 2013-05-12.20:18:16 by jgosmann\"): Reraise SyntaxError as ImportError if imported module code cannot be compiled\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 2019-04-07.08:06:01.330\u003e\ncreated_at = \u003cDate 2013-03-11.12:03:45.792\u003e\nlabels = ['3.8', 'type-bug', 'library']\ntitle = 'modulefinder fails if module contains syntax error'\nupdated_at = \u003cDate 2019-04-07.08:06:01.323\u003e\nuser = 'https://bugs.python.org/jgosmann'\n```\n\nbugs.python.org fields:\n```python\nactivity = \u003cDate 2019-04-07.08:06:01.323\u003e\nactor = 'ncoghlan'\nassignee = 'none'\nclosed = True\nclosed_date = \u003cDate 2019-04-07.08:06:01.330\u003e\ncloser = 'ncoghlan'\ncomponents = ['Library (Lib)']\ncreation = \u003cDate 2013-03-11.12:03:45.792\u003e\ncreator = 'jgosmann'\ndependencies = []\nfiles = ['29376', '30237']\nhgrepos = []\nissue_num = 17396\nkeywords = ['patch']\nmessage_count = 8.0\nmessages = ['183953', '187938', '187941', '187960', '187961', '189059', '189060', '339562']\nnosy_count = 8.0\nnosy_names = ['brett.cannon', 'ncoghlan', 'eric.araujo', 'r.david.murray', 'flox', 'eric.snow', 'berker.peksag', 'jgosmann']\npr_nums = ['11787', '11787', '11787', '11787']\npriority = 'normal'\nresolution = 'fixed'\nstage = 'resolved'\nstatus = 'closed'\nsuperseder = None\ntype = 'behavior'\nurl = 'https://bugs.python.org/issue17396'\nversions = ['Python 3.8']\n```\n\n\u003c/p\u003e\u003c/details\u003e\n","author":{"url":"https://github.com/jgosmann","@type":"Person","name":"jgosmann"},"datePublished":"2013-03-11T12:03:46.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":8},"url":"https://github.com/61598/cpython/issues/61598"}
| 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:2a034665-4037-4204-4f33-8dd89cafa779 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D690:31D2C6:75F699:9B4EB6:6A5AEBF5 |
| html-safe-nonce | 02cfb450641668f05a9aa9caaf0ee99126dc7085c129f80a337f208c00c6f270 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJENjkwOjMxRDJDNjo3NUY2OTk6OUI0RUI2OjZBNUFFQkY1IiwidmlzaXRvcl9pZCI6Ijg1NjY1NDQzNzM2ODkwMTkzODEiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 6ed82f0964dd6c27a1116be4ca653eacd4b96f68cf172b63e419c7d075af21b1 |
| hovercard-subject-tag | issue:1198897801 |
| 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/61598/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4db26312bc17c598de28708a23b903a31391f5c8beba82552acf6384293f91b5/python/cpython/issues/61598 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4db26312bc17c598de28708a23b903a31391f5c8beba82552acf6384293f91b5/python/cpython/issues/61598 |
| og:image:alt | BPO 17396 Nosy @brettcannon, @ncoghlan, @merwok, @bitdancer, @florentx, @ericsnowcurrently, @berkerpeksag PRs #11787#11787#11787#11787 Files fix-handling-of-syntax-errors.diff: Reraise SyntaxError ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jgosmann |
| hostname | github.com |
| expected-hostname | github.com |
| None | 5290d7e14309ad1e76106a9c4237bd1041517e83ea182c8ab756752cb0c6940b |
| 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 | 9c975978430e9ad293956f2bbdaf153b1bd84a99 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width