66msgstr ""
77"Project-Id-Version :Python 3.12\n "
88"Report-Msgid-Bugs-To :\n "
9- "POT-Creation-Date :2024-05-09 00:03+0000\n "
9+ "POT-Creation-Date :2024-08-03 00:03+0000\n "
1010"PO-Revision-Date :2018-05-23 16:05+0000\n "
1111"Last-Translator :Adrian Liaw <adrianliaw2000@gmail.com>\n "
1212"Language-Team :Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -867,84 +867,91 @@ msgstr ""
867867
868868#: ../../library/logging.config.rst:755
869869msgid ""
870- "An actual instance of :class:`queue.Queue` or a subclass thereof. This is of "
871- "course only possible if you are constructing or modifying the configuration "
872- "dictionary in code."
870+ "An object implementing the :class:`queue.Queue` public API. For instance, "
871+ "this may be an actual instance of :class:`queue.Queue` or a subclass "
872+ "thereof, or a proxy obtained by :meth:`multiprocessing.managers.SyncManager."
873+ "Queue`."
873874msgstr ""
874875
875876#: ../../library/logging.config.rst:759
876877msgid ""
878+ "This is of course only possible if you are constructing or modifying the "
879+ "configuration dictionary in code."
880+ msgstr ""
881+
882+ #: ../../library/logging.config.rst:762
883+ msgid ""
877884"A string that resolves to a callable which, when called with no arguments, "
878885"returns the :class:`queue.Queue` instance to use. That callable could be a :"
879886"class:`queue.Queue` subclass or a function which returns a suitable queue "
880887"instance, such as ``my.module.queue_factory()``."
881888msgstr ""
882889
883- #: ../../library/logging.config.rst:764
890+ #: ../../library/logging.config.rst:767
884891msgid ""
885892"A dict with a ``'()'`` key which is constructed in the usual way as "
886893"discussed in :ref:`logging-config-dict-userdef`. The result of this "
887894"construction should be a :class:`queue.Queue` instance."
888895msgstr ""
889896
890- #: ../../library/logging.config.rst:768
897+ #: ../../library/logging.config.rst:771
891898msgid ""
892899"If the ``queue`` key is absent, a standard unbounded :class:`queue.Queue` "
893900"instance is created and used."
894901msgstr ""
895902
896- #: ../../library/logging.config.rst:771
903+ #: ../../library/logging.config.rst:774
897904msgid ""
898905"If the ``listener`` key is present, the corresponding value can be one of "
899906"the following:"
900907msgstr ""
901908
902- #: ../../library/logging.config.rst:773
909+ #: ../../library/logging.config.rst:776
903910msgid ""
904911"A subclass of :class:`logging.handlers.QueueListener`. This is of course "
905912"only possible if you are constructing or modifying the configuration "
906913"dictionary in code."
907914msgstr ""
908915
909- #: ../../library/logging.config.rst:777
916+ #: ../../library/logging.config.rst:780
910917msgid ""
911918"A string which resolves to a class which is a subclass of ``QueueListener``, "
912919"such as ``'my.package.CustomListener'``."
913920msgstr ""
914921
915- #: ../../library/logging.config.rst:780
922+ #: ../../library/logging.config.rst:783
916923msgid ""
917924"A dict with a ``'()'`` key which is constructed in the usual way as "
918925"discussed in :ref:`logging-config-dict-userdef`. The result of this "
919926"construction should be a callable with the same signature as the "
920927"``QueueListener`` initializer."
921928msgstr ""
922929
923- #: ../../library/logging.config.rst:784
930+ #: ../../library/logging.config.rst:787
924931msgid ""
925932"If the ``listener`` key is absent, :class:`logging.handlers.QueueListener` "
926933"is used."
927934msgstr ""
928935
929- #: ../../library/logging.config.rst:786
936+ #: ../../library/logging.config.rst:789
930937msgid ""
931938"The values under the ``handlers`` key are the names of other handlers in the "
932939"configuration (not shown in the above snippet) which will be passed to the "
933940"queue listener."
934941msgstr ""
935942
936- #: ../../library/logging.config.rst:790
943+ #: ../../library/logging.config.rst:793
937944msgid ""
938945"Any custom queue handler and listener classes will need to be defined with "
939946"the same initialization signatures as :class:`~logging.handlers."
940947"QueueHandler` and :class:`~logging.handlers.QueueListener`."
941948msgstr ""
942949
943- #: ../../library/logging.config.rst:799
950+ #: ../../library/logging.config.rst:802
944951msgid "Configuration file format"
945952msgstr ""
946953
947- #: ../../library/logging.config.rst:801
954+ #: ../../library/logging.config.rst:804
948955msgid ""
949956"The configuration file format understood by :func:`fileConfig` is based on :"
950957"mod:`configparser` functionality. The file must contain sections called "
@@ -961,7 +968,7 @@ msgid ""
961968"specified in a section called ``[logger_root]``."
962969msgstr ""
963970
964- #: ../../library/logging.config.rst:816
971+ #: ../../library/logging.config.rst:819
965972msgid ""
966973"The :func:`fileConfig` API is older than the :func:`dictConfig` API and does "
967974"not provide functionality to cover certain aspects of logging. For example, "
@@ -974,39 +981,39 @@ msgid ""
974981"when it's convenient to do so."
975982msgstr ""
976983
977- #: ../../library/logging.config.rst:826
984+ #: ../../library/logging.config.rst:829
978985msgid "Examples of these sections in the file are given below."
979986msgstr ""
980987
981- #: ../../library/logging.config.rst:839
988+ #: ../../library/logging.config.rst:842
982989msgid ""
983990"The root logger must specify a level and a list of handlers. An example of a "
984991"root logger section is given below."
985992msgstr ""
986993
987- #: ../../library/logging.config.rst:848
994+ #: ../../library/logging.config.rst:851
988995msgid ""
989996"The ``level`` entry can be one of ``DEBUG, INFO, WARNING, ERROR, CRITICAL`` "
990997"or ``NOTSET``. For the root logger only, ``NOTSET`` means that all messages "
991998"will be logged. Level values are :ref:`evaluated <func-eval>` in the context "
992999"of the ``logging`` package's namespace."
9931000msgstr ""
9941001
995- #: ../../library/logging.config.rst:853
1002+ #: ../../library/logging.config.rst:856
9961003msgid ""
9971004"The ``handlers`` entry is a comma-separated list of handler names, which "
9981005"must appear in the ``[handlers]`` section. These names must appear in the "
9991006"``[handlers]`` section and have corresponding sections in the configuration "
10001007"file."
10011008msgstr ""
10021009
1003- #: ../../library/logging.config.rst:858
1010+ #: ../../library/logging.config.rst:861
10041011msgid ""
10051012"For loggers other than the root logger, some additional information is "
10061013"required. This is illustrated by the following example."
10071014msgstr ""
10081015
1009- #: ../../library/logging.config.rst:869
1016+ #: ../../library/logging.config.rst:872
10101017msgid ""
10111018"The ``level`` and ``handlers`` entries are interpreted as for the root "
10121019"logger, except that if a non-root logger's level is specified as ``NOTSET``, "
@@ -1019,28 +1026,28 @@ msgid ""
10191026"application to get the logger."
10201027msgstr ""
10211028
1022- #: ../../library/logging.config.rst:878
1029+ #: ../../library/logging.config.rst:881
10231030msgid ""
10241031"Sections which specify handler configuration are exemplified by the "
10251032"following."
10261033msgstr ""
10271034
1028- #: ../../library/logging.config.rst:888
1035+ #: ../../library/logging.config.rst:891
10291036msgid ""
10301037"The ``class`` entry indicates the handler's class (as determined by :func:"
10311038"`eval` in the ``logging`` package's namespace). The ``level`` is interpreted "
10321039"as for loggers, and ``NOTSET`` is taken to mean 'log everything'."
10331040msgstr ""
10341041
1035- #: ../../library/logging.config.rst:892
1042+ #: ../../library/logging.config.rst:895
10361043msgid ""
10371044"The ``formatter`` entry indicates the key name of the formatter for this "
10381045"handler. If blank, a default formatter (``logging._defaultFormatter``) is "
10391046"used. If a name is specified, it must appear in the ``[formatters]`` section "
10401047"and have a corresponding section in the configuration file."
10411048msgstr ""
10421049
1043- #: ../../library/logging.config.rst:897
1050+ #: ../../library/logging.config.rst:900
10441051msgid ""
10451052"The ``args`` entry, when :ref:`evaluated <func-eval>` in the context of the "
10461053"``logging`` package's namespace, is the list of arguments to the constructor "
@@ -1049,34 +1056,34 @@ msgid ""
10491056"provided, it defaults to ``()``."
10501057msgstr ""
10511058
1052- #: ../../library/logging.config.rst:903
1059+ #: ../../library/logging.config.rst:906
10531060msgid ""
10541061"The optional ``kwargs`` entry, when :ref:`evaluated <func-eval>` in the "
10551062"context of the ``logging`` package's namespace, is the keyword argument dict "
10561063"to the constructor for the handler class. If not provided, it defaults to "
10571064"``{}``."
10581065msgstr ""
10591066
1060- #: ../../library/logging.config.rst:960
1067+ #: ../../library/logging.config.rst:963
10611068msgid ""
10621069"Sections which specify formatter configuration are typified by the following."
10631070msgstr ""
10641071
1065- #: ../../library/logging.config.rst:972
1072+ #: ../../library/logging.config.rst:975
10661073msgid ""
10671074"The arguments for the formatter configuration are the same as the keys in "
10681075"the dictionary schema :ref:`formatters section <logging-config-dictschema-"
10691076"formatters>`."
10701077msgstr ""
10711078
1072- #: ../../library/logging.config.rst:976
1079+ #: ../../library/logging.config.rst:979
10731080msgid ""
10741081"The ``defaults`` entry, when :ref:`evaluated <func-eval>` in the context of "
10751082"the ``logging`` package's namespace, is a dictionary of default values for "
10761083"custom formatting fields. If not provided, it defaults to ``None``."
10771084msgstr ""
10781085
1079- #: ../../library/logging.config.rst:983
1086+ #: ../../library/logging.config.rst:986
10801087msgid ""
10811088"Due to the use of :func:`eval` as described above, there are potential "
10821089"security risks which result from using the :func:`listen` to send and "
@@ -1085,18 +1092,18 @@ msgid ""
10851092"`listen` documentation for more information."
10861093msgstr ""
10871094
1088- #: ../../library/logging.config.rst:991
1095+ #: ../../library/logging.config.rst:994
10891096msgid "Module :mod:`logging`"
10901097msgstr ":mod:`logging` 模組"
10911098
1092- #: ../../library/logging.config.rst:992
1099+ #: ../../library/logging.config.rst:995
10931100msgid "API reference for the logging module."
10941101msgstr ""
10951102
1096- #: ../../library/logging.config.rst:994
1103+ #: ../../library/logging.config.rst:997
10971104msgid "Module :mod:`logging.handlers`"
10981105msgstr ":mod:`logging.handlers` 模組"
10991106
1100- #: ../../library/logging.config.rst:995
1107+ #: ../../library/logging.config.rst:998
11011108msgid "Useful handlers included with the logging module."
11021109msgstr ""