Skip to content
This repository was archived by the owner on Feb 13, 2025. It is now read-only.

Stackless issue #272: convert macro HANDLE_UNWINDING to a function #273

Merged

Conversation

akruis
Copy link

@akruis akruis commented Jun 15, 2021

Implement Stackless issue #272

Convert most of the macro HANDLE_UNWINDING in ceval.c to a static inline
function handle_inline(). This improves maintainability.

Anselm Kruis added 8 commits June 13, 2021 23:36
Stackless now uses an unmodified PyFrameObject structure. The field
PyFrameObject.f_executing now stores the information how to evaluate a
frame.

Additional consequences:
- all frame execution functions now take a "PyCFrameObject *" as first
  argument.
- Pickled frames no contain f_executing instead of the name of the
  execution function.
Consistent usage of SLP_FRAME_EXECUTING_VALUE
Cleanups and minor improvements. Fix _PyEval_EvalFrameDefault
Convert most of the macro HANDLE_UNWINDING in ceval.c to a static inline
function handle_inline(). This improves maintainability.
slp-ceval-handle_unwinding-as-func-main

# Conflicts:
#	Python/ceval.c
@akruis akruis marked this pull request as ready for review June 18, 2021 07:27
@akruis akruis merged commit bf0c174 into stackless-dev:main-slp Jun 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant