[issue43268] [internals] Pass the current interpreter (interp) rather than the current Python thread state (state)

2021-02-19 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue43268] [internals] Pass the current interpreter (interp) rather than the current Python thread state (state)

2021-02-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 839184f85cb2d2ad514fff9b431733d1c9607533 by Victor Stinner in branch 'master': bpo-43268: local_clear() uses _PyInterpreterState_GET() (GH-24583) https://github.com/python/cpython/commit/839184f85cb2d2ad514fff9b431733d1c9607533 --

[issue43268] [internals] Pass the current interpreter (interp) rather than the current Python thread state (state)

2021-02-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23362 pull_request: https://github.com/python/cpython/pull/24583 ___ Python tracker ___

[issue43268] [internals] Pass the current interpreter (interp) rather than the current Python thread state (state)

2021-02-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset bcb094b41f7fe4dd1686c50891d85632fcf0d481 by Victor Stinner in branch 'master': bpo-43268: Pass interp rather than tstate to internal functions (GH-24580) https://github.com/python/cpython/commit/bcb094b41f7fe4dd1686c50891d85632fcf0d481

[issue43268] [internals] Pass the current interpreter (interp) rather than the current Python thread state (state)

2021-02-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset acde3f1530f1664c9ec7f22e16a7f54c5191e4a6 by Victor Stinner in branch 'master': bpo-43268: Remove abusive usage of tstate in sysmodule.c (#24581) https://github.com/python/cpython/commit/acde3f1530f1664c9ec7f22e16a7f54c5191e4a6 --

[issue43268] [internals] Pass the current interpreter (interp) rather than the current Python thread state (state)

2021-02-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23360 pull_request: https://github.com/python/cpython/pull/24581 ___ Python tracker ___

[issue43268] [internals] Pass the current interpreter (interp) rather than the current Python thread state (state)

2021-02-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23359 pull_request: https://github.com/python/cpython/pull/24580 ___ Python tracker ___

[issue43268] [internals] Pass the current interpreter (interp) rather than the current Python thread state (state)

2021-02-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 101bf69ff18a946fed7c274f088878aaf85174cc by Victor Stinner in branch 'master': bpo-43268: _Py_IsMainInterpreter() now expects interp (GH-24577) https://github.com/python/cpython/commit/101bf69ff18a946fed7c274f088878aaf85174cc --

[issue43268] [internals] Pass the current interpreter (interp) rather than the current Python thread state (state)

2021-02-19 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5592f2b9daa24bf74cc616abcc40a29da2bdccb2 by Victor Stinner in branch 'master': bpo-43268: Replace _PyThreadState_GET() with _PyInterpreterState_GET() (GH-24576) https://github.com/python/cpython/commit/5592f2b9daa24bf74cc616abcc40a29da2bdccb2

[issue43268] [internals] Pass the current interpreter (interp) rather than the current Python thread state (state)

2021-02-19 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +23356 pull_request: https://github.com/python/cpython/pull/24577 ___ Python tracker ___

[issue43268] [internals] Pass the current interpreter (interp) rather than the current Python thread state (state)

2021-02-19 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +23355 stage: -> patch review pull_request: https://github.com/python/cpython/pull/24576 ___ Python tracker ___

[issue43268] [internals] Pass the current interpreter (interp) rather than the current Python thread state (state)

2021-02-19 Thread STINNER Victor
New submission from STINNER Victor : I modified many internal C functions to pass the current Python thread state (tstate), but in practice, only the current interpreter (interp) is needed. -- components: Interpreter Core messages: 387308 nosy: vstinner priority: normal severity: