Anders Kaseorg

Results 430 comments of Anders Kaseorg

`pnpm run` exports these three environment variables to the child process that `npm` doesn’t recognize: ``` npm_config_globalconfig=C:\Users\Anders\AppData\Local\pnpm\config\rc npm_config_verify_deps_before_run=false npm_config__jsr_registry=https://npm.jsr.io/ ```

You’ve added logic to index the URL, but your tests show the text, not the URL, being matched (in `text`). I note that current `master` with PGroonga *already* lets you...

The merge conflict with #18321 needs to be resolved.

If the user called `EventLoop.stop`, we should respect their choice. We shouldn’t overreact by silently creating a new event loop in a new thread—that’s going to create confusing bugs with...

Is there a reason the answer is any more complicated than “don’t call `EventLoop.stop` if you want it to keep running”?

Event loops don’t arbitrarily stop themselves. You can look at the code here: https://github.com/python/cpython/blob/v3.13.7/Lib/asyncio/base_events.py The only way for `BaseEventLoop.is_running()` to change from `True` to `False` is if `BaseEventLoop._thread_id` is set...

No, this issue is different. Your type ``Record`` is a _partial_ record (as it must, otherwise it’d be infinitely large), and `{}` is a valid inhabitant of it, as is...

Arrays may be the common case (simply because people write more arrays than records), but the [`noUncheckedIndexedAccess` documentation](https://www.typescriptlang.org/tsconfig/#noUncheckedIndexedAccess) doesn’t say anything specific to arrays. If you’d like a test case...

Unclear. TypeScript accepts this apparent workaround: ```ts import * as z from "zod"; const schemas = { a: z.string(), b: z.number(), c: z.boolean() }; type Schemas = typeof schemas; function...