Title: Python syntax error reporting has changed · Issue #50 · object-oriented-python/object-oriented-programming · GitHub
Open Graph Title: Python syntax error reporting has changed · Issue #50 · object-oriented-python/object-oriented-programming
X Title: Python syntax error reporting has changed · Issue #50 · object-oriented-python/object-oriented-programming
Description: With Python 3.13 (and perhaps earlier) the example in chapter 6 of a multiline syntax error no longer works: >>> (1, 2 ... print(a) ... File "
Open Graph Description: With Python 3.13 (and perhaps earlier) the example in chapter 6 of a multiline syntax error no longer works: >>> (1, 2 ... print(a) ... File "
X Description: With Python 3.13 (and perhaps earlier) the example in chapter 6 of a multiline syntax error no longer works: >>> (1, 2 ... print(a) ... File "<python-input-0>", line 1 (1, ...
Opengraph URL: https://github.com/object-oriented-python/object-oriented-programming/issues/50
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Python syntax error reporting has changed","articleBody":"With Python 3.13 (and perhaps earlier) the example in chapter 6 of a multiline syntax error no longer works:\n\n```\n\u003e\u003e\u003e (1, 2\n... print(a)\n...\n File \"\u003cpython-input-0\u003e\", line 1\n (1, 2\n ^\nSyntaxError: '(' was never closed\n```\nPython is smart enough to know that the error is happening on the line above and no longer points to `print(a)` as the culprit.","author":{"url":"https://github.com/connorjward","@type":"Person","name":"connorjward"},"datePublished":"2025-11-05T12:07:05.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/50/object-oriented-programming/issues/50"}
| 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:6b291df7-2c58-6df6-cbf9-f65fd97576d8 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | D942:12E2F2:B0E9D3:E4EC61:69923B44 |
| html-safe-nonce | 46893a79b0a3df9cf85362f9589b6396f6856b057cc8d86882b6fa70d80f767b |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEOTQyOjEyRTJGMjpCMEU5RDM6RTRFQzYxOjY5OTIzQjQ0IiwidmlzaXRvcl9pZCI6Ijg1MzA1MjA2MDE3Njg2MzkzMDAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | bb4d4edf948f31bbe85eea5364231aa92467b70dab60beef29e61e079b03f307 |
| hovercard-subject-tag | issue:3590709056 |
| 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/object-oriented-python/object-oriented-programming/50/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2e57b39fbe53189d85f0bf0140190d414967315f59c23926a4f17f8a73c97be9/object-oriented-python/object-oriented-programming/issues/50 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2e57b39fbe53189d85f0bf0140190d414967315f59c23926a4f17f8a73c97be9/object-oriented-python/object-oriented-programming/issues/50 |
| og:image:alt | With Python 3.13 (and perhaps earlier) the example in chapter 6 of a multiline syntax error no longer works: >>> (1, 2 ... print(a) ... File " |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | connorjward |
| hostname | github.com |
| expected-hostname | github.com |
| None | 42c603b9d642c4a9065a51770f75e5e27132fef0e858607f5c9cb7e422831a7b |
| turbo-cache-control | no-preview |
| go-import | github.com/object-oriented-python/object-oriented-programming git https://github.com/object-oriented-python/object-oriented-programming.git |
| octolytics-dimension-user_id | 68288147 |
| octolytics-dimension-user_login | object-oriented-python |
| octolytics-dimension-repository_id | 188671585 |
| octolytics-dimension-repository_nwo | object-oriented-python/object-oriented-programming |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 188671585 |
| octolytics-dimension-repository_network_root_nwo | object-oriented-python/object-oriented-programming |
| 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 | 848bc6032dcc93a9a7301dcc3f379a72ba13b96e |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width