summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_audit.py
Commit message (Collapse)AuthorAgeFilesLines
* bpo-45445: Revert "bpo-45445: Fail if an invalid X-option is provided in the ↵Miss Islington (bot)2022-07-311-2/+2
| | | | | | | command line (GH-28823)" (GH-94745) (cherry picked from commit aa37ffda29ac48fb2df5a7029ba2e626ecc45850) Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
* gh-95291: Use import helper to improve sqlite3 audit tests (GH-95292) (GH-95293)Miss Islington (bot)2022-07-271-4/+1
| | | | | | Now the tests are correctly reported as skipped if sqlite3 is not available. (cherry picked from commit 152eb90311fdf294510b5d077332580ba18c0ee4) Co-authored-by: Erlend Egeberg Aasland <erlend.aasland@protonmail.com>
* gh-91348: Restore frame argument to sys._getframe audit event (GH-94928)Miss Islington (bot)2022-07-171-0/+12
| | | | | (cherry picked from commit 044a593cbbe1639e906e06c47504dd1020ddfee4) Co-authored-by: Steve Dower <steve.dower@python.org>
* bpo-40280: Skip subprocess-based tests on wasm32-emscripten (GH-30615)Christian Heimes2022-01-251-0/+3
|
* bpo-45445: Fail if an invalid X-option is provided in the command line ↵Pablo Galindo Salgado2021-10-131-2/+2
| | | | (GH-28823)
* bpo-41180: Replace marshal code.__new__ audit event with marshal.load[s] and ↵Steve Dower2021-06-301-0/+5
| | | | marshal.dumps (GH-26961)
* bpo-43434: Move sqlite3.connect audit events to sqlite3.Connection.__init__ ↵Erlend Egeberg Aasland2021-05-021-1/+1
| | | | (GH-25818)
* bpo-43762: Add audit events for loading of sqlite3 extensions (GH-25246)Erlend Egeberg Aasland2021-04-261-0/+23
|
* bpo-37363: Add audit events to the `http.client` module (GH-21321)Saiyang Gou2021-04-231-0/+14
| | | | | Add audit events to the `http.client` module Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* bpo-43439: Add audit hooks for gc functions (GH-24794)Pablo Galindo2021-03-101-0/+13
|
* bpo-40275: Use new test.support helper submodules in tests (GH-21772)Hai Shi2020-08-071-4/+7
|
* bpo-41162: Clear audit hooks later during finalization (GH-21222)Konge2020-07-031-16/+0
|
* bpo-40121: Fixes audit event raised on creating a new socket (GH-19238)Steve Dower2020-03-311-0/+12
|
* bpo-39007: Add auditing events to functions in winreg (GH-17541)Steve Dower2019-12-091-0/+14
| | | Also allows winreg.CloseKey() to accept same types as other functions.
* bpo-38920: Add audit hooks for when sys.excepthook and sys.unraisable hooks ↵Steve Dower2019-11-281-14/+42
| | | | | are invoked (GH-17392) Also fixes some potential segfaults in unraisable hook handling.
* Remove unused imports in tests (GH-14518)Victor Stinner2019-07-011-1/+0
|
* bpo-37316: mmap.mmap() passes the wrong variable to PySys_Audit() (GH-14152)Zackery Spytz2019-06-211-0/+3
| | | Also, add a missing call to va_end() in PySys_Audit().
* bpo-36842: Fix reference leak in tests by running out-of-proc (GH-13556)Steve Dower2019-05-291-209/+28
|
* bpo-36842: Implement PEP 578 (GH-12613)Steve Dower2019-05-231-0/+260
Adds sys.audit, sys.addaudithook, io.open_code, and associated C APIs.