7
7
msgstr ""
8
8
"Project-Id-Version : Python 3.11\n "
9
9
"Report-Msgid-Bugs-To : \n "
10
- "POT-Creation-Date : 2021-10-26 16:47 +0000\n "
10
+ "POT-Creation-Date : 2023-02-05 00:18 +0000\n "
11
11
"PO-Revision-Date : 2018-05-23 16:01+0000\n "
12
12
"Last-Translator : Adrian Liaw <adrianliaw2000@gmail.com>\n "
13
13
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -92,64 +92,87 @@ msgid ""
92
92
"enable` at Python startup."
93
93
msgstr ""
94
94
95
- #: ../../library/faulthandler.rst:48
96
- msgid "Dumping the traceback"
95
+ #: ../../library/faulthandler.rst:49
96
+ msgid "Module :mod:`pdb`"
97
+ msgstr ""
98
+
99
+ #: ../../library/faulthandler.rst:49
100
+ msgid "Interactive source code debugger for Python programs."
101
+ msgstr ""
102
+
103
+ #: ../../library/faulthandler.rst:51
104
+ msgid "Module :mod:`traceback`"
97
105
msgstr ""
98
106
99
107
#: ../../library/faulthandler.rst:52
100
108
msgid ""
109
+ "Standard interface to extract, format and print stack traces of Python "
110
+ "programs."
111
+ msgstr ""
112
+
113
+ #: ../../library/faulthandler.rst:55
114
+ msgid "Dumping the traceback"
115
+ msgstr ""
116
+
117
+ #: ../../library/faulthandler.rst:59
118
+ msgid ""
101
119
"Dump the tracebacks of all threads into *file*. If *all_threads* is "
102
120
"``False``, dump only the current thread."
103
121
msgstr ""
104
122
105
- #: ../../library/faulthandler.rst:55 ../../library/faulthandler.rst:73
106
- #: ../../library/faulthandler.rst:115 ../../library/faulthandler.rst:137
123
+ #: ../../library/faulthandler.rst:62
124
+ msgid ""
125
+ ":func:`traceback.print_tb`, which can be used to print a traceback object."
126
+ msgstr ""
127
+
128
+ #: ../../library/faulthandler.rst:64 ../../library/faulthandler.rst:82
129
+ #: ../../library/faulthandler.rst:124 ../../library/faulthandler.rst:146
107
130
msgid "Added support for passing file descriptor to this function."
108
131
msgstr ""
109
132
110
- #: ../../library/faulthandler.rst:60
133
+ #: ../../library/faulthandler.rst:69
111
134
msgid "Fault handler state"
112
135
msgstr ""
113
136
114
- #: ../../library/faulthandler.rst:64
137
+ #: ../../library/faulthandler.rst:73
115
138
msgid ""
116
139
"Enable the fault handler: install handlers for the :const:`SIGSEGV`, :const:"
117
140
"`SIGFPE`, :const:`SIGABRT`, :const:`SIGBUS` and :const:`SIGILL` signals to "
118
141
"dump the Python traceback. If *all_threads* is ``True``, produce tracebacks "
119
142
"for every running thread. Otherwise, dump only the current thread."
120
143
msgstr ""
121
144
122
- #: ../../library/faulthandler.rst:70
145
+ #: ../../library/faulthandler.rst:79
123
146
msgid ""
124
147
"The *file* must be kept open until the fault handler is disabled: see :ref:
F438
"
125
148
"`issue with file descriptors <faulthandler-fd>`."
126
149
msgstr ""
127
150
128
- #: ../../library/faulthandler.rst:76
151
+ #: ../../library/faulthandler.rst:85
129
152
msgid "On Windows, a handler for Windows exception is also installed."
130
153
msgstr ""
131
154
132
- #: ../../library/faulthandler.rst:79
155
+ #: ../../library/faulthandler.rst:88
133
156
msgid ""
134
157
"The dump now mentions if a garbage collector collection is running if "
135
158
"*all_threads* is true."
136
159
msgstr ""
137
160
138
- #: ../../library/faulthandler.rst:85
161
+ #: ../../library/faulthandler.rst:94
139
162
msgid ""
140
163
"Disable the fault handler: uninstall the signal handlers installed by :func:"
141
164
"`enable`."
142
165
msgstr ""
143
166
144
- #: ../../library/faulthandler.rst:90
167
+ #: ../../library/faulthandler.rst:99
145
168
msgid "Check if the fault handler is enabled."
146
169
msgstr ""
147
170
148
- #: ../../library/faulthandler.rst:94
171
+ #: ../../library/faulthandler.rst:103
149
172
msgid "Dumping the tracebacks after a timeout"
150
173
msgstr ""
151
174
152
- #: ../../library/faulthandler.rst:98
175
+ #: ../../library/faulthandler.rst:107
153
176
msgid ""
154
177
"Dump the tracebacks of all threads, after a timeout of *timeout* seconds, or "
155
178
"every *timeout* seconds if *repeat* is ``True``. If *exit* is ``True``, "
@@ -160,58 +183,58 @@ msgid ""
160
183
"a sub-second resolution."
161
184
msgstr ""
162
185
163
- #: ../../library/faulthandler.rst:106
186
+ #: ../../library/faulthandler.rst:115
164
187
msgid ""
165
188
"The *file* must be kept open until the traceback is dumped or :func:"
166
189
"`cancel_dump_traceback_later` is called: see :ref:`issue with file "
167
190
"descriptors <faulthandler-fd>`."
168
191
msgstr ""
169
192
170
- #: ../../library/faulthandler.rst:110
193
+ #: ../../library/faulthandler.rst:119
171
194
msgid "This function is implemented using a watchdog thread."
172
195
msgstr ""
173
196
174
- #: ../../library/faulthandler.rst:112
197
+ #: ../../library/faulthandler.rst:121
175
198
msgid "This function is now always available."
176
199
msgstr ""
177
200
178
- #: ../../library/faulthandler.rst:120
201
+ #: ../../library/faulthandler.rst:129
179
202
msgid "Cancel the last call to :func:`dump_traceback_later`."
180
203
msgstr ""
181
204
182
- #: ../../library/faulthandler.rst:124
205
+ #: ../../library/faulthandler.rst:133
183
206
msgid "Dumping the traceback on a user signal"
184
207
msgstr ""
185
208
186
- #: ../../library/faulthandler.rst:128
209
+ #: ../../library/faulthandler.rst:137
187
210
msgid ""
188
211
"Register a user signal: install a handler for the *signum* signal to dump "
189
212
"the traceback of all threads, or of the current thread if *all_threads* is "
190
213
"``False``, into *file*. Call the previous handler if chain is ``True``."
191
214
msgstr ""
192
215
193
- #: ../../library/faulthandler.rst:132
216
+ #: ../../library/faulthandler.rst:141
194
217
msgid ""
195
218
"The *file* must be kept open until the signal is unregistered by :func:"
196
219
"`unregister`: see :ref:`issue with file descriptors <faulthandler-fd>`."
197
220
msgstr ""
198
221
199
- #: ../../library/faulthandler.rst:135 ../../library/faulthandler.rst:146
222
+ #: ../../library/faulthandler.rst:144 ../../library/faulthandler.rst:155
200
223
msgid "Not available on Windows."
201
224
msgstr ""
202
225
203
- #: ../../library/faulthandler.rst:142
226
+ #: ../../library/faulthandler.rst:151
204
227
msgid ""
205
228
"Unregister a user signal: uninstall the handler of the *signum* signal "
206
229
"installed by :func:`register`. Return ``True`` if the signal was registered, "
207
230
"``False`` otherwise."
208
231
msgstr ""
209
232
210
- #: ../../library/faulthandler.rst:152
233
+ #: ../../library/faulthandler.rst:161
211
234
msgid "Issue with file descriptors"
212
235
msgstr ""
213
236
214
- #: ../../library/faulthandler.rst:154
237
+ #: ../../library/faulthandler.rst:163
215
238
msgid ""
216
239
":func:`enable`, :func:`dump_traceback_later` and :func:`register` keep the "
217
240
"file descriptor of their *file* argument. If the file is closed and its file "
@@ -220,11 +243,11 @@ msgid ""
220
243
"Call these functions again each time that the file is replaced."
221
244
msgstr ""
222
245
223
- #: ../../library/faulthandler.rst:162
246
+ #: ../../library/faulthandler.rst:171
224
247
msgid "Example"
225
248
msgstr "範例"
226
249
227
- #: ../../library/faulthandler.rst:164
250
+ #: ../../library/faulthandler.rst:173
228
251
msgid ""
229
252
"Example of a segmentation fault on Linux with and without enabling the fault "
230
253
"handler:"
0 commit comments