Title: [MNT]: Upcoming version of `pyparsing` will start emitting `DeprecationWarnings` for legacy pre-PEP8 method and argument names · Issue #29722 · matplotlib/matplotlib · GitHub
Open Graph Title: [MNT]: Upcoming version of `pyparsing` will start emitting `DeprecationWarnings` for legacy pre-PEP8 method and argument names · Issue #29722 · matplotlib/matplotlib
X Title: [MNT]: Upcoming version of `pyparsing` will start emitting `DeprecationWarnings` for legacy pre-PEP8 method and argument names · Issue #29722 · matplotlib/matplotlib
Description: Summary I'm about to release version 3.2.2 of pyparsing, which will be the last version to quietly accept both PEP8 and non-PEP8 method and argument names (for instance, accepting parseString as an alias for parse_string). In pyparsing v...
Open Graph Description: Summary I'm about to release version 3.2.2 of pyparsing, which will be the last version to quietly accept both PEP8 and non-PEP8 method and argument names (for instance, accepting parseString as an...
X Description: Summary I'm about to release version 3.2.2 of pyparsing, which will be the last version to quietly accept both PEP8 and non-PEP8 method and argument names (for instance, accepting parseString a...
Opengraph URL: https://github.com/matplotlib/matplotlib/issues/29722
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[MNT]: Upcoming version of `pyparsing` will start emitting `DeprecationWarnings` for legacy pre-PEP8 method and argument names","articleBody":"### Summary\n\nI'm about to release version 3.2.2 of pyparsing, which will be the last version to quietly accept both PEP8 and non-PEP8 method and argument names (for instance, accepting `parseString` as an alias for `parse_string`). In pyparsing version 3.3.0, usage of those synonyms will start emitting `DeprecationWarnings`. In version 4.0.0 (currently planned not before 2026), the synonyms will be removed, so that usage of the legacy names will begin to raise various Python exceptions.\n\n### Proposed fix\n\nPyparsing 3.2.2 will include a scanner/converter script `pyparsing.tools.cvt_pyparsing_pep8_names` to report needed name changes, and optionally update Python scripts in place (this utility is already [checked in to GitHub](https://github.com/pyparsing/pyparsing/blob/master/pyparsing/tools/cvt_pyparsing_pep8_names.py) if you wish to try it out before that version gets released). The modified scripts should be compatible back to pyparsing 3.0.0, with the exception of those using `delimitedList`, which will require pyparsing 3.1.0. This script can be added to CI automation as a scanner to detect needed changes, and used manually to actually apply the necessary changes.\n\nIn addition, I plan to release at least 1 alpha and 1 beta release of 3.3.0 before a final release, so that the matplotlib team can run it through its paces.\n\nmatplotlib is one of the most significant users of pyparsing, and I would like to be sure that I can maintain compatibility with its uses of this package.","author":{"url":"https://github.com/ptmcg","@type":"Person","name":"ptmcg"},"datePublished":"2025-03-09T20:59:36.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":3},"url":"https://github.com/29722/matplotlib/issues/29722"}
| 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:7c31706d-9964-392d-5d70-fa9a1408981f |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DC84:24534E:62C1A9:8502EB:6A51ECD7 |
| html-safe-nonce | 444854919e44ade11d3065788efa21375eb0b991817832bae6d47d6c465e84e5 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQzg0OjI0NTM0RTo2MkMxQTk6ODUwMkVCOjZBNTFFQ0Q3IiwidmlzaXRvcl9pZCI6Ijc5ODAzNzI1NDU3MDk5Mjc2MzkiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | b0ed0711da4940d2a17950da732be5eb4ef033dbff1d43eeab8e5c965932105d |
| hovercard-subject-tag | issue:2905671650 |
| 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/29722/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3d31e4482d60fd973241d4d9b2de24553ff7762f1921436ff1bad469532a30a0/matplotlib/matplotlib/issues/29722 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3d31e4482d60fd973241d4d9b2de24553ff7762f1921436ff1bad469532a30a0/matplotlib/matplotlib/issues/29722 |
| og:image:alt | Summary I'm about to release version 3.2.2 of pyparsing, which will be the last version to quietly accept both PEP8 and non-PEP8 method and argument names (for instance, accepting parseString as an... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | ptmcg |
| 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 | 7aed05249554b889eb33d002851a973eebcc7e91 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width