Skip to content

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented Mar 13, 2020

  • sys.settrace(), sys.setprofile() and _lsprof.Profiler.enable() now
    properly report PySys_Audit() error if "sys.setprofile" or
    "sys.settrace" audit event is denied.
  • Add _PyEval_SetProfile() and _PyEval_SetTrace() function: similar
    to PyEval_SetProfile() and PyEval_SetTrace() but take a tstate
    parameter and return -1 on error.
  • Add _PyObject_FastCallTstate() function.

https://bugs.python.org/issue35370

* sys.settrace(), sys.setprofile() and _lsprof.Profiler.enable() now
  properly report PySys_Audit() error if "sys.setprofile" or
  "sys.settrace" audit event is denied.
* Add _PyEval_SetProfile() and _PyEval_SetTrace() function: similar
  to PyEval_SetProfile() and PyEval_SetTrace() but take a tstate
  parameter and return -1 on error.
* Add _PyObject_FastCallTstate() function.
@vstinner vstinner merged commit 309d7cc into python:master Mar 13, 2020
@vstinner vstinner deleted the eval_settrace_tstate branch March 13, 2020 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants