| Skip to content | https://github.com/python/cpython/pull/22917/files#start-of-content |
|
| https://github.com/ |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22917%2Ffiles |
| GitHub CopilotWrite better code with AI | https://github.com/features/copilot |
| GitHub Copilot appDirect agents from issue to merge | https://github.com/features/ai/github-app |
| MCP RegistryNewIntegrate external tools | https://github.com/mcp |
| ActionsAutomate any workflow | https://github.com/features/actions |
| CodespacesInstant dev environments | https://github.com/features/codespaces |
| IssuesPlan and track work | https://github.com/features/issues |
| Code ReviewManage code changes | https://github.com/features/code-review |
| GitHub Advanced SecurityFind and fix vulnerabilities | https://github.com/security/advanced-security |
| Code securitySecure your code as you build | https://github.com/security/advanced-security/code-security |
| Secret protectionStop leaks before they start | https://github.com/security/advanced-security/secret-protection |
| Why GitHub | https://github.com/why-github |
| Documentation | https://docs.github.com |
| Blog | https://github.blog |
| Changelog | https://github.blog/changelog |
| Marketplace | https://github.com/marketplace |
| View all features | https://github.com/features |
| Enterprises | https://github.com/enterprise |
| Small and medium teams | https://github.com/team |
| Startups | https://github.com/enterprise/startups |
| Nonprofits | https://github.com/solutions/industry/nonprofits |
| App Modernization | https://github.com/solutions/use-case/app-modernization |
| DevSecOps | https://github.com/solutions/use-case/devsecops |
| DevOps | https://github.com/solutions/use-case/devops |
| CI/CD | https://github.com/solutions/use-case/ci-cd |
| View all use cases | https://github.com/solutions/use-case |
| Healthcare | https://github.com/solutions/industry/healthcare |
| Financial services | https://github.com/solutions/industry/financial-services |
| Manufacturing | https://github.com/solutions/industry/manufacturing |
| Government | https://github.com/solutions/industry/government |
| View all industries | https://github.com/solutions/industry |
| View all solutions | https://github.com/solutions |
| AI | https://github.com/resources/articles?topic=ai |
| Software Development | https://github.com/resources/articles?topic=software-development |
| DevOps | https://github.com/resources/articles?topic=devops |
| Security | https://github.com/resources/articles?topic=security |
| View all topics | https://github.com/resources/articles |
| Customer stories | https://github.com/customer-stories |
| Events & webinars | https://github.com/resources/events |
| Ebooks & reports | https://github.com/resources/whitepapers |
| Business insights | https://github.com/solutions/executive-insights |
| GitHub Skills | https://skills.github.com |
| Documentation | https://docs.github.com |
| Customer support | https://support.github.com |
| Community forum | https://github.com/orgs/community/discussions |
| Trust center | https://github.com/trust-center |
| Partners | https://github.com/partners |
| View all resources | https://github.com/resources |
| GitHub SponsorsFund open source developers | https://github.com/open-source/sponsors |
| Security Lab | https://securitylab.github.com |
| Maintainer Community | https://maintainers.github.com |
| Accelerator | https://github.com/open-source/accelerator |
| GitHub Stars | https://stars.github.com |
| Archive Program | https://archiveprogram.github.com |
| Topics | https://github.com/topics |
| Trending | https://github.com/trending |
| Collections | https://github.com/collections |
| Enterprise platformAI-powered developer platform | https://github.com/enterprise |
| GitHub Advanced SecurityEnterprise-grade security features | https://github.com/security/advanced-security |
| Copilot for BusinessEnterprise-grade AI features | https://github.com/features/copilot/copilot-business |
| Premium SupportEnterprise-grade 24/7 support | https://github.com/enterprise/premium-support |
| Pricing | https://github.com/pricing |
| Search syntax tips | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
| documentation | https://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax |
|
Sign in
| https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fpython%2Fcpython%2Fpull%2F22917%2Ffiles |
|
Sign up
| https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=python%2Fcpython |
| Reload | https://github.com/python/cpython/pull/22917/files |
| Reload | https://github.com/python/cpython/pull/22917/files |
| Reload | https://github.com/python/cpython/pull/22917/files |
| Please reload this page | https://github.com/python/cpython/pull/22917/files |
|
python
| https://github.com/python |
| cpython | https://github.com/python/cpython |
| Please reload this page | https://github.com/python/cpython/pull/22917/files |
|
Notifications
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Fork
35k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Star
73.8k
| https://github.com/login?return_to=%2Fpython%2Fcpython |
|
Code
| https://github.com/python/cpython |
|
Issues
5k+
| https://github.com/python/cpython/issues |
|
Pull requests
2.3k
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
0
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
|
Code
| https://github.com/python/cpython |
|
Issues
| https://github.com/python/cpython/issues |
|
Pull requests
| https://github.com/python/cpython/pulls |
|
Actions
| https://github.com/python/cpython/actions |
|
Projects
| https://github.com/python/cpython/projects |
|
Security and quality
| https://github.com/python/cpython/security |
|
Insights
| https://github.com/python/cpython/pulse |
| Sign up for GitHub
| https://github.com/signup?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| terms of service | https://docs.github.com/terms |
| privacy statement | https://docs.github.com/privacy |
| Sign in | https://github.com/login?return_to=%2Fpython%2Fcpython%2Fissues%2Fnew%2Fchoose |
| brandtbucher | https://github.com/brandtbucher |
| python:master | https://github.com/python/cpython/tree/master |
| brandtbucher:patma | https://github.com/brandtbucher/cpython/tree/patma |
|
Conversation
78
| https://github.com/python/cpython/pull/22917 |
|
Commits
250
| https://github.com/python/cpython/pull/22917/commits |
|
Checks
0
| https://github.com/python/cpython/pull/22917/checks |
|
Files changed
| https://github.com/python/cpython/pull/22917/files |
| Please reload this page | https://github.com/python/cpython/pull/22917/files |
|
bpo-42128: Structural Pattern Matching (PEP 634)
| https://github.com/python/cpython/pull/22917/files#top |
|
Show all changes
260 commits
| https://github.com/python/cpython/pull/22917/files |
|
1d39be6
Tentative (incomplete) grammar for match statements
gvanrossum May 25, 2020
| https://github.com/python/cpython/pull/22917/commits/1d39be6f9e3351ad9799f9d174edc3e6d142b9d9 |
|
67354ad
Add tests for or-patterns
brandtbucher May 25, 2020
| https://github.com/python/cpython/pull/22917/commits/67354ad6669bc65493a80c4b0dd8585547efaae9 |
|
5d609c7
Add support for or-patterns
brandtbucher May 25, 2020
| https://github.com/python/cpython/pull/22917/commits/5d609c7866671f2d5a7ac9e6eb14727e9289ba81 |
|
a222351
Merge branch 'patma' of https://github.com/brandtbucher/cpython into …
brandtbucher May 25, 2020
| https://github.com/python/cpython/pull/22917/commits/a222351ee42ca97379c3f87627f3eaaa90eda307 |
|
1f8bcbd
Clean up pattern matching compiler
brandtbucher May 26, 2020
| https://github.com/python/cpython/pull/22917/commits/1f8bcbd737ab1fc7465ea153f16a004c8c821dfe |
|
eb704d4
Add attribute/name support
brandtbucher May 26, 2020
| https://github.com/python/cpython/pull/22917/commits/eb704d4284fd1be743faecd7c9ac07dc3978f747 |
|
5a361bf
Validate name context
brandtbucher May 26, 2020
| https://github.com/python/cpython/pull/22917/commits/5a361bff2ba14a6a5140292c5a7e007c4e547de9 |
|
9c2e61c
Clean up pattern compiler
brandtbucher May 26, 2020
| https://github.com/python/cpython/pull/22917/commits/9c2e61cb51c052c770baa6e0213eea601cb3ffd9 |
|
dddcca8
Don't bind _
brandtbucher May 26, 2020
| https://github.com/python/cpython/pull/22917/commits/dddcca8c11fb7eb72fea6aedb75ac57d1828710d |
|
af70c74
Add sequence tests
brandtbucher May 26, 2020
| https://github.com/python/cpython/pull/22917/commits/af70c74b47b493da893377e0b06367d9f00b40a6 |
|
4191858
Add basic sequence support
brandtbucher May 26, 2020
| https://github.com/python/cpython/pull/22917/commits/4191858df60100d2247fa707fc800ba1655e3231 |
|
33633c1
Add support for starred sub-patterns in sequences
brandtbucher May 27, 2020
| https://github.com/python/cpython/pull/22917/commits/33633c17bffb230b17f3187bbe779a6d45afe105 |
|
a36542e
Format tests
brandtbucher May 27, 2020
| https://github.com/python/cpython/pull/22917/commits/a36542eca04410328beb25f0c0a134faf509f010 |
|
d62a426
Merge branch 'master' of https://github.com/python/cpython into patma
brandtbucher May 27, 2020
| https://github.com/python/cpython/pull/22917/commits/d62a426b91cb461f0dbaba2245b3e8124fff6e53 |
|
76d108c
Simplify control-flow
brandtbucher May 27, 2020
| https://github.com/python/cpython/pull/22917/commits/76d108c38c2339c2bc8da3ff75790e1822984cc8 |
|
34c54a0
Rename blocks
brandtbucher May 27, 2020
| https://github.com/python/cpython/pull/22917/commits/34c54a0f1216788f9992f17d1cc41e35b47904be |
|
8bc9ae5
Add GET_MATCH_ITER opcode
brandtbucher May 27, 2020
| https://github.com/python/cpython/pull/22917/commits/8bc9ae5d9f6a9364867dea640f0d4679ff328f06 |
|
2586ee6
Add string tests
brandtbucher May 27, 2020
| https://github.com/python/cpython/pull/22917/commits/2586ee67ca16b53e44f35d58ffd45771f978086f |
|
adb04fd
Rename and add patma tests
brandtbucher May 28, 2020
| https://github.com/python/cpython/pull/22917/commits/adb04fd3f2bb6dc03593e519a163ddc52942ea36 |
|
6eb6783
Cleanup
brandtbucher May 28, 2020
| https://github.com/python/cpython/pull/22917/commits/6eb67836273a75c7910f902f3847c22a37158ef8 |
|
f3c513d
Use Mapping/Sequence _collections_abc
brandtbucher May 28, 2020
| https://github.com/python/cpython/pull/22917/commits/f3c513d3647360e32ec4009d29c7bed4a78c1455 |
|
fc472c7
Add missing error handling
brandtbucher May 28, 2020
| https://github.com/python/cpython/pull/22917/commits/fc472c7bc42ca88575c6d897a1e3ac219e97b892 |
|
26dd4fd
Add GET_MATCH_MAP
brandtbucher May 28, 2020
| https://github.com/python/cpython/pull/22917/commits/26dd4fdfe28c5c092b573615968420e9f030ff11 |
|
6ce6c34
Simplify new opcodes
brandtbucher May 28, 2020
| https://github.com/python/cpython/pull/22917/commits/6ce6c345ce484b2ffa973fe44d5c735f6db4081d |
|
ea0de16
Bump MAGIC_NUMBER
brandtbucher May 28, 2020
| https://github.com/python/cpython/pull/22917/commits/ea0de16e323c3e68329b7624cc4f6d384cba55d6 |
|
880a7c2
Add mapping support
brandtbucher May 29, 2020
| https://github.com/python/cpython/pull/22917/commits/880a7c2b53b433de0b5cbfa48cf17b07d0157844 |
|
297ceb2
Add a bunch of mapping tests, plus cleanup
brandtbucher May 29, 2020
| https://github.com/python/cpython/pull/22917/commits/297ceb2b8a625dfbefe570e110efa574f28fbb30 |
|
1902b21
Reorganize pattern compiler
brandtbucher May 29, 2020
| https://github.com/python/cpython/pull/22917/commits/1902b2143937534aa29649ce154f7194a5f14f81 |
|
09e8fdc
Handle errors when creating new blocks
brandtbucher May 29, 2020
| https://github.com/python/cpython/pull/22917/commits/09e8fdcc111e48da4f2d771d18d4d98d7f3965ed |
|
f612a27
Break out _collections_abc stuff in ceval
brandtbucher May 29, 2020
| https://github.com/python/cpython/pull/22917/commits/f612a2740c8e6e7f43b8d60f240ef226469115d3 |
|
21ac879
Clean up new opcode docs
brandtbucher May 29, 2020
| https://github.com/python/cpython/pull/22917/commits/21ac8790df5380e1e9b4340924a3e997aca7d70f |
|
c103ab4
Simplify string checks
brandtbucher May 29, 2020
| https://github.com/python/cpython/pull/22917/commits/c103ab4dddf946f13dc707863fa440c54d51832c |
|
14409e0
Add basic AST optimization
brandtbucher May 29, 2020
| https://github.com/python/cpython/pull/22917/commits/14409e062c3e2233f21c5f5e06e23173ed1c15b4 |
|
e91c400
Fix asserts
brandtbucher May 29, 2020
| https://github.com/python/cpython/pull/22917/commits/e91c4004f3e2873a9e5f57d90c04423c43d89226 |
|
7fb4d11
Implement default object.__match__
brandtbucher May 30, 2020
| https://github.com/python/cpython/pull/22917/commits/7fb4d11a9d59db463ed037318bc1ff6f407688d7 |
|
17356fb
Fix sequence matching bug
brandtbucher May 31, 2020
| https://github.com/python/cpython/pull/22917/commits/17356fb1ca49dddaea6dc36e2cbce38c0069f243 |
|
9d7bd07
BinOp -> BoolOp
brandtbucher May 31, 2020
| https://github.com/python/cpython/pull/22917/commits/9d7bd070aaf4009d2d9199b20e72479c06128f34 |
|
77fc89d
Fix failing tests
brandtbucher May 31, 2020
| https://github.com/python/cpython/pull/22917/commits/77fc89dcf4aa73bda80e919e50764213af63d230 |
|
bad2fe2
Add MATCH_TYPE opcode
brandtbucher May 31, 2020
| https://github.com/python/cpython/pull/22917/commits/bad2fe2ef4a426cd81159abd92684d7cc7f953e7 |
|
2924d2f
Fix parsing/unparsing of name contexts
brandtbucher May 31, 2020
| https://github.com/python/cpython/pull/22917/commits/2924d2f5f47063977a8e2e55e43f2d9bc44b6990 |
|
66852e9
Clean up grammar
brandtbucher Jun 1, 2020
| https://github.com/python/cpython/pull/22917/commits/66852e9566b854d71d5c00d33461d1ba05871d0b |
|
f1a1eb9
Fix calls and error messages
brandtbucher Jun 1, 2020
| https://github.com/python/cpython/pull/22917/commits/f1a1eb942260591b7caa4cf49de0dfdeb844f65c |
|
de7c3f0
Miscellaneous cleanup
brandtbucher Jun 1, 2020
| https://github.com/python/cpython/pull/22917/commits/de7c3f0799ff9950542313626eb06787de12d741 |
|
89974f0
Convert AST tests to native syntax
brandtbucher Jun 1, 2020
| https://github.com/python/cpython/pull/22917/commits/89974f09d937a7d305a807bff25e545877757418 |
|
ac87fcb
Allow literal negative numbers
brandtbucher Jun 2, 2020
| https://github.com/python/cpython/pull/22917/commits/ac87fcb2dd0d6b91f41360d47f9817d2056e0129 |
|
e3d07ab
Add checks for name bindings
brandtbucher Jun 2, 2020
| https://github.com/python/cpython/pull/22917/commits/e3d07aba6937318cdf3694a361e556625311950c |
|
9da2729
Cleanup
brandtbucher Jun 2, 2020
| https://github.com/python/cpython/pull/22917/commits/9da2729b67a7665b9618c6dda0cf208354df1db6 |
|
546b6c4
Add support for complex literals
brandtbucher Jun 2, 2020
| https://github.com/python/cpython/pull/22917/commits/546b6c484f0d9df279da3a36fb473bd53e7b99a6 |
|
1eddf27
Fix AST validation
brandtbucher Jun 2, 2020
| https://github.com/python/cpython/pull/22917/commits/1eddf273efd3493065b693400816434bbeecd3cd |
|
04bad8e
MATCH_TYPE -> DESTRUCTURE
brandtbucher Jun 2, 2020
| https://github.com/python/cpython/pull/22917/commits/04bad8e5ad470b64d0a03ec598d89eaf112916fc |
|
e4be187
Fix attribute parsing
brandtbucher Jun 2, 2020
| https://github.com/python/cpython/pull/22917/commits/e4be1872dc48c6298dec40608f581324bd529be4 |
|
9a06fe3
Clean up and add tests
brandtbucher Jun 3, 2020
| https://github.com/python/cpython/pull/22917/commits/9a06fe331662338bf52c311714dbb87b721bc44d |
|
bb0ed11
Support destructuring type matches
brandtbucher Jun 4, 2020
| https://github.com/python/cpython/pull/22917/commits/bb0ed117411570fb44334a3f27ffcea7f691c414 |
|
03212ea
Simplify final (or only) case
brandtbucher Jun 4, 2020
| https://github.com/python/cpython/pull/22917/commits/03212eab43f11b83ed3185588f41c14f1dae6f31 |
|
ccf8374
Tell the peepholer about all of the jumping we do
brandtbucher Jun 5, 2020
| https://github.com/python/cpython/pull/22917/commits/ccf83741f8deaff99f8c8f429f130a30cd7997dd |
|
c7f121b
Reject f-strings, addition, and subtraction
brandtbucher Jun 5, 2020
| https://github.com/python/cpython/pull/22917/commits/c7f121b987ee8e728468a24c1aaf47e413172889 |
|
8d61da2
__match_args__ must contain strings
brandtbucher Jun 5, 2020
| https://github.com/python/cpython/pull/22917/commits/8d61da21a3ca773c41a30d98fb38e9da65e20851 |
|
0c15e70
Better error messages for tuples
brandtbucher Jun 5, 2020
| https://github.com/python/cpython/pull/22917/commits/0c15e70318e7a9b414d8a4cc0709eabd36cff6e0 |
|
28bf07b
Add length-checking opcodes
brandtbucher Jun 7, 2020
| https://github.com/python/cpython/pull/22917/commits/28bf07be4c0b644433d022aa99fc4a60fc17086f |
|
009ca7e
Start phasing in new opcodes
brandtbucher Jun 7, 2020
| https://github.com/python/cpython/pull/22917/commits/009ca7ebd8ab2bb2187e6cef797491d3b227e928 |
|
32b396f
Refactor sequence-matching opcodes
brandtbucher Jun 8, 2020
| https://github.com/python/cpython/pull/22917/commits/32b396fb00fac83dc17c1c219190cb06919e28ae |
|
a7e0488
OLD_MATCH_MAP_STAR -> OLD_MATCH_MAP
brandtbucher Jun 9, 2020
| https://github.com/python/cpython/pull/22917/commits/a7e04884a23f15bbaf0329831b87fad69ae648bb |
|
eb0fe26
Support None/missing __match_args__
brandtbucher Jun 9, 2020
| https://github.com/python/cpython/pull/22917/commits/eb0fe262e1b10196d58c0fa8a2a1a0f55a567a54 |
|
6da649b
Catch up with master
brandtbucher Jun 9, 2020
| https://github.com/python/cpython/pull/22917/commits/6da649b92edf9aba12646d29cae2ea02cb648a60 |
|
90422e4
Clean up map matches
brandtbucher Jun 9, 2020
| https://github.com/python/cpython/pull/22917/commits/90422e4ae0962e28c20d3091e476f7278a026a2d |
|
73d4a2b
Get rid of LIST_POP
brandtbucher Jun 9, 2020
| https://github.com/python/cpython/pull/22917/commits/73d4a2bf9dd1739405b2aac62bb79fa4e01f039a |
|
2c5226a
Validate missing attributes with __match_args__
brandtbucher Jun 10, 2020
| https://github.com/python/cpython/pull/22917/commits/2c5226aaceb31cb7f395c102c035bcf93198da33 |
|
f4644aa
Incomplete __match_args_required__ support
brandtbucher Jun 10, 2020
| https://github.com/python/cpython/pull/22917/commits/f4644aabab95dea732a3e7a32b3c8f86d0e6fe83 |
|
ce7b021
Finish __match_args_required__ support
brandtbucher Jun 10, 2020
| https://github.com/python/cpython/pull/22917/commits/ce7b0214b97853a9c6ad6b9f803e301d37841065 |
|
99d805c
Catch up with master
brandtbucher Jun 10, 2020
| https://github.com/python/cpython/pull/22917/commits/99d805c09d7eb9e761e0dcc4120060d12f54d369 |
|
6cc4128
Trivial grammar clean-ups
brandtbucher Jun 10, 2020
| https://github.com/python/cpython/pull/22917/commits/6cc41286eec59cdb12f58a85fa6e1050b5659296 |
|
4973548
Add back type annotations.
brandtbucher Jun 11, 2020
| https://github.com/python/cpython/pull/22917/commits/4973548d6f798b50e74c07ddf4a90a11d72dcf83 |
|
b50e403
Simplify or-pattern parsing
brandtbucher Jun 11, 2020
| https://github.com/python/cpython/pull/22917/commits/b50e40375683d2a539e9f53fc299559b15c5d6d6 |
|
1e0e35a
Refactor MATCH opcode.
brandtbucher Jun 11, 2020
| https://github.com/python/cpython/pull/22917/commits/1e0e35a003880e7cbcb43519eec88c164f193a75 |
|
f5974ed
Catch up with master
brandtbucher Jun 11, 2020
| https://github.com/python/cpython/pull/22917/commits/f5974edc05bab4862cb0674e58a6ad151440f4b6 |
|
3130114
Tuples!
brandtbucher Jun 11, 2020
| https://github.com/python/cpython/pull/22917/commits/31301142219270ece0a5c4ff2987a2561b1ed243 |
|
de78bc5
Fix line numbers
brandtbucher Jun 11, 2020
| https://github.com/python/cpython/pull/22917/commits/de78bc5befd5d1f81893ce1186208629aefe9b0d |
|
1aecf5f
Catch up with master
brandtbucher Jun 11, 2020
| https://github.com/python/cpython/pull/22917/commits/1aecf5f2ee6e25910fdfd54d4ad255854362ad22 |
|
07b1474
Improve compilation of wildcards.
brandtbucher Jun 12, 2020
| https://github.com/python/cpython/pull/22917/commits/07b147454feb1f755ba5e6719c79011243ec3652 |
|
18ef577
Better error message for bad types.
brandtbucher Jun 12, 2020
| https://github.com/python/cpython/pull/22917/commits/18ef5771b8cbdff3d3b5aea11679c294140a11f6 |
|
4106b66
Fix duplicate test
brandtbucher Jun 12, 2020
| https://github.com/python/cpython/pull/22917/commits/4106b66cab4de957d1577dfee5dde9329113f7b3 |
|
5ef4df0
Progress on performance improvements
brandtbucher Jun 12, 2020
| https://github.com/python/cpython/pull/22917/commits/5ef4df0e3258472e2e463a94c6be2120330c0928 |
|
ff0c902
Fix segfault on missing attribute
brandtbucher Jun 12, 2020
| https://github.com/python/cpython/pull/22917/commits/ff0c9023bacf93bbd73ed812d6ff4d312f61455a |
|
38000fa
Cleanup
brandtbucher Jun 12, 2020
| https://github.com/python/cpython/pull/22917/commits/38000fa995ba8543142bacf6355aaee98156daf6 |
|
15e8824
Support for __match_args__ in dataclasses.
viridia Jun 13, 2020
| https://github.com/python/cpython/pull/22917/commits/15e8824568747cb18a3d62e9153ea187c67a651f |
|
59c7a2f
Performance tweaks and __match__ protocol updates
brandtbucher Jun 15, 2020
| https://github.com/python/cpython/pull/22917/commits/59c7a2f45625079b3ee1ff62675d7778fb3ed8e4 |
|
db054a6
Match support for namedtuple.
viridia Jun 18, 2020
| https://github.com/python/cpython/pull/22917/commits/db054a6c33f56371a703fe6df0f958f4814f5830 |
|
db4a9b0
Lose __match_args_required__, speed up MATCH_SEQ
brandtbucher Jun 22, 2020
| https://github.com/python/cpython/pull/22917/commits/db4a9b07cd070c66e0f1bae163b112faf8418d48 |
|
48f18eb
Remove a bunch of new opcodes
brandtbucher Jun 22, 2020
| https://github.com/python/cpython/pull/22917/commits/48f18ebdfc9b1d0adc2e86e110bfc605834eaf31 |
|
0c82655
Don't raise if no __match_args__
brandtbucher Jun 22, 2020
| https://github.com/python/cpython/pull/22917/commits/0c8265502b6e2cfb118498f8496821d1d7530dba |
|
0ddf11c
Catch up with master
brandtbucher Jun 22, 2020
| https://github.com/python/cpython/pull/22917/commits/0ddf11c4fe34d8ba2bd84abee1cc6afce7fe18bc |
|
ef35201
Add ImpossibleMatchError
brandtbucher Jun 23, 2020
| https://github.com/python/cpython/pull/22917/commits/ef35201334c1158f42959acda96a0bd360e82953 |
|
276c2b0
Clean up opcodes and fix pickle tests
brandtbucher Jun 23, 2020
| https://github.com/python/cpython/pull/22917/commits/276c2b08270861f939f79b6ceec995effe83073f |
|
14be5cf
Clean up ceval
brandtbucher Jun 24, 2020
| https://github.com/python/cpython/pull/22917/commits/14be5cf8c752dcf4e79bcd952b45c3ffba7704bd |
|
23dc88b
Add typing.sealed
brandtbucher Jun 25, 2020
| https://github.com/python/cpython/pull/22917/commits/23dc88b426522feb1c59c9bf4fbb3ebef479179b |
|
6fa3eb3
Allow unparenthesized tuples as targets
brandtbucher Jun 25, 2020
| https://github.com/python/cpython/pull/22917/commits/6fa3eb3462f4bbb708e3c1aff8791550d6dbd3ae |
|
67146a3
Fix handling of copied mappings
brandtbucher Jun 25, 2020
| https://github.com/python/cpython/pull/22917/commits/67146a38b34985b8a8ca8b603186ea34ca59cad6 |
|
d7bb7ee
Add tests
brandtbucher Jun 25, 2020
| https://github.com/python/cpython/pull/22917/commits/d7bb7ee167beb9dc5c59983347f21ae00aab673b |
|
574593c
Fix match target parsing
brandtbucher Jun 25, 2020
| https://github.com/python/cpython/pull/22917/commits/574593c75994980ea23de4f8657f8aa4b567d94d |
|
340d66f
Add more mapping tests and a performance utility
brandtbucher Jun 26, 2020
| https://github.com/python/cpython/pull/22917/commits/340d66feb86d0f0ad40d6aba116e5a8206e3fd16 |
|
ca58086
More cleanup
brandtbucher Jun 27, 2020
| https://github.com/python/cpython/pull/22917/commits/ca58086a17a41ae94b1a9a8260fe385c8ad20714 |
|
3ec5802
Rough revision of __match__ protocol
brandtbucher Jun 28, 2020
| https://github.com/python/cpython/pull/22917/commits/3ec5802797df857a6a766fb48a647eb255c72d17 |
|
0d99af4
Remove old AST tests and add "simple" match tests
brandtbucher Jun 28, 2020
| https://github.com/python/cpython/pull/22917/commits/0d99af4e6ddc895f0ebb5b5c1b24e0482a399db0 |
|
018e6ab
Cleanup
brandtbucher Jun 28, 2020
| https://github.com/python/cpython/pull/22917/commits/018e6ab26fe528371b5fda17c1deb978bce66921 |
|
7a6d897
Add pattern_context
brandtbucher Jun 28, 2020
| https://github.com/python/cpython/pull/22917/commits/7a6d897433d7ae14e8cca5c24d3f418991393294 |
|
7953dee
Keep bound names in pattern context
brandtbucher Jun 28, 2020
| https://github.com/python/cpython/pull/22917/commits/7953dee7d579af52801bcb041cd3c0d2f28e6a23 |
|
214101e
Address recent __match__ protocol changes
brandtbucher Jun 29, 2020
| https://github.com/python/cpython/pull/22917/commits/214101e3086199af213ce4c7475a5c52c2bc3ab8 |
|
9e170bc
Ditch __match__!
brandtbucher Jun 30, 2020
| https://github.com/python/cpython/pull/22917/commits/9e170bce9a9fcd0f71a3cbedd8fda4292209bc44 |
|
d696de7
Fix whitespace diff
brandtbucher Jun 30, 2020
| https://github.com/python/cpython/pull/22917/commits/d696de7329afaa9b2420b15add34f6bc0c7b1bf9 |
|
5e621f6
Catch up with master
brandtbucher Jun 30, 2020
| https://github.com/python/cpython/pull/22917/commits/5e621f654f44a0f9571fa1b2eb864ee98452587c |
|
bb8fb1b
Clean up tests and fix refleak in mapping patterns
brandtbucher Jul 1, 2020
| https://github.com/python/cpython/pull/22917/commits/bb8fb1bf024836c84f4a1bf9a860667fabd61e47 |
|
36398b1
Minor improvements for class matches
brandtbucher Jul 1, 2020
| https://github.com/python/cpython/pull/22917/commits/36398b13c06c92e24d17a5c7a7315689501ddae9 |
|
82055e2
Mapping destructuring improvements
brandtbucher Jul 1, 2020
| https://github.com/python/cpython/pull/22917/commits/82055e2a492dfb4f956ab07f0324b04f2ca4e0e3 |
|
c9b3b4e
Use tuple for dataclass __match_args__
brandtbucher Jul 2, 2020
| https://github.com/python/cpython/pull/22917/commits/c9b3b4e0d7991e52b2e09b296c471cac3e0c2ecc |
|
793add3
Add tests for new match grammar
brandtbucher Jul 2, 2020
| https://github.com/python/cpython/pull/22917/commits/793add3911abed838c1d8cf3b0104dfe51d26e52 |
|
4efdb9a
Clean up compile.c and add SyntaxWarning
brandtbucher Jul 2, 2020
| https://github.com/python/cpython/pull/22917/commits/4efdb9a39152d4d24da8a6dcad18c2d381aa65e1 |
|
46f3350
Clean up compiler
brandtbucher Jul 3, 2020
| https://github.com/python/cpython/pull/22917/commits/46f33506e562e39675605f8fdb01f1e0fe036194 |
|
9b343b7
Progress on reducing the number of blocks
brandtbucher Jul 3, 2020
| https://github.com/python/cpython/pull/22917/commits/9b343b73cb9b4406a90afdefa97e0d25d3094608 |
|
a4fd8a3
Simplify emitted bytecode
brandtbucher Jul 3, 2020
| https://github.com/python/cpython/pull/22917/commits/a4fd8a32ff8e6935bed083f22db628bbbff27300 |
|
c9ad4b4
Catch up with master
brandtbucher Jul 4, 2020
| https://github.com/python/cpython/pull/22917/commits/c9ad4b419f24dfc1a050c96eeb5189ce688f9791 |
|
b642e08
Implement __match_args__ for AST classes
pablogsal Jul 4, 2020
| https://github.com/python/cpython/pull/22917/commits/b642e083da2d1511145abb576c17998e36e5cef1 |
|
e39b3e2
No more leading dots
brandtbucher Jul 5, 2020
| https://github.com/python/cpython/pull/22917/commits/e39b3e2cccd63716e944516bc2bd730907700886 |
|
123e15b
Only use nonnegative integer indices
brandtbucher Jul 5, 2020
| https://github.com/python/cpython/pull/22917/commits/123e15b2b6fc1176e600b01d9cc67eaf0a691257 |
|
2f03ae0
Remove leading dot rules from unparsing logic
brandtbucher Jul 5, 2020
| https://github.com/python/cpython/pull/22917/commits/2f03ae0b11fe69c3fa219c0a0e0a8c0a531d2b55 |
|
ef881fa
Use MATCH_ITEM for mapping and class patterns
brandtbucher Jul 5, 2020
| https://github.com/python/cpython/pull/22917/commits/ef881fa07aea3a7f48d09bf2eba27b71b56a70d4 |
|
eb86fa7
Reduce unnecessary EXTENDED_ARG instructions
brandtbucher Jul 6, 2020
| https://github.com/python/cpython/pull/22917/commits/eb86fa7b798dbd82e73b332d13ab266872ade9ed |
|
f3d3d83
Documentation and cleanup
brandtbucher Jul 11, 2020
| https://github.com/python/cpython/pull/22917/commits/f3d3d8350dec5847af149647df3628930ee2821e |
|
b0a02f5
Generalize conditional jump peepholing
brandtbucher Jul 12, 2020
| https://github.com/python/cpython/pull/22917/commits/b0a02f510bbdfe1c45c670422817369874e911dc |
|
da6ee98
MATCH_ITEM* -> GET_INDEX*
brandtbucher Jul 12, 2020
| https://github.com/python/cpython/pull/22917/commits/da6ee98e817e7c6378207c9de6fe5b1ba98da20d |
|
3eda95e
Revert old unparse hack
brandtbucher Jul 12, 2020
| https://github.com/python/cpython/pull/22917/commits/3eda95e045a3a304acf8f1b6d34e715f9abaa820 |
|
b3840be
Improve performance for wildcards
brandtbucher Jul 12, 2020
| https://github.com/python/cpython/pull/22917/commits/b3840befa23f29a6f4b5e62a2e4a277d56a55033 |
|
14e4eaa
Add/fix tests
brandtbucher Jul 13, 2020
| https://github.com/python/cpython/pull/22917/commits/14e4eaabad04f55b8ba5cb87897d4da0aac2045d |
|
4789bff
Fix refleaks when tracking names
brandtbucher Jul 13, 2020
| https://github.com/python/cpython/pull/22917/commits/4789bff6f36f7c9446380839ff2dde3aa8c21fb3 |
|
1260139
Regenerate keyword module
brandtbucher Jul 13, 2020
| https://github.com/python/cpython/pull/22917/commits/1260139a373bdb889add2a384682b26062e2dd86 |
|
34f8111
Add a ton of tests
brandtbucher Jul 14, 2020
| https://github.com/python/cpython/pull/22917/commits/34f8111aa140a66f584944a3e77fc546159a80ea |
|
3eadc53
Add more tests
brandtbucher Jul 14, 2020
| https://github.com/python/cpython/pull/22917/commits/3eadc5357c216d7da311d264f2f720792c694495 |
|
b09e822
Catch up with master
brandtbucher Jul 14, 2020
| https://github.com/python/cpython/pull/22917/commits/b09e822b5882a6ff743637bbb6f68bc4e7274892 |
|
7d23259
Update test
brandtbucher Jul 14, 2020
| https://github.com/python/cpython/pull/22917/commits/7d232590385edf99b68aa90a353a46e2c5534422 |
|
bed2e68
target -> subject
brandtbucher Jul 14, 2020
| https://github.com/python/cpython/pull/22917/commits/bed2e68225a68d487085b368a2c9df32e8ff9c36 |
|
1a70d2c
Add tests
brandtbucher Jul 15, 2020
| https://github.com/python/cpython/pull/22917/commits/1a70d2c690f9cb82a859299767141b80b1a50525 |
|
f83302f
Refactor loads
brandtbucher Jul 15, 2020
| https://github.com/python/cpython/pull/22917/commits/f83302ff389bc214b81b8c71c0fc36f180ad1cc6 |
|
1ba56a0
Cleanup and better performance for default cases
brandtbucher Jul 17, 2020
| https://github.com/python/cpython/pull/22917/commits/1ba56a003b4e46c1833821c8133201e33b1ecddc |
|
3fd91d9
More cleanup
brandtbucher Jul 20, 2020
| https://github.com/python/cpython/pull/22917/commits/3fd91d9d721f9da8b82e43552fe4e4534cbc0b98 |
|
1de2a1c
Ditch unhelpful warning and add OPTIM note
brandtbucher Aug 16, 2020
| https://github.com/python/cpython/pull/22917/commits/1de2a1c923a7a3056b70301ff067c6425de90924 |
|
7864718
Preserve TOS when compiling patterns
brandtbucher Aug 17, 2020
| https://github.com/python/cpython/pull/22917/commits/7864718292e21da438f9d461ff50fddfec26558a |
|
6fdc00c
Clean up some duplicate tests
brandtbucher Aug 18, 2020
| https://github.com/python/cpython/pull/22917/commits/6fdc00c65f7107b6eb13ef6438a2b665c86647fa |
|
ee2beb2
Improve test coverage for errors and warnings
brandtbucher Aug 19, 2020
| https://github.com/python/cpython/pull/22917/commits/ee2beb22a65751275b84bb711155732b1c2ff61c |
|
b4b8416
Add more tests for runtime errors
brandtbucher Aug 19, 2020
| https://github.com/python/cpython/pull/22917/commits/b4b841677c4cb4f90ed528d2a7364da384e98e44 |
|
f819084
Clean up comments
brandtbucher Aug 19, 2020
| https://github.com/python/cpython/pull/22917/commits/f819084b89469e24fd9bcdc7b07f855db4f1f273 |
|
6228a57
Fix bugs in peephole optimizer changes
brandtbucher Aug 19, 2020
| https://github.com/python/cpython/pull/22917/commits/6228a57fdc6172f02af8f80e3e671c2d67da965f |
|
ce7aab4
Apparently the compiler's been rewritten for 3.10... :(
brandtbucher Aug 19, 2020
| https://github.com/python/cpython/pull/22917/commits/ce7aab40fc277b51c7250e39c88080b5bf6dd502 |
|
92f6c53
Disable unfinished validation
brandtbucher Aug 20, 2020
| https://github.com/python/cpython/pull/22917/commits/92f6c53e706beedb73a3cec8a187763f6c6236c8 |
|
466becd
Skip performance benchmarking for some tests
brandtbucher Aug 20, 2020
| https://github.com/python/cpython/pull/22917/commits/466becdf1400f36bd0621cb74551a396e9932e11 |
|
a8d0a86
Fix typo
brandtbucher Aug 20, 2020
| https://github.com/python/cpython/pull/22917/commits/a8d0a86ed24a8354cbddc64d243a8a834472bb7c |
|
66d614b
Unify shared SyntaxError test logic
brandtbucher Aug 23, 2020
| https://github.com/python/cpython/pull/22917/commits/66d614b6dcf3c690ef34b3f069637c2835cb0d3c |
|
3f76403
Add two more tests for soft keywords
brandtbucher Aug 23, 2020
| https://github.com/python/cpython/pull/22917/commits/3f7640379a334c0b72ed0a3b7bed85981c0ed128 |
|
a527f66
Refactor MATCH_CLASS
brandtbucher Aug 23, 2020
| https://github.com/python/cpython/pull/22917/commits/a527f666be25656b07cb0b4a0522c4d7aa8b47d9 |
|
2cc4fee
Catch up with master
brandtbucher Sep 9, 2020
| https://github.com/python/cpython/pull/22917/commits/2cc4feed3c8b0596309eef21a28a966a6f97ecdc |
|
19af7d5
Literal False/True/None compares by identity
brandtbucher Sep 16, 2020
| https://github.com/python/cpython/pull/22917/commits/19af7d547e094006bfdc40a358385ad49503c597 |
|
601645b
Remove sealed
brandtbucher Sep 16, 2020
| https://github.com/python/cpython/pull/22917/commits/601645b76a3443b60c6af97164158c62fa114610 |
|
eed6806
Revert whitespace change
brandtbucher Sep 16, 2020
| https://github.com/python/cpython/pull/22917/commits/eed68066c22cdf5fbc7f593754ed03f435559f19 |
|
3c4796c
Assorted cleanup
brandtbucher Sep 16, 2020
| https://github.com/python/cpython/pull/22917/commits/3c4796c7bcecde12c5d38d3851c37aef1e8f4555 |
|
45b1429
Add three more identity tests
brandtbucher Sep 16, 2020
| https://github.com/python/cpython/pull/22917/commits/45b14293d1ee826690947bfaeee8a0fe85115ce0 |
|
99c5296
Catch up with master
brandtbucher Sep 25, 2020
| https://github.com/python/cpython/pull/22917/commits/99c5296d766c2f0f2aba27d91ed7aa43806edd4b |
|
5505fc3
Fixes for grammar changes
brandtbucher Sep 25, 2020
| https://github.com/python/cpython/pull/22917/commits/5505fc337bd4f5a5ee867f5fb4d0b574bf13ab7f |
|
587ba87
Use sets to track map keys and attribute names.
brandtbucher Oct 19, 2020
| https://github.com/python/cpython/pull/22917/commits/587ba871896b44af3ee8471d7a6bf9bf668579ac |
|
a1e88fe
Add a few notes.
brandtbucher Oct 19, 2020
| https://github.com/python/cpython/pull/22917/commits/a1e88fe3c2eb2e99ab08f2293b2f53b2075e8283 |
|
3a124db
Catch up with master
brandtbucher Oct 19, 2020
| https://github.com/python/cpython/pull/22917/commits/3a124db83fe3b20133afeaaf61a8f450131f0984 |
|
bd2bffb
Catch up with master
brandtbucher Oct 19, 2020
| https://github.com/python/cpython/pull/22917/commits/bd2bffbcd085b5dd44ffc6cbeb8ea21e2fc1f0d9 |
|
91661eb
"n := p" -> "p as n"
brandtbucher Oct 19, 2020
| https://github.com/python/cpython/pull/22917/commits/91661eb08ae100bdadf9f6c5ae74d4804c93f824 |
|
28ba072
Use new MatchAs node for named patterns
brandtbucher Oct 19, 2020
| https://github.com/python/cpython/pull/22917/commits/28ba072423109de35472c15aed8ebe539c703e1a |
|
462796e
Add version check
brandtbucher Oct 19, 2020
| https://github.com/python/cpython/pull/22917/commits/462796eec213f33ea3adf74464e272728f51f4e2 |
|
ebd95c6
Raise for unreachable patterns
brandtbucher Oct 20, 2020
| https://github.com/python/cpython/pull/22917/commits/ebd95c62ac1929084210009ce485f6b0e4e526fe |
|
de1b020
Clean up error messages
brandtbucher Oct 20, 2020
| https://github.com/python/cpython/pull/22917/commits/de1b0208a31df1e30b9c27f443014c8a4dc95534 |
|
f5c2482
Minor cleanup
brandtbucher Oct 20, 2020
| https://github.com/python/cpython/pull/22917/commits/f5c248200e27330bdad5804c4a708f52c94622e0 |
|
4de619a
Reorganize some sequence/mapping logic
brandtbucher Oct 21, 2020
| https://github.com/python/cpython/pull/22917/commits/4de619a49dac871b5d60d4956927f2a1464b29e5 |
|
9f1c91d
More ceval cleanup
brandtbucher Oct 21, 2020
| https://github.com/python/cpython/pull/22917/commits/9f1c91d1f05694e4e82657cd458841444f2da09b |
|
88bd791
Don't mark _ as local in patterns
brandtbucher Oct 21, 2020
| https://github.com/python/cpython/pull/22917/commits/88bd791dd5eb8f79da1c38a556924dd51d3a7c06 |
|
12b6575
More cleanup
brandtbucher Oct 21, 2020
| https://github.com/python/cpython/pull/22917/commits/12b65753145e38d9e4aa93ff8f5f11480b4153fe |
|
d394aa4
Add some tests for non-dict Mappings
brandtbucher Oct 21, 2020
| https://github.com/python/cpython/pull/22917/commits/d394aa489f26d3f063f4b10f3e8c258a2ee6231e |
|
2028445
Remove half-finished PyAST_Validate implementation
brandtbucher Oct 21, 2020
| https://github.com/python/cpython/pull/22917/commits/2028445b02eb227629f7dabf9fa4717537ab45aa |
|
20b59b2
Remove some questionable fast paths
brandtbucher Oct 21, 2020
| https://github.com/python/cpython/pull/22917/commits/20b59b214f1790603ad72bd09dc1f3510684e0d1 |
|
b42a3ac
Add test_patma to PGO
brandtbucher Oct 21, 2020
| https://github.com/python/cpython/pull/22917/commits/b42a3ac222efe36b9d2f721949d9c462b95d5c3e |
|
ccb5d90
Clean up SyntaxErroring
brandtbucher Oct 22, 2020
| https://github.com/python/cpython/pull/22917/commits/ccb5d907c25f5fa425f276d443a032c5b82b59bc |
|
7a97a1f
Unsafe caching strikes again
brandtbucher Oct 22, 2020
| https://github.com/python/cpython/pull/22917/commits/7a97a1f19217394b46ecc9d7a64011abaf5415bc |
|
ff011e0
Fix comment
brandtbucher Oct 22, 2020
| https://github.com/python/cpython/pull/22917/commits/ff011e007fd14f9ebb6b7d91f1d346452b4ac7ef |
|
99ae758
Remove unused get_len member
brandtbucher Oct 22, 2020
| https://github.com/python/cpython/pull/22917/commits/99ae758db9de436d35e56dc33e9baed9b6229638 |
|
ad84403
Rename simple match flag
brandtbucher Oct 22, 2020
| https://github.com/python/cpython/pull/22917/commits/ad844037c0a6f3aca9b99f12e9038195b1aa208c |
|
1b0602f
BoolOp -> MatchOr and fix constant folding
brandtbucher Oct 22, 2020
| https://github.com/python/cpython/pull/22917/commits/1b0602fa5e8e4e91cc1176e749e3f01d2092055e |
|
e212ceb
Minor cleanup
brandtbucher Oct 22, 2020
| https://github.com/python/cpython/pull/22917/commits/e212cebcf05afd925bba2dabb3c038cc62bb2c9e |
|
94b19ee
Unify grammar with PEP 634 (mostly)
brandtbucher Oct 22, 2020
| https://github.com/python/cpython/pull/22917/commits/94b19ee4b020ab2173b952468b0681e01ff759be |
|
77515ec
Clean up open_sequence_pattern usage
brandtbucher Oct 22, 2020
| https://github.com/python/cpython/pull/22917/commits/77515ece9ec2d48f5e2ecd72d6ba52aee2c07f1f |
|
c0a06d1
More cleanup
brandtbucher Oct 23, 2020
| https://github.com/python/cpython/pull/22917/commits/c0a06d1459b34db2c13c3061936e04c64e900cb6 |
|
26d35e5
Raise remaining SyntaxErrors in compiler
brandtbucher Oct 23, 2020
| https://github.com/python/cpython/pull/22917/commits/26d35e51806297121cd249697adf9da41543703a |
|
d43bb0b
Finish compiler cleanup
brandtbucher Oct 23, 2020
| https://github.com/python/cpython/pull/22917/commits/d43bb0b4e0243c53a3d65b601aeaa17db0a1e3d5 |
|
008f4ec
Catch up with master
brandtbucher Oct 23, 2020
| https://github.com/python/cpython/pull/22917/commits/008f4ec68de89d96be24ee25f7c06c2a14e4ef9a |
|
d5f32da
Add NEWS entry
brandtbucher Oct 23, 2020
| https://github.com/python/cpython/pull/22917/commits/d5f32da3227f90ee9f95c8be2dc0ab930625815a |
|
949822c
Improve precedence logic in ast.unparse
brandtbucher Oct 23, 2020
| https://github.com/python/cpython/pull/22917/commits/949822c031eccfbd841e2569829916c1e90d3803 |
|
a31f2ef
Some VM cleanup
brandtbucher Oct 23, 2020
| https://github.com/python/cpython/pull/22917/commits/a31f2efc13945178da6b5a5b1d61754fe4f9de4a |
|
fe35b08
alternate -> alternative
brandtbucher Oct 23, 2020
| https://github.com/python/cpython/pull/22917/commits/fe35b088dc76093fe606f36ab64fe4508d497de5 |
|
e688005
Remove dict copy fast-path, add comments
brandtbucher Oct 24, 2020
| https://github.com/python/cpython/pull/22917/commits/e6880057c0787c282b89bf5955400c9eb4b27cf5 |
|
5589f77
Finish ceval cleanup
brandtbucher Oct 24, 2020
| https://github.com/python/cpython/pull/22917/commits/5589f77c856cca6e126c1e1fa6ef95f4d097f6e9 |
|
a0f659a
Catch up with master
brandtbucher Oct 27, 2020
| https://github.com/python/cpython/pull/22917/commits/a0f659a3b64d5b9e4969a3de6be636f81030a72d |
|
243f3d2
Regenerate the keyword module
brandtbucher Oct 27, 2020
| https://github.com/python/cpython/pull/22917/commits/243f3d271ccfdd1f024402929d0bd68eb57545e6 |
|
a1ba3a7
Add regen-keyword to regen-all
brandtbucher Oct 27, 2020
| https://github.com/python/cpython/pull/22917/commits/a1ba3a700deb0ac03f489500298587e9b3a36ed2 |
|
812abd0
Catch up wih master
brandtbucher Oct 28, 2020
| https://github.com/python/cpython/pull/22917/commits/812abd0bc0c662814d9a6b38de3281b176e849f5 |
|
8b093eb
Remove iterator checks from sequence patterns
brandtbucher Oct 28, 2020
| https://github.com/python/cpython/pull/22917/commits/8b093eb90451864685dc53f75283686e380e6bed |
|
b85fde5
Catch up with master
brandtbucher Nov 6, 2020
| https://github.com/python/cpython/pull/22917/commits/b85fde59f40830e1a2ed0e52549ec96040a81f88 |
|
130ec39
Catch up with master
brandtbucher Nov 11, 2020
| https://github.com/python/cpython/pull/22917/commits/130ec3946b575f2ea68759a17fdf9f8534c9ba70 |
|
e21d33a
Re-bump magic number
brandtbucher Nov 12, 2020
| https://github.com/python/cpython/pull/22917/commits/e21d33a6eef56311578d560a68115289635c52fb |
|
418c69d
Catch up with master
brandtbucher Nov 12, 2020
| https://github.com/python/cpython/pull/22917/commits/418c69d873522c2c5935d4df0e0708941ed83235 |
|
8bab3ed
Catch up with master
brandtbucher Dec 10, 2020
| https://github.com/python/cpython/pull/22917/commits/8bab3edb2ccbeeeeed34595af9121e5f3e190896 |
|
7bf4ee4
Catch up with master
brandtbucher Dec 10, 2020
| https://github.com/python/cpython/pull/22917/commits/7bf4ee499a7dfb290e1b874673a14352c7eb9596 |
|
16e218a
Fix compiler warning
brandtbucher Dec 10, 2020
| https://github.com/python/cpython/pull/22917/commits/16e218ad4c595f202243a2857a651409d39ba7fa |
|
fbd299b
Catch up with master
brandtbucher Dec 14, 2020
| https://github.com/python/cpython/pull/22917/commits/fbd299bc8d74362a26df30cbb6fcd29203520a40 |
|
3279c57
Catch up with master
brandtbucher Dec 16, 2020
| https://github.com/python/cpython/pull/22917/commits/3279c57ba6fcfc0fd5cd4aa451ca2ec9eed0aaee |
|
ff03e6b
Catch up with master
brandtbucher Dec 17, 2020
| https://github.com/python/cpython/pull/22917/commits/ff03e6b73e2c506b6acbd8c5aaa5d131da0ddf8a |
|
6f09968
Catch up with master
brandtbucher Dec 27, 2020
| https://github.com/python/cpython/pull/22917/commits/6f09968cf81a81d4ecf8d5dd5339230e4c5eed51 |
|
d9def0b
Catch up with master
brandtbucher Jan 5, 2021
| https://github.com/python/cpython/pull/22917/commits/d9def0be988f802f475c345aada6bcef7b722237 |
|
ef87100
Catch up with master
brandtbucher Jan 8, 2021
| https://github.com/python/cpython/pull/22917/commits/ef8710078f4af86a1b620ce2d0091063cf95e90c |
|
7eee880
Catch up with master
brandtbucher Jan 13, 2021
| https://github.com/python/cpython/pull/22917/commits/7eee880f73300485cf59d667838b57a620f84cf7 |
|
f97b2eb
Catch up with master
brandtbucher Jan 18, 2021
| https://github.com/python/cpython/pull/22917/commits/f97b2ebbaefb3c724d5fb3aeae01be9b8ac137fb |
|
165d491
Catch up with master
brandtbucher Feb 1, 2021
| https://github.com/python/cpython/pull/22917/commits/165d491c7cb4ece3bbd184559d890f786b359eaf |
|
c732376
Catch up with master
brandtbucher Feb 2, 2021
| https://github.com/python/cpython/pull/22917/commits/c732376f818e20f99f589e6cd50c4a788b145100 |
|
c5729ec
Catch up with master
brandtbucher Feb 4, 2021
| https://github.com/python/cpython/pull/22917/commits/c5729eccde1de8c501c81913ddee65b90ea3a2af |
|
e149ab5
Catch up with master
brandtbucher Feb 5, 2021
| https://github.com/python/cpython/pull/22917/commits/e149ab5737d7c354903928ffec600c589399d115 |
|
d105180
Catch up with master
brandtbucher Feb 8, 2021
| https://github.com/python/cpython/pull/22917/commits/d105180a94cc936d8357641e5f341682014ed755 |
|
47c9218
CHECK -> RETURN_IF_FASLE
brandtbucher Feb 9, 2021
| https://github.com/python/cpython/pull/22917/commits/47c9218996401c916efb0bcc57216c7d7c0c994b |
|
193f037
Cleanup
brandtbucher Feb 10, 2021
| https://github.com/python/cpython/pull/22917/commits/193f037dc19f8034c42526ee0f2c9ac7e91696ec |
|
0618706
Catch up with master
brandtbucher Feb 10, 2021
| https://github.com/python/cpython/pull/22917/commits/0618706a8ad6b033f83979f4d640b670388dddb1 |
|
b748e41
pattern_helper_load_constant -> ADDOP_LOAD_CONST
brandtbucher Feb 12, 2021
| https://github.com/python/cpython/pull/22917/commits/b748e414c148fe4c087825c2fd6aa87b5e95d341 |
|
cc3357c
!x -> x == NULL
brandtbucher Feb 12, 2021
| https://github.com/python/cpython/pull/22917/commits/cc3357ce51f5f867a521e95ce9d364e013edf246 |
|
72b623c
pattern_helper_load_attr -> compiler_visit_expr
brandtbucher Feb 12, 2021
| https://github.com/python/cpython/pull/22917/commits/72b623c8157cd30e543d1ff8ff6ea4c79861c4f6 |
|
93cefc1
GET_INDEX/GET_INDEX_END -> BINARY_SUBSCR
brandtbucher Feb 12, 2021
| https://github.com/python/cpython/pull/22917/commits/93cefc16a92607d44b4471f25e06ef8c1684813c |
|
62372c2
MATCH_KEYS -> MATCH_KEYS/COPY_DICT_WITHOUT_KEYS
brandtbucher Feb 12, 2021
| https://github.com/python/cpython/pull/22917/commits/62372c26d9238348cad4c6a67d1088e3d477a591 |
|
2a5d0dd
Clean up MATCH_KEYS
brandtbucher Feb 12, 2021
| https://github.com/python/cpython/pull/22917/commits/2a5d0dd0537386f19b944228b2e04b7a3aec252a |
|
fa97ee3
Refactor sequence matches to use existing ops
brandtbucher Feb 13, 2021
| https://github.com/python/cpython/pull/22917/commits/fa97ee3ae1cf154407926507aedea5437253a9cb |
|
0de83a2
Clean up compiler_pattern_sequence
brandtbucher Feb 15, 2021
| https://github.com/python/cpython/pull/22917/commits/0de83a2181fddaa28f7517a2f0317e816b92629c |
|
162f9b6
Clean up comment
brandtbucher Feb 15, 2021
| https://github.com/python/cpython/pull/22917/commits/162f9b6d67d500071f48700c52286b423b6a82c1 |
|
49b2823
Factor out get_match_args
brandtbucher Feb 15, 2021
| https://github.com/python/cpython/pull/22917/commits/49b28231474a8dcaab2ec26e9e08bb4fbda3d69a |
|
3f8fdaf
Replace TOS instead of pushing onto it
brandtbucher Feb 16, 2021
| https://github.com/python/cpython/pull/22917/commits/3f8fdaf81be508236125c8c32560f1db38e1efc6 |
|
632a645
Catch up with master
brandtbucher Feb 16, 2021
| https://github.com/python/cpython/pull/22917/commits/632a6451af5abfe0600e34d55cd3c6424c961e93 |
|
0d56285
Catch up with master
brandtbucher Feb 19, 2021
| https://github.com/python/cpython/pull/22917/commits/0d5628566c6af54742e0363969a1164e4448dc31 |
|
69fa421
Fix NULL pointer error
brandtbucher Feb 20, 2021
| https://github.com/python/cpython/pull/22917/commits/69fa421115525c868520ffe37086b93169cf4e83 |
|
1711207
Don't keep uninitialized tuples hanging around
brandtbucher Feb 20, 2021
| https://github.com/python/cpython/pull/22917/commits/1711207fef21fd5fe0e19cc17d2d637ea202b450 |
|
f7c833e
Catch up with master
brandtbucher Feb 22, 2021
| https://github.com/python/cpython/pull/22917/commits/f7c833e4c8cc5dc0d3418ef481774c7ad194ed9e |
|
7762099
Fix new refleaks ("-R 3:3" is clean again)
brandtbucher Feb 22, 2021
| https://github.com/python/cpython/pull/22917/commits/77620990734eb8262645aa1aa77ddc53b01dfe79 |
|
5e269fb
Use PySet_CheckExact (thanks Pablo!)
brandtbucher Feb 22, 2021
| https://github.com/python/cpython/pull/22917/commits/5e269fb1dca523c409deee6e6a964645526051d6 |
|
ca6e332
Move some comments
brandtbucher Feb 23, 2021
| https://github.com/python/cpython/pull/22917/commits/ca6e332b917342ee67b36aa7315efa4d203be112 |
|
61616fc
Catch up with master
brandtbucher Feb 24, 2021
| https://github.com/python/cpython/pull/22917/commits/61616fc3b4edb069bb4494837b6f76acb33cd4a6 |
|
Clear filters
| https://github.com/python/cpython/pull/22917/files |
| Please reload this page | https://github.com/python/cpython/pull/22917/files |
| Please reload this page | https://github.com/python/cpython/pull/22917/files |
|
dis.rst
| https://github.com/python/cpython/pull/22917/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
susp-ignored.csv
| https://github.com/python/cpython/pull/22917/files#diff-f2d07d8e818b46b42f9fff17a09058c554e8cb6baa7fbfbdf77b266c97155f4e |
|
python.gram
| https://github.com/python/cpython/pull/22917/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
Python-ast.h
| https://github.com/python/cpython/pull/22917/files#diff-aa47c9a4ecdd799c2932afef25673bf9c33ec9ef75f1bc6054b924bea602c747 |
|
pycore_ast.h
| https://github.com/python/cpython/pull/22917/files#diff-3e14972c26adba10853eaefac7d5ef1b303c4508798980fb363df01155c7d5f9 |
|
pycore_interp.h
| https://github.com/python/cpython/pull/22917/files#diff-cb06b7ba43789a1d6ae5bef46baa8a255b72dbcd2b44bfec7f146ea4e94dbfa0 |
|
object.h
| https://github.com/python/cpython/pull/22917/files#diff-87272721a5cf1cd9915d6f503f6a7bbefa2f26c935c7ce83ca78706afd0ad05a |
|
opcode.h
| https://github.com/python/cpython/pull/22917/files#diff-1cd1f0bb26c3fbaa279f83ee2bfe1d9072da7af07407111c79039c66034c57ed |
|
symtable.h
| https://github.com/python/cpython/pull/22917/files#diff-78b6d47804f67fe47ac9f108077cf57c0c9491e92ff18e64cafcb81da73cea6a |
|
ast.py
| https://github.com/python/cpython/pull/22917/files#diff-abeeed217a24ce3c21e15c2e32e2f0886cea69986c2641455c1eefc983c1f977 |
|
__init__.py
| https://github.com/python/cpython/pull/22917/files#diff-c92f871cb9b4aa1583c89f82cd416d58a5d70fff41faf41e45dedf775dbe7713 |
|
dataclasses.py
| https://github.com/python/cpython/pull/22917/files#diff-44ce2dc1c4922b2f5cf7631d8f86cc569a4c25eb003aaecdc2bc22eb9163d5f5 |
|
_bootstrap_external.py
| https://github.com/python/cpython/pull/22917/files#diff-efefe383b3a81d16150c280db0b64eed7569254299418f64cc0d749f8e16f3a4 |
|
keyword.py
| https://github.com/python/cpython/pull/22917/files#diff-124da61d87a15a354686949ac05c07de98115eb3faed0a0ff3c8faf552785378 |
|
opcode.py
| https://github.com/python/cpython/pull/22917/files#diff-7681b13de881a13601ca56b73d052d032be48da4256df4f2f09e0474b0c1cbeb |
|
pgo.py
| https://github.com/python/cpython/pull/22917/files#diff-fc08d02347d3ba59b6caf7adae3f39f5e96d2c26d62baaa66209fe3bcef37e3b |
|
test_ast.py
| https://github.com/python/cpython/pull/22917/files#diff-3f516b60719dd445d33225e4f316b36e85c9c51a843a0147349d11a005c55937 |
|
test_collections.py
| https://github.com/python/cpython/pull/22917/files#diff-a2a882635e20e8e9439f090d33513502a7af648286efebfa4e4bc37270c44784 |
|
test_dataclasses.py
| https://github.com/python/cpython/pull/22917/files#diff-f0436842533448f8f02a19081d7c9cc8372b6685756caf32c83dfecebbee68e7 |
|
test_patma.py
| https://github.com/python/cpython/pull/22917/files#diff-490b4f3b911cb4ca281e9ca6ff814bc10d331f0421f6c6971b08d9f29020620b |
|
2020-10-23-08-54-04.bpo-42128.SWmVEm.rst
| https://github.com/python/cpython/pull/22917/files#diff-af01ff5b2d448c725f633ce008c12ce479bd6c2377b27d7653ce90a79109e48d |
|
bytearrayobject.c
| https://github.com/python/cpython/pull/22917/files#diff-6878f29bbfb711dc7cd2a89b2b2941b1f900b6367d30181a2ff45460b591b04c |
|
bytesobject.c
| https://github.com/python/cpython/pull/22917/files#diff-f6d440aad34e1c4535c0d898c0197a95490766c745991caace6f64b5dd1ece51 |
|
dictobject.c
| https://github.com/python/cpython/pull/22917/files#diff-b08a47ddc5bc20b2e99ac2e5aa199ca24a56b994e7bc64e918513356088c20ae |
|
floatobject.c
| https://github.com/python/cpython/pull/22917/files#diff-3651445c9f72daa1fdf6577b10902d4ceee89aa99295e01fcab07b58767a935f |
|
listobject.c
| https://github.com/python/cpython/pull/22917/files#diff-67a42c5c0990c7aceea040ffc07905299aab97d64dc49adb256f85340b2c7e81 |
|
longobject.c
| https://github.com/python/cpython/pull/22917/files#diff-1a6e70e2beeecad88840c67284ac4d54a36998029244771fcc820e801390726a |
|
setobject.c
| https://github.com/python/cpython/pull/22917/files#diff-537c6127e75079330edcb3775b0b9c2e4aeb34530dfe224ef2c96c3acb42111f |
|
tupleobject.c
| https://github.com/python/cpython/pull/22917/files#diff-1c580282bd10a8157cc81dd4a4658d4bb47f75ea476cd433bc7435913b33eb77 |
|
typeobject.c
| https://github.com/python/cpython/pull/22917/files#diff-1decebeef15f4e0b0ce106c665751ec55068d4d1d1825847925ad4f528b5b872 |
|
unicodeobject.c
| https://github.com/python/cpython/pull/22917/files#diff-34c966e7876d6f8bf801dd51896327e4f68bba02cddb95fbf3963f0b2e39c38a |
|
Python.asdl
| https://github.com/python/cpython/pull/22917/files#diff-56cfb21eb86b07bb94e916eb74143c7d6c2ac6f2494216c0e2507fd080c34aed |
|
asdl_c.py
| https://github.com/python/cpython/pull/22917/files#diff-c4dd13901c011c278fe5b6d175fdd23ed94e51568fe6b2ee4215d5ab376be9a8 |
|
parser.c
| https://github.com/python/cpython/pull/22917/files#diff-6d39440cedc67d1ce7a0586bfb6ecb8483803448a9c93f3fae3ad0e2260e29f7 |
|
Python-ast.c
| https://github.com/python/cpython/pull/22917/files#diff-0258ad568d1bc0a5fa1c949351df0cc72a0a63441a1ed78c77d59f5695704857 |
|
ast.c
| https://github.com/python/cpython/pull/22917/files#diff-63309d32b22eaebd869b7ac0d2d4d02f95bd7ff5de2ba042d07c8e6962af8bbc |
|
ast_opt.c
| https://github.com/python/cpython/pull/22917/files#diff-7a65e647c7985eb08fdefdab01ccdd2505c86ecdee2fa856fc9627c552ded146 |
|
ceval.c
| https://github.com/python/cpython/pull/22917/files#diff-c22186367cbe20233e843261998dc027ae5f1f8c0d2e778abfa454ae74cc59de |
|
compile.c
| https://github.com/python/cpython/pull/22917/files#diff-ebc983d9f91e5bcf73500e377ac65e85863c4f77fd5b6b6caf4fcdf7c0f0b057 |
|
importlib_external.h
| https://github.com/python/cpython/pull/22917/files#diff-edaa85591e6f559d0fae8073b45dc3e9c8e251053d07623b2ce23392dfe97a7e |
|
opcode_targets.h
| https://github.com/python/cpython/pull/22917/files#diff-d3363a4083b77b9157d0bf07c2e87f3d3464a8b4360d5d23b07bbb23061f007a |
|
pystate.c
| https://github.com/python/cpython/pull/22917/files#diff-7ac11e526f79b42d6ea9d3592cb99da46775640c69fa5510f4a6de87cced7141 |
|
symtable.c
| https://github.com/python/cpython/pull/22917/files#diff-1029343b7709f438c869082355577469b5aa784b454afa461ca2844ce9910ea6 |
| Doc/library/dis.rst | https://github.com/python/cpython/pull/22917/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
View file
| https://github.com/brandtbucher/cpython/blob/61616fc3b4edb069bb4494837b6f76acb33cd4a6/Doc/library/dis.rst |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22917/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22917/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
| https://github.com/python/cpython/pull/22917/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
| https://github.com/python/cpython/pull/22917/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
|
| https://github.com/python/cpython/pull/22917/files#diff-eaa488fc50d23b30ca8b24ab19e9c91c1c941339847af993e908f006eec0653b |
| Doc/tools/susp-ignored.csv | https://github.com/python/cpython/pull/22917/files#diff-f2d07d8e818b46b42f9fff17a09058c554e8cb6baa7fbfbdf77b266c97155f4e |
|
View file
| https://github.com/brandtbucher/cpython/blob/61616fc3b4edb069bb4494837b6f76acb33cd4a6/Doc/tools/susp-ignored.csv |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22917/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22917/files#diff-f2d07d8e818b46b42f9fff17a09058c554e8cb6baa7fbfbdf77b266c97155f4e |
| Grammar/python.gram | https://github.com/python/cpython/pull/22917/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
View file
| https://github.com/brandtbucher/cpython/blob/61616fc3b4edb069bb4494837b6f76acb33cd4a6/Grammar/python.gram |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22917/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22917/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
| https://github.com/python/cpython/pull/22917/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
| https://github.com/python/cpython/pull/22917/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
| https://github.com/python/cpython/pull/22917/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
| https://github.com/python/cpython/pull/22917/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
|
| https://github.com/python/cpython/pull/22917/files#diff-2973ca53337859793077e9bdc1a1623063379f0fdfcb788836fd82ebb66b763b |
| Include/Python-ast.h | https://github.com/python/cpython/pull/22917/files#diff-aa47c9a4ecdd799c2932afef25673bf9c33ec9ef75f1bc6054b924bea602c747 |
|
View file
| https://github.com/brandtbucher/cpython/blob/61616fc3b4edb069bb4494837b6f76acb33cd4a6/Include/Python-ast.h |
|
Open in desktop
| https://desktop.github.com |
| how customized files appear on GitHub | https://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github |
| Please reload this page | https://github.com/python/cpython/pull/22917/files |
| Include/internal/pycore_ast.h | https://github.com/python/cpython/pull/22917/files#diff-3e14972c26adba10853eaefac7d5ef1b303c4508798980fb363df01155c7d5f9 |
|
View file
| https://github.com/brandtbucher/cpython/blob/61616fc3b4edb069bb4494837b6f76acb33cd4a6/Include/internal/pycore_ast.h |
|
Open in desktop
| https://desktop.github.com |
| https://github.co/hiddenchars |
| https://github.com/python/cpython/pull/22917/{{ revealButtonHref }} |
|
| https://github.com/python/cpython/pull/22917/files#diff-3e14972c26adba10853eaefac7d5ef1b303c4508798980fb363df01155c7d5f9 |
|
| https://github.com/python/cpython/pull/22917/files#diff-3e14972c26adba10853eaefac7d5ef1b303c4508798980fb363df01155c7d5f9 |
|
| https://github.com/python/cpython/pull/22917/files#diff-3e14972c26adba10853eaefac7d5ef1b303c4508798980fb363df01155c7d5f9 |
|
| https://github.com/python/cpython/pull/22917/files#diff-3e14972c26adba10853eaefac7d5ef1b303c4508798980fb363df01155c7d5f9 |
|
| https://github.com/python/cpython/pull/22917/files#diff-3e14972c26adba10853eaefac7d5ef1b303c4508798980fb363df01155c7d5f9 |
|
| https://github.com/python/cpython/pull/22917/files#diff-3e14972c26adba10853eaefac7d5ef1b303c4508798980fb363df01155c7d5f9 |
|
| https://github.com/python/cpython/pull/22917/files#diff-3e14972c26adba10853eaefac7d5ef1b303c4508798980fb363df01155c7d5f9 |
|
| https://github.com/python/cpython/pull/22917/files#diff-3e14972c26adba10853eaefac7d5ef1b303c4508798980fb363df01155c7d5f9 |
| Please reload this page | https://github.com/python/cpython/pull/22917/files |
|
| https://github.com |
| Terms | https://docs.github.com/site-policy/github-terms/github-terms-of-service |
| Privacy | https://docs.github.com/site-policy/privacy-policies/github-privacy-statement |
| Security | https://github.com/security |
| Status | https://www.githubstatus.com/ |
| Community | https://github.community/ |
| Docs | https://docs.github.com/ |
| Contact | https://support.github.com?tags=dotcom-footer |