Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34k
Closed
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir
Description
Documentation
The Python-specific 'audit-event' directive is not being extracted to message catalogs (.po files) with the usual reST markups. For instance, expected a source string as Raises an :ref:`auditing event `sys._getframe <auditing>` with argument ``frame``. but I'm getting Raises an auditing event sys._getframe with argument frame. instead.
#122325 seems to be related to this issue, so cc'ing @AA-Turner .
Steps to reproduce:
make -C Doc gettextgrep -R 'Raises an auditing event' build/gettext/for an output like:
build/gettext/library/tempfile.pot:msgid "Raises an auditing event tempfile.mkstemp with argument fullpath." build/gettext/library/tempfile.pot:msgid "Raises an auditing event tempfile.mkdtemp with argument fullpath." build/gettext/library/types.pot:msgid "Raises an auditing event function.__new__ with argument code." build/gettext/library/types.pot:msgid "Raises an auditing event code.__new__ with arguments code, filename, name, argcount, posonlyargcount, kwonlyargcount, nlocals, stacksize, flags." build/gettext/library/marshal.pot:msgid "Raises an auditing event marshal.dumps with arguments value, version." build/gettext/library/marshal.pot:msgid "Raises an auditing event marshal.load with no arguments." build/gettext/library/marshal.pot:msgid "Raises an auditing event marshal.loads with argument bytes." build/gettext/library/fcntl.pot:msgid "Raises an auditing event fcntl.fcntl with arguments fd, cmd, arg." build/gettext/library/fcntl.pot:msgid "Raises an auditing event fcntl.ioctl with arguments fd, request, arg." build/gettext/library/fcntl.pot:msgid "Raises an auditing event fcntl.flock with arguments fd, operation." build/gettext/library/fcntl.pot:msgid "Raises an auditing event fcntl.lockf with arguments fd, cmd, len, start, whence." build/gettext/library/functions.pot:msgid "Raises an auditing event builtins.breakpoint with argument breakpointhook." build/gettext/library/functions.pot:msgid "Raises an auditing event compile with arguments source and filename. This event may also be raised by implicit compilation." build/gettext/library/functions.pot:msgid "Raises an auditing event exec with the code object as the argument. Code compilation events may also be raised." build/gettext/library/functions.pot:msgid "Raises an auditing event builtins.id with argument id." build/gettext/library/functions.pot:msgid "Raises an auditing event builtins.input with argument prompt before reading input" build/gettext/library/functions.pot:msgid "Raises an auditing event builtins.input/result with the result after successfully reading input." build/gettext/library/functions.pot:msgid "Raises an auditing event open with arguments path, mode, flags." ... Linked PRs
adorilson
Metadata
Metadata
Assignees
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dir