Fix crash with walrus + await + with by JelleZijlstra · Pull Request #3473 · psf/black (original) (raw)
Navigation Menu
Appearance settings
- AI CODE CREATION
* GitHub CopilotWrite better code with AI
* GitHub Copilot appDirect agents from issue to merge
* MCP RegistryNewIntegrate external tools - DEVELOPER WORKFLOWS
* ActionsAutomate any workflow
* CodespacesInstant dev environments
* IssuesPlan and track work
* Code ReviewManage code changes - APPLICATION SECURITY
* GitHub Advanced SecurityFind and fix vulnerabilities
* Code securitySecure your code as you build
* Secret protectionStop leaks before they start - EXPLORE
* Why GitHub
* Documentation
* Blog
* Changelog
* Marketplace
- AI CODE CREATION
- BY COMPANY SIZE
* Enterprises
* Small and medium teams
* Startups
* Nonprofits - BY USE CASE
* App Modernization
* DevSecOps
* DevOps
* CI/CD
* View all use cases - BY INDUSTRY
* Healthcare
* Financial services
* Manufacturing
* Government
* View all industries
- BY COMPANY SIZE
- EXPLORE BY TOPIC
* AI
* Software Development
* DevOps
* Security
* View all topics - EXPLORE BY TYPE
* Customer stories
* Events & webinars
* Ebooks & reports
* Business insights
* GitHub Skills - SUPPORT & SERVICES
* Documentation
* Customer support
* Community forum
* Trust center
* Partners
- EXPLORE BY TOPIC
- COMMUNITY
* GitHub SponsorsFund open source developers - PROGRAMS
* Security Lab
* Maintainer Community
* Accelerator
* GitHub Stars
* Archive Program - REPOSITORIES
* Topics
* Trending
* Collections
- COMMUNITY
- Pricing
Provide feedback
We read every piece of feedback, and take your input very seriously.
Include my email address so I can be contacted
Saved searches
Use saved searches to filter your results more quickly
Appearance settings
Notifications You must be signed in to change notification settings
Additional navigation options
Merged
merged 5 commits into
psf:mainfrom
Jan 18, 2023
ConversationCommits (5)ChecksFiles changed
Merged
Fix crash with walrus + await + with#3473
merged 5 commits into
psf:mainfrom
Conversation
JelleZijlstra commented
Copy link Copy Markdown
Collaborator
Fixes #3472
`[Fix crash with walrus + await + with](/psf/black/pull/3473/commits/c31425e434a7e4f8b3e38ba344f940326787bd93 "Fix crash with walrus + await + with
Fixes #3472") `
[c31425e](/psf/black/pull/3473/commits/c31425e434a7e4f8b3e38ba344f940326787bd93)
Fixes psf#3472
github-actions Bot commented
•
edited
Loading
Copy link Copy Markdown
Contributor
diff-shades reports zero changes comparing this PR (cbcee44) to main (d4ff985).
What is this? | Workflow run | diff-shades documentation
JelleZijlstra added 3 commits
[Fix more crashes](/psf/black/pull/3473/commits/e27cc3a1d997024cbb659367e04d7778731377c9 "Fix more crashes")
[e27cc3a](/psf/black/pull/3473/commits/e27cc3a1d997024cbb659367e04d7778731377c9)
[format self](/psf/black/pull/3473/commits/c6e09d0b9329424acb71a97ca991f5266210d596 "format self")
[c6e09d0](/psf/black/pull/3473/commits/c6e09d0b9329424acb71a97ca991f5266210d596)
[add a few more cases](/psf/black/pull/3473/commits/46f7e55690a3f08fe95f8246d724df5ee6f9d21c "add a few more cases")
[46f7e55](/psf/black/pull/3473/commits/46f7e55690a3f08fe95f8246d724df5ee6f9d21c)
ichard26 requested changes Dec 27, 2022
ichard26 left a comment
Copy link Copy Markdown
Collaborator
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, but I'd double check the test data file. I don't think it's testing what you want.
Comment thread
tests/data/py_38/pep_572_remove_parens.py
ichard26 approved these changes Jan 14, 2023
[Merge branch 'main' into main](/psf/black/pull/3473/commits/cbcee44dc2acece3ae00b516e3bb2ec76049f51b "Merge branch 'main' into main")
[cbcee44](/psf/black/pull/3473/commits/cbcee44dc2acece3ae00b516e3bb2ec76049f51b)
cooperlees approved these changes Jan 16, 2023
JelleZijlstra merged commit 7e6d3fa into psf:main
JelleZijlstra deleted the main branch
JelleZijlstra restored the main branch
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.Learn more about bidirectional Unicode characters
[ Show hidden characters]({{ revealButtonHref }})
Sign up for free to join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
cooperlees cooperlees approved these changes
ichard26 ichard26 approved these changes
Assignees
No one assigned
Labels
None yet
Projects
None yet
Milestone
No milestone
Development
Successfully merging this pull request may close these issues.
Preview style: Crash on walrus in with statement