[issue43367] submodule of c-extension module is quirky

2021-03-02 Thread Yannick Jadoul
Change by Yannick Jadoul : -- nosy: +YannickJadoul ___ Python tracker <https://bugs.python.org/issue43367> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue43145] Leak of locks in a subprocess

2021-02-06 Thread Yannick Jadoul
Change by Yannick Jadoul : -- nosy: +YannickJadoul ___ Python tracker <https://bugs.python.org/issue43145> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42961] Use-after-free (of a heap type) during finalization

2021-01-18 Thread Yannick Jadoul
Change by Yannick Jadoul : -- nosy: +YannickJadoul ___ Python tracker <https://bugs.python.org/issue42961> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42882] Restarting the interpreter causes UB on 3.10.0a4

2021-01-11 Thread Yannick Jadoul
Yannick Jadoul added the comment: Wow, that was fast! Thanks! I tried this out locally, and all pybind11's tests pass now. We can try again once there's a nightly build or new alpha :-) -- ___ Python tracker <https://bugs.python.org/issue42

[issue42882] Restarting the interpreter causes UB on 3.10.0a4

2021-01-10 Thread Yannick Jadoul
New submission from Yannick Jadoul : Issue detected in the embedding tests of pybind11, running on the latest alpha of 3.10: https://github.com/pybind/pybind11/issues/2774 I have reduced the weird issue/crash to a minimal reproducer, which consistently reproduces the crash on my Linux

[issue42015] Order of decrementing reference counts in meth_dealloc

2020-10-12 Thread Yannick Jadoul
Yannick Jadoul added the comment: Yes, sorry for the delay; I got caught up in something else. Meanwhile, https://github.com/python/cpython/pull/22670 should solve our issues. I think Henry confirmed this locally? -- ___ Python tracker <ht

[issue42015] Order of decrementing reference counts in meth_dealloc

2020-10-12 Thread Yannick Jadoul
Change by Yannick Jadoul : -- keywords: +patch pull_requests: +21643 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22670 ___ Python tracker <https://bugs.python.org/issu

[issue42015] Order of decrementing reference counts in meth_dealloc

2020-10-12 Thread Yannick Jadoul
New submission from Yannick Jadoul : In Python 3.9, the line `Py_XDECREF(PyCFunction_GET_CLASS(m));` was added to `meth_dealloc` (in `methodobject.c`). Unfortunately for pybind11, it's inserted exactly two lines too low, since it accesses the `PyMethodDef` and we store the `PyMethodDef