Title: [ENH]: Parser errors should mention that commands do not exist · Issue #26732 · matplotlib/matplotlib · GitHub
Open Graph Title: [ENH]: Parser errors should mention that commands do not exist · Issue #26732 · matplotlib/matplotlib
X Title: [ENH]: Parser errors should mention that commands do not exist · Issue #26732 · matplotlib/matplotlib
Description: Problem I recently hit a parser error after upgrading matplotlib from 3.4.2 to 3.7.2 in our build: \sum_{i=0}^\infty x_i * \frac{3}{4} \binom{3}{4} \stackrel{3}{4} * \sqrt[3]{x} ^ ParseFatalException: Expected token, found '\' (at char 4...
Open Graph Description: Problem I recently hit a parser error after upgrading matplotlib from 3.4.2 to 3.7.2 in our build: \sum_{i=0}^\infty x_i * \frac{3}{4} \binom{3}{4} \stackrel{3}{4} * \sqrt[3]{x} ^ ParseFatalExcepti...
X Description: Problem I recently hit a parser error after upgrading matplotlib from 3.4.2 to 3.7.2 in our build: \sum_{i=0}^\infty x_i * \frac{3}{4} \binom{3}{4} \stackrel{3}{4} * \sqrt[3]{x} ^ ParseFatalExcepti...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/26732
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[ENH]: Parser errors should mention that commands do not exist","articleBody":"### Problem\n\nI recently hit a parser error after upgrading `matplotlib` from 3.4.2 to 3.7.2 in our build:\r\n\r\n```\r\n\\sum_{i=0}^\\infty x_i * \\frac{3}{4} \\binom{3}{4} \\stackrel{3}{4} * \\sqrt[3]{x}\r\n ^\r\nParseFatalException: Expected token, found '\\' (at char 49), (line:1, col:50)\r\n```\r\n\r\nAfter digging through a few rabbit holes (e.g., reverting from `pyparsing` 3.1.x to 3.0.9), it turns out that `stackrel` had been deprecated all the way back in 3.1.0.\n\n### Proposed solution\n\nIt would be nice if, instead of an error like this, it says something like '`stackrel` is not a recognized command\". Even better would be to have the `stackrel` deprecation bring up a warning/error at this point.","author":{"url":"https://github.com/mathstuf","@type":"Person","name":"mathstuf"},"datePublished":"2023-09-11T00:32:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/26732/matplotlib/issues/26732"}
| 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:edc2229e-30d6-584a-7a26-3daf521dcfd3 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | AC66:F8982:1C01A0F:262FF48:6A537322 |
| html-safe-nonce | c2549c26ebef8b96cd29c851cd143e131748c8ceadcf768dd1438be3b0c390f8 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQzY2OkY4OTgyOjFDMDFBMEY6MjYyRkY0ODo2QTUzNzMyMiIsInZpc2l0b3JfaWQiOiI2NzQ2NTM4OTc2ODQ3NTU3NDEwIiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0= |
| visitor-hmac | 1decb8fcfb3a5da24bdc4ded6ae1809125dba9a9621b676d9c189b72b5f1830e |
| hovercard-subject-tag | issue:1889411624 |
| 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/matplotlib/matplotlib/26732/issue_layout |
| twitter:image | https://opengraph.githubassets.com/882576b7ca176924ee01a508551ccfc01c5992aed3bf6213edcb5012ffff827e/matplotlib/matplotlib/issues/26732 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/882576b7ca176924ee01a508551ccfc01c5992aed3bf6213edcb5012ffff827e/matplotlib/matplotlib/issues/26732 |
| og:image:alt | Problem I recently hit a parser error after upgrading matplotlib from 3.4.2 to 3.7.2 in our build: \sum_{i=0}^\infty x_i * \frac{3}{4} \binom{3}{4} \stackrel{3}{4} * \sqrt[3]{x} ^ ParseFatalExcepti... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | mathstuf |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/matplotlib/matplotlib git https://github.com/matplotlib/matplotlib.git |
| octolytics-dimension-user_id | 215947 |
| octolytics-dimension-user_login | matplotlib |
| octolytics-dimension-repository_id | 1385122 |
| octolytics-dimension-repository_nwo | matplotlib/matplotlib |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 1385122 |
| octolytics-dimension-repository_network_root_nwo | matplotlib/matplotlib |
| 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 | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width