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

Conversation

@akruis
Copy link

An implementation for issue #303

Stackless now raises more auditing events. - Reducing objects of type AsyncGeneratorType, CoroutineType or GeneratorType, reading the attribute 'tasklet.frame' or calling 'PyTasklet_GetFrame()' raises an auditing event "sys._getframe" with no arguments. - Unpickling of a frame that could be evaluated now raises auditing event "stackless.frame.__setstate__" with no arguments and, if the frame has a trace function, also auditing event "sys.settrace". - If Stackless pickle flag bit 'PICKLEFLAGS_PRESERVE_AG_FINALIZER' is set then unpickling an async_generator with a pickled finalizer raises auditing event "stackless.async_generator.set_finalizer".
@akruisakruis marked this pull request as ready for review August 24, 2021 15:05
Sign up for freeto subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

@akruis