9
9
#, fuzzy
10
10
msgid ""
11
11
msgstr ""
12
- "Project-Id-Version : Python 3.11 \n "
12
+ "Project-Id-Version : Python 3.12 \n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2023-05-19 14:13 +0000\n "
14
+ "POT-Creation-Date : 2023-06-04 10:09 +0000\n "
15
15
"PO-Revision-Date : 2021-06-28 00:55+0000\n "
16
16
"Last-Translator : Dmytro Kazanzhy, 2022\n "
17
17
"Language-Team : Ukrainian (https://app.transifex.com/python-doc/teams/5390/uk/)\n "
@@ -112,7 +112,21 @@ msgid ""
112
112
msgstr ""
113
113
"Ця функція повертає *func*, що дає змогу використовувати її як декоратор."
114
114
115
- #: ../../library/atexit.rst:54
115
+ #: ../../library/atexit.rst:52
116
+ msgid ""
117
+ "Starting new threads or calling :func:`os.fork` from a registered function "
118
+ "can lead to race condition between the main Python runtime thread freeing "
119
+ "thread states while internal :mod:`threading` routines or the new process "
120
+ "try to use that state. This can lead to crashes rather than clean shutdown."
121
+ msgstr ""
122
+
123
+ #: ../../library/atexit.rst:58
124
+ msgid ""
125
+ "Attempts to start a new thread or :func:`os.fork` a new process in a "
126
+ "registered function now leads to :exc:`RuntimeError`."
127
+ msgstr ""
128
+
129
+ #: ../../library/atexit.rst:64
116
130
msgid ""
117
131
"Remove *func* from the list of functions to be run at interpreter shutdown. "
118
132
":func:`unregister` silently does nothing if *func* was not previously "
@@ -129,23 +143,23 @@ msgstr ""
129
143
"скасування реєстрації, тому посилання на функції не повинні мати відповідні "
130
144
"ідентифікатори."
131
145
132
- #: ../../library/atexit.rst:65
146
+ #: ../../library/atexit.rst:75
133
147
msgid "Module :mod:`readline`"
134
148
msgstr "Модуль :mod:`readline`"
135
149
136
- #: ../../library/atexit.rst:65
150
+ #: ../../library/atexit.rst:75
137
151
msgid ""
138
152
"Useful example of :mod:`atexit` to read and write :mod:`readline` history "
139
153
"files."
140
154
msgstr ""
141
155
"Корисний приклад :mod:`atexit` для читання та запису файлів історії "
142
156
":mod:`readline`."
143
157
144
- #: ../../library/atexit.rst:72
158
+ #: ../../library/atexit.rst:82
145
159
msgid ":mod:`atexit` Example"
146
160
msgstr ":mod:`atexit` Приклад"
147
161
148
- #: ../../library/atexit.rst:74
162
+ #: ../../library/atexit.rst:84
149
163
msgid ""
150
164
"The following simple example demonstrates how a module can initialize a "
151
165
"counter from a file when it is imported and save the counter's updated value"
@@ -157,18 +171,18 @@ msgstr ""
157
171
"значення лічильника, коли програма завершує роботу, не покладаючись на те, "
158
172
"що програма здійснює явний виклик цього модуля під час завершення. ::"
159
173
160
- #: ../../library/atexit.rst:97
174
+ #: ../../library/atexit.rst:107
161
175
msgid ""
162
176
"Positional and keyword arguments may also be passed to :func:`register` to "
163
177
"be passed along to the registered function when it is called::"
164
178
msgstr ""
165
179
"Позиційні та ключові аргументи також можуть бути передані :func:`register` "
166
180
"для передачі зареєстрованій функції під час її виклику::"
167
181
168
- #: ../../library/atexit.rst:109
182
+ #: ../../library/atexit.rst:119
169
183
msgid "Usage as a :term:`decorator`::"
170
184
msgstr "Використання як :term:`decorator`::"
171
185
172
- #: ../../library/atexit.rst:117
186
+ #: ../../library/atexit.rst:127
173
187
msgid "This only works with functions that can be called without arguments."
174
188
msgstr "Це працює лише з функціями, які можна викликати без аргументів."
0 commit comments