Nathan Goldbaum

Results 755 comments of Nathan Goldbaum

Hi all. I'm one of the main authors of https://py-free-threading.github.io, which might be useful as the maintainers of cupy think about supporting the free-threaded build. > Possibly a blocker: https://github.com/scoder/fastrlock/issues/19...

@nascheme mentioned in a meeting today that has a re-entrant lock implementation based on PyMutex. Maybe that can be used here?

EDIT: oops, double-posted with Neil! Maybe worth trying to see if I can be used in place of `fastrlock` on 3.13 and 3.14? One wrinkle is that you need to...

> There's already std::recursive_mutex from C++, do we really need py_rlock or fastrlock? No, not if you can use C++ standard library features. `py_rlock` only really makes sense for a...

I'm planning to make it so `pytest-run-parallel` auto-detects use of `hypothesis.given` in a test and automatically excludes it from running under multiple threads. I'm curious if there are other functions...

> auto-detects use of hypothesis.given It looks like checking for `__hypothesistracebackhide__` is also sufficient.

> More generally, you can use hypothesis.internal.detection.is_hypothesis_test. Thanks, this works! It's fair game to use this even though it's in the `hypothesis.internal` namespace?

I don't remember the context for the conversation about dtype introspection. Can you share what you'd need from NumPy to get something working without needing to manually register dtypes? Ping...

We are currently working on free-threaded support for PyYAML in our fork: https://github.com/Quansight-Labs/pyyaml/pull/2 We plan on opening an upstream PR once we've finished internally reviewing the necessary changes, which will...

By the way I hit this last week with 3.13.0b2 so this is likely a problem on the 3.13 branch as well and not something new in 3.14.