FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

"open" audit event "mode" does not contain information for os.open calls · Issue #158916 · python/cpython · GitHub

Repository navigation

"open" audit event "mode" does not contain information for os.open calls #158916

Description

Bug report

This was originally reported in bug #116429 although it was not specifically pointed out there.

The "open" audit event "mode" does not contain information for os.open calls. It is always None. (This is unfortunate because I was hoping to run an audit report on all files being opened either for reading or for writing separately, and due to this limitation you can't do that.)

The https://docs.python.org/3/library/audit_events.html documentation states the mode field is there for os.open. Without some documentation note to the contrary, one would expect the field to exist and contain valid information.

CPython versions tested on:

3.16

Operating systems tested on:

No response

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    extension-modulesC modules in the Modules dirtype-bugAn unexpected behavior, bug, or error

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions


      Back | FazBrowse Home | New Git URL