mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-37363: Add audit events for a range of modules (GH-14301)
This commit is contained in:
parent
9bbf4d7083
commit
60419a7e96
37 changed files with 165 additions and 18 deletions
|
@ -79,6 +79,11 @@ The module itself defines the following classes:
|
|||
('211 1755 1 1755 gmane.comp.python.committers', 1755, 1, 1755, 'gmane.comp.python.committers')
|
||||
>>>
|
||||
|
||||
.. audit-event:: nntplib.NNTP "self host port"
|
||||
|
||||
All commands will raise an :ref:`auditing event <auditing>`
|
||||
``nntplib.NNTP.putline`` with arguments ``self`` and ``line``,
|
||||
where ``line`` is the bytes about to be sent to the remote host.
|
||||
|
||||
.. versionchanged:: 3.2
|
||||
*usenetrc* is now ``False`` by default.
|
||||
|
@ -100,6 +105,12 @@ The module itself defines the following classes:
|
|||
STARTTLS as described below. However, some servers only support the
|
||||
former.
|
||||
|
||||
.. audit-event:: nntplib.NNTP "self host port"
|
||||
|
||||
All commands will raise an :ref:`auditing event <auditing>`
|
||||
``nntplib.NNTP.putline`` with arguments ``self`` and ``line``,
|
||||
where ``line`` is the bytes about to be sent to the remote host.
|
||||
|
||||
.. versionadded:: 3.2
|
||||
|
||||
.. versionchanged:: 3.4
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue