Jelle Zijlstra

Results 129 issues of Jelle Zijlstra

Code: ```python print( "Long lines with inline comments which are apart of (and not the only member", "Arg #2", "Arg #3", ) ``` On black 22.12.0: ``` % black --preview...

T: bug
C: unstable formatting
F: parentheses
F: strings
C: preview style

This shouldn't be merged before 2023 (in case we want to do another 22.12 release) and shouldn't be merged until we have consensus in #3407. I'm opening it so I...

Currently, Black checks that the AST of its input and output is the same (except for some narrow exceptions). This is a powerful feature that has caught many bugs (e.g....

T: enhancement

#3378 was just accidentally merged into the `stable` branch, which should only be updated after releases. There appears to be no way to use branch protection rules to disallow such...

C: maintenance

This crashes in 23.1a1: ``` async def f(): with (x := await sleep(0)): pass ``` Reported by @Zac-HD in https://github.com/psf/black/issues/3407#issuecomment-1364681511.

T: bug
F: parentheses
C: preview style

Help gauge the impact of #12657

https://peps.python.org/pep-0701/, which will be in Python 3.12, adds support for several f-string variations that our current parser won't handle: ``` >>> f"{f"{"f"}"}" 'f' ``` We should support this new syntax,...

T: enhancement
C: parser

Closes #4042. Replacing #4064. I need a branch in this repo instead of my fork so I can create an alpha release from it. This should mostly become the stable...

Closes #4093. We'd need more discussion before we actually implement that idea, but this also allows me to test whether string processing is responsible for diff-shades crashing all the time.