Anders Kaseorg

Results 219 issues of Anders Kaseorg

Example: ```rust use auto_enums::auto_enum; #[auto_enum(Fn)] fn make_operation(name: &str, operand: f64) -> impl Fn(f64) -> f64 { match name { "add" => move |x| x + operand, "sub" => move |x|...

The [`gh-pages` branch](https://github.com/PyCQA/isort/commits/gh-pages) hasn’t been pushed for over a year, so https://pycqa.github.io/isort/ has not been getting any updates, such the fix for the broken “Try isort from your browser” page...

Resolve these warnings from `PYTHONDEVMODE=1 uv build`: ``` …/lib/python3.12/site-packages/setuptools/dist.py:493: SetuptoolsDeprecationWarning: Invalid dash-separated options !! ******************************************************************************** Usage of dash-separated 'description-file' will not be supported in future versions. Please use the underscore...

- https://github.com/NixOS/nixpkgs/pull/414510 This has an unfortunate side effect of renaming the `firefox-beta`, `firefox-devedition`, `firefox-nightly` binaries to `firefox` on affected nixpkgs versions.

This code, minimized from the [Zulip server](https://github.com/zulip/zulip), worked in asgiref 3.7.2, but deadlocks in 3.8.0, 3.8.1, and current `main` (abc69a054aa440ef42c939b5a197df05c3ad48d2). A Git bisection implicates d920c3c44f59ef037be3a09a41a5640014cfb1e2 as the first broken commit:...

A `CurrentThreadExecutor` may terminate with work still remaining in its queue, or new work may be submitted later. We previously discarded remaining work, leading to deadlocks, and raised an error...

This code ping-pongs between `async_to_sync` → `sync_to_async` → `async_to_sync` → `loop.call_later` → `create_task` → `sync_to_async` (although this sounds like a bizarre thing to do, it was minimized from a real...

When formatting an Astro file with an HTML subexpression inside a deep JavaScript expression, markup_fmt incorrectly ignores the indentation that represents the JavaScript depth, and instead dedents all the HTML...

**Describe the bug** dprint-plugin-markdown version: 0.19.0 **Input Code** ```md - [Click here][example]! [example]: https://example.com - Sublist ``` **Expected Output** ```md - [Click here][example]! [example]: https://example.com - Sublist ``` **Actual Output**...

**Describe the bug** With the default `"textWrap": "maintain"`, newlines within linked text are incorrectly deleted, causing affected lines to become much longer. Perhaps an unintended side effect of - #53...