David Hewitt

Results 1495 comments of David Hewitt

Please feel free to take over #4951; I haven't implemented anything for it other than reading it in detail and discovering I wanted to do #5551. Following on from my...

Some suggestions if anyone is looking for relatively self-contained issues which I've wanted to do for ages but just keep failing to prioritize myself: - #4253 would be a nice...

It _seems_ to me that the `Python` token and all `Bound

I think in the short term the only thing we can do is improve the error message and document what to do instead. Maybe in the long-term there it is...

Seems like there is a minor performance loss in (e.g.) set iteration. Looks like the set iterator has a `remaining` variable, I think we don't need that overhead because `PyObject_LengthHint`...

For generic iterators, this does seem to be slightly faster:

Basically all the erorrs are > SystemError: invalid PyModuleDef, extension possibly compiled for non-free-threaded Python Maybe try `nox -s ffi-check` with a Python 3.15 alpha interpreter? Alternatively this might be...

Try repeating with a non-freethreaded interpreter

Actually I guess the errors are for a freethreaded Python. Based on what @alex has linked, probably we have the wrong definition of `PyObject_HEAD_INIT`, which `ffi-check` currently doesn't catch.