GiGaGon

Results 41 comments of GiGaGon

I dug into trying to fix this, and have found why it occurs, but am stumped on how to fix it. There are two separate problems at work, but they...

I recently also ran into this while trying to fix [#3074](https://github.com/emilk/egui/issues/3074#issuecomment-2080283118). One other possible way, at least where it's an issue of translations, is to fake everything being fine by...

This looks to be a regression from 10.0 to 11.0 I got the same output while trying to get it to work on the Haste Broken Worlds Demo. Downgrading to...

Playing around some more, it looks even more general than functions, since this also happens when a trailing comma in a >1 len tuple or >0 len list/dict/set literal causes...

Yay, conflicting requirements. I previously made this exact behavior not happen in https://github.com/psf/black/pull/4539 , fixing https://github.com/psf/black/issues/4232 , because they wanted the opposite thing for their tooling, where reading from stdin...

@Pedro-Muller29 I just fixed that in #4576, @JelleZijlstra could you re-run those two?

@Student-ShivamChauhan I've unassigned you since I've just confirmed that's not really a thing in this project, but feel free to open a fixing PR on any issue regardless of if...

The hang happens inside tokenization at [this line](https://github.com/psf/black/blob/17efac45f9e15750b1df7adb6432a8970e9054e0/src/blib2to3/pgen2/tokenize.py#L615) `endmatch = endprog.match(line)` At that point `endprog` is this regex `((?:\\N{|{{|\\"|"(?!"")|[^"{])*(? That regex got into `endprog_stack` at [this line](https://github.com/psf/black/blob/17efac45f9e15750b1df7adb6432a8970e9054e0/src/blib2to3/pgen2/tokenize.py#L895) `endprog_stack.append(endprog)` from `endprog...

I don't know why regex101 is weird about it, but if you put `Double3Lbrace` in a non-capturing group and add an `|a` after, it will show you the amount of...

I don't think we currently have any tests for this, but I just linked the above two issues here because they are the same bug in the parser where `\r`s...