summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_audit.py
Commit message (Collapse)AuthorAgeFilesLines
* GH-110829: Ensure Thread.join() joins the OS thread (#110848)Antoine Pitrou2023-11-041-0/+2
| | | | | | | Joining a thread now ensures the underlying OS thread has exited. This is required for safer fork() in multi-threaded processes. --------- Co-authored-by: blurb-it[bot] <43283697+blurb-it[bot]@users.noreply.github.com>
* gh-108294: Add error handling for time.sleep audit event (GH-108363)Petr Viktorin2023-09-051-21/+25
| | | | | I've also cleaned the tests up a bit to make this easier to test.
* gh-108294: Add time.sleep audit event (GH-108298)Petr Viktorin2023-08-231-0/+15
|
* GH-107774: Add missing audit event for PEP 669 (GH-107775)Mark Shannon2023-08-101-0/+13
|
* gh-86682: Adds sys._getframemodulename as an alternative to using _getframe ↵Steve Dower2023-01-131-0/+12
| | | | | (GH-99520) Also updates calls in collections, doctest, enum, and typing modules to use _getframemodulename first when available.
* gh-99377: Revert audit events for thread state creation and free, because ↵Steve Dower2022-11-171-8/+0
| | | | the GIL is not properly held at these times (GH-99543)
* gh-99377: Add audit events for thread creation and clear (GH-99378)Steve Dower2022-11-161-0/+25
|
* gh-87604: Avoid publishing list of active per-interpreter audit hooks via ↵Steve Dower2022-11-141-0/+5
| | | | the gc module (GH-99373)
* Add more syslog tests (GH-97953)Serhiy Storchaka2022-10-071-1/+24
|
* gh-89545: Updates platform module to use new internal _wmi module on Windows ↵Steve Dower2022-09-071-0/+15
| | | | to directly query OS properties (GH-96289)
* bpo-45445: Revert "bpo-45445: Fail if an invalid X-option is provided in the ↵Pablo Galindo Salgado2022-07-311-2/+2
| | | | command line (GH-28823)" (#94745)
* gh-95291: Use import helper to improve sqlite3 audit tests (#95292)Erlend Egeberg Aasland2022-07-261-4/+1
| | | Now the tests are correctly reported as skipped if sqlite3 is not available.
* gh-91348: Restore frame argument to sys._getframe audit event (GH-94928)Steve Dower2022-07-171-0/+12
|
* 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.