Skip to content

sys.monitoring.register_callback() audit event not documented in the table #136697

@TTsangSC

Description

@TTsangSC

Documentation

Summary

sys.monitoring.register_callback() is mentioned in the sys.monitoring docs as a function which generates audit events, but it doesn't have a corresponding entry in the audit events table.

Cause

The corresponding audit-event (definition; usage example (glob.glob)) directive is missing from Doc/library/sys.monitoring.rst.

Possible fix

According to Python/instrumentation.c, the event is raised under the name 'sys.monitoring.register_callback' with a single argument (the registered callback or None). So maybe something like:

.. audit-event:: sys.monitoring.register_callback func sys.monitoring.register_callback

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dir

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      pFad - Phonifier reborn

      Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

      Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy