Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 2d229f1

Browse files
authored
Revert "Traduction des premières lignes de asyncio-policy.po (#619)"
This reverts commit ef3cbeb.
1 parent ef3cbeb commit 2d229f1

File tree

1 file changed

+24
-99
lines changed

1 file changed

+24
-99
lines changed

library/asyncio-policy.po

Lines changed: 24 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -6,96 +6,77 @@ msgstr ""
66
"Project-Id-Version: Python 3.7\n"
77
"Report-Msgid-Bugs-To: \n"
88
"POT-Creation-Date: 2019-01-03 16:57+0100\n"
9-
"PO-Revision-Date: 2019-04-11 22:41+0200\n"
9+
"PO-Revision-Date: 2018-11-29 18:26+0100\n"
10+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
1011
"Language-Team: FRENCH <[email protected]>\n"
1112
"Language: fr\n"
1213
"MIME-Version: 1.0\n"
1314
"Content-Type: text/plain; charset=UTF-8\n"
1415
"Content-Transfer-Encoding: 8bit\n"
15-
"Last-Translator: \n"
16-
"X-Generator: Poedit 2.2.1\n"
1716

1817
#: ../Doc/library/asyncio-policy.rst:8
1918
msgid "Policies"
20-
msgstr "Stratégies"
19+
msgstr ""
2120

2221
#: ../Doc/library/asyncio-policy.rst:10
2322
msgid ""
2423
"An event loop policy is a global per-process object that controls the "
2524
"management of the event loop. Each event loop has a default policy, which "
2625
"can be changed and customized using the policy API."
2726
msgstr ""
28-
"Une stratégie de boucle d'événements est un objet global, pour chaque "
29-
"processus, qui contrôle la gestion de la boucle d'événement. Chaque boucle "
30-
"d'événement a une stratégie par défaut, qui peut être modifiée et "
31-
"personnalisée à l'aide de l'API de la stratégie."
3227

3328
#: ../Doc/library/asyncio-policy.rst:14
3429
msgid ""
3530
"A policy defines the notion of *context* and manages a separate event loop "
3631
"per context. The default policy defines *context* to be the current thread."
3732
msgstr ""
38-
"Une stratégie définit la notion de *contexte* et gère une boucle d'événement "
39-
"distincte par contexte. La stratégie par défaut définit le *contexte* comme "
40-
"étant le fil d'exécution actuel."
4133

4234
#: ../Doc/library/asyncio-policy.rst:18
4335
msgid ""
4436
"By using a custom event loop policy, the behavior of :func:"
4537
"`get_event_loop`, :func:`set_event_loop`, and :func:`new_event_loop` "
4638
"functions can be customized."
4739
msgstr ""
48-
"En utilisant une stratégie de boucle d'événement personnalisée, le "
49-
"comportement des fonctions :func:`get_event_loop`, :func:`set_event_loop` "
50-
"et :func:`new_event_loop` peut être personnalisé."
5140

5241
#: ../Doc/library/asyncio-policy.rst:22
5342
msgid ""
5443
"Policy objects should implement the APIs defined in the :class:"
5544
"`AbstractEventLoopPolicy` abstract base class."
5645
msgstr ""
57-
"Les objets de stratégie doivent implémenter les API définies dans la classe "
58-
"de base abstraite :class:`AbstractEventLoopPolicy`."
5946

6047
#: ../Doc/library/asyncio-policy.rst:27
6148
msgid "Getting and Setting the Policy"
62-
msgstr "Obtenir et définir la stratégie"
49+
msgstr ""
6350

6451
#: ../Doc/library/asyncio-policy.rst:29
6552
msgid ""
6653
"The following functions can be used to get and set the policy for the "
6754
"current process:"
6855
msgstr ""
69-
"Les fonctions suivantes peuvent être utilisées pour obtenir et définir la "
70-
"stratégie du processus en cours :"
7156

7257
#: ../Doc/library/asyncio-policy.rst:34
7358
msgid "Return the current process-wide policy."
74-
msgstr "Renvoie la stratégie actuelle à l'échelle du processus."
59+
msgstr ""
7560

7661
#: ../Doc/library/asyncio-policy.rst:38
7762
msgid "Set the current process-wide policy to *policy*."
7863
msgstr ""
79-
"Définit la stratégie actuelle sur l'ensemble du processus sur *policy*."
8064

8165
#: ../Doc/library/asyncio-policy.rst:40
8266
msgid "If *policy* is set to ``None``, the default policy is restored."
8367
msgstr ""
84-
"Si *policy* est définie sur ``None``, la stratégie par défaut est restaurée."
8568

8669
#: ../Doc/library/asyncio-policy.rst:44
8770
msgid "Policy Objects"
88-
msgstr "Sujets de stratégie"
71+
msgstr ""
8972

9073
#: ../Doc/library/asyncio-policy.rst:46
9174
msgid "The abstract event loop policy base class is defined as follows:"
9275
msgstr ""
93-
"La classe de base abstraite de la stratégie de boucle d'événements est "
94-
"définie comme suit:"
9576

9677
#: ../Doc/library/asyncio-policy.rst:50
9778
msgid "An abstract base class for asyncio policies."
98-
msgstr "Une classe de base abstraite pour les stratégies *asyncio*."
79+
msgstr ""
9980

10081
#: ../Doc/library/asyncio-policy.rst:54
10182
msgid "Get the event loop for the current context."
@@ -106,95 +87,79 @@ msgid ""
10687
"Return an event loop object implementing the :class:`AbstractEventLoop` "
10788
"interface."
10889
msgstr ""
109-
"Renvoie un objet de boucle d'événements en implémentant l'interface :class:"
110-
"`AbstractEventLoop`."
11190

11291
#: ../Doc/library/asyncio-policy.rst:59 ../Doc/library/asyncio-policy.rst:71
11392
msgid "This method should never return ``None``."
114-
msgstr "Cette méthode ne devrait jamais renvoyer `` None``."
93+
msgstr ""
11594

11695
#: ../Doc/library/asyncio-policy.rst:65
11796
msgid "Set the event loop for the current context to *loop*."
118-
msgstr "Définit la boucle d'événements du contexte actuel sur *loop*."
97+
msgstr ""
11998

12099
#: ../Doc/library/asyncio-policy.rst:69
121100
msgid "Create and return a new event loop object."
122-
msgstr "Crée et renvoie un nouvel objet de boucle d'événements."
101+
msgstr ""
123102

124103
#: ../Doc/library/asyncio-policy.rst:75
125104
msgid "Get a child process watcher object."
126-
msgstr "Récupère un objet observateur du processus enfant."
105+
msgstr ""
127106

128107
#: ../Doc/library/asyncio-policy.rst:77
129108
msgid ""
130109
"Return a watcher object implementing the :class:`AbstractChildWatcher` "
131110
"interface."
132111
msgstr ""
133-
"Renvoie un objet observateur implémentant l'interface :class:"
134-
"`AbstractChildWatcher`."
135112

136113
#: ../Doc/library/asyncio-policy.rst:80 ../Doc/library/asyncio-policy.rst:86
137114
msgid "This function is Unix specific."
138-
msgstr "Cette fonction est spécifique à Unix."
115+
msgstr ""
139116

140117
#: ../Doc/library/asyncio-policy.rst:84
141118
msgid "Set the current child process watcher to *watcher*."
142-
msgstr "Définit l'observateur du processus enfant actuel à *watcher*."
119+
msgstr ""
143120

144121
#: ../Doc/library/asyncio-policy.rst:89
145122
msgid "asyncio ships with the following built-in policies:"
146-
msgstr "*asyncio* est livré avec les stratégies intégrées suivantes :"
123+
msgstr ""
147124

148125
#: ../Doc/library/asyncio-policy.rst:94
149126
msgid ""
150127
"The default asyncio policy. Uses :class:`SelectorEventLoop` on both Unix "
151128
"and Windows platforms."
152129
msgstr ""
153-
"La stratégie *asyncio* par défaut. Utilise :class:`SelectorEventLoop` sur les "
154-
"plates-formes Unix et Windows."
155130

156131
#: ../Doc/library/asyncio-policy.rst:97
157132
msgid ""
158133
"There is no need to install the default policy manually. asyncio is "
159134
"configured to use the default policy automatically."
160135
msgstr ""
161-
"Il n'est pas nécessaire d'installer la stratégie par défaut manuellement. "
162-
"*asyncio* est configuré pour utiliser automatiquement la stratégie par défaut."
163136

164137
#: ../Doc/library/asyncio-policy.rst:103
165138
msgid ""
166139
"An alternative event loop policy that uses the :class:`ProactorEventLoop` "
167140
"event loop implementation."
168141
msgstr ""
169-
"Stratégie de boucle d'événements alternative utilisant l'implémentation de "
170-
"la boucle d'événements :class:`ProactorEventLoop`."
171142

172143
#: ../Doc/library/asyncio-policy.rst:106
173144
msgid ":ref:`Availability <availability>`: Windows."
174145
msgstr ":ref:`Disponibilité <availability>` : Windows."
175146

176147
#: ../Doc/library/asyncio-policy.rst:110
177148
msgid "Process Watchers"
178-
msgstr "Observateurs de processus"
149+
msgstr ""
179150

180151
#: ../Doc/library/asyncio-policy.rst:112
181152
msgid ""
182153
"A process watcher allows customization of how an event loop monitors child "
183154
"processes on Unix. Specifically, the event loop needs to know when a child "
184155
"process has exited."
185156
msgstr ""
186-
"Un observateur de processus permet de personnaliser la manière dont une "
187-
"boucle d'événements surveille les processus enfants sous Unix. Plus "
188-
"précisément, la boucle d'événements a besoin de savoir quand un processus enfant "
189-
"s'est terminé."
190157

191158
#: ../Doc/library/asyncio-policy.rst:116
192159
msgid ""
193160
"In asyncio, child processes are created with :func:`create_subprocess_exec` "
194161
"and :meth:`loop.subprocess_exec` functions."
195162
msgstr ""
196-
"Dans *asyncio*, les processus enfants sont créés avec les fonctions :func:"
197-
"`create_subprocess_exec` et :meth:`loop.subprocess_exec`."
198163

199164
#: ../Doc/library/asyncio-policy.rst:120
200165
msgid ""
@@ -203,162 +168,122 @@ msgid ""
203168
"class:`SafeChildWatcher` (configured to be used by default) and :class:"
204169
"`FastChildWatcher`."
205170
msgstr ""
206-
"*asyncio* définit la classe de base abstraite :class:`AbstractChildWatcher`, "
207-
"que les observateurs enfants doivent implémenter et possède deux "
208-
"implémentations différentes : :class:`SafeChildWatcher` (configurée pour être "
209-
"utilisé par défaut) et :class:`FastChildWatcher`."
210171

211172
#: ../Doc/library/asyncio-policy.rst:125
212173
msgid ""
213174
"See also the :ref:`Subprocess and Threads <asyncio-subprocess-threads>` "
214175
"section."
215176
msgstr ""
216-
"Voir aussi la section :ref:`sous-processus et fils d'exécution <threads asyncio-sous-"
217-
"processus>`."
218177

219178
#: ../Doc/library/asyncio-policy.rst:128
220179
msgid ""
221180
"The following two functions can be used to customize the child process "
222181
"watcher implementation used by the asyncio event loop:"
223182
msgstr ""
224-
"Les deux fonctions suivantes peuvent être utilisées pour personnaliser "
225-
"l'implémentation de l'observateur de processus enfant utilisé par la boucle "
226-
"d'événements *asyncio* :"
227183

228184
#: ../Doc/library/asyncio-policy.rst:133
229185
msgid "Return the current child watcher for the current policy."
230-
msgstr "Renvoie l'observateur enfant actuel pour la stratégie actuelle."
186+
msgstr ""
231187

232188
#: ../Doc/library/asyncio-policy.rst:137
233189
msgid ""
234190
"Set the current child watcher to *watcher* for the current policy. "
235191
"*watcher* must implement methods defined in the :class:"
236192
"`AbstractChildWatcher` base class."
237193
msgstr ""
238-
"Définit l'observateur enfant actuel à *watcher* pour la stratégie "
239-
"actuelle. *watcher* doit implémenter les méthodes définies dans la classe de "
240-
"base :class:`AbstractChildWatcher`."
241194

242195
#: ../Doc/library/asyncio-policy.rst:142
243196
msgid ""
244197
"Third-party event loops implementations might not support custom child "
245198
"watchers. For such event loops, using :func:`set_child_watcher` might be "
246199
"prohibited or have no effect."
247200
msgstr ""
248-
"Les implémentations de boucles d'événement tierces peuvent ne pas prendre en "
249-
"charge les observateurs enfants personnalisés. Pour ces boucles "
250-
"d'événements, utiliser: func:`set_child_watcher` pourrait être "
251-
"interdit ou n'avoir aucun effet."
252201

253202
#: ../Doc/library/asyncio-policy.rst:150
254203
msgid "Register a new child handler."
255-
msgstr "Enregistre un nouveau gestionnaire."
204+
msgstr ""
256205

257206
#: ../Doc/library/asyncio-policy.rst:152
258207
msgid ""
259208
"Arrange for ``callback(pid, returncode, *args)`` to be called when a process "
260209
"with PID equal to *pid* terminates. Specifying another callback for the "
261210
"same process replaces the previous handler."
262211
msgstr ""
263-
"Organise l'appel de ``callback(pid, returncode, * args)`` lorsqu'un "
264-
"processus dont le PID est égal à *pid* se termine. La spécification d'un "
265-
"autre rappel pour le même processus remplace le gestionnaire précédent."
266212

267213
#: ../Doc/library/asyncio-policy.rst:157
268214
msgid "The *callback* callable must be thread-safe."
269-
msgstr "L'appelable *callback* doit être compatible avec les programmes à fils d'exécution multiples."
215+
msgstr ""
270216

271217
#: ../Doc/library/asyncio-policy.rst:161
272218
msgid "Removes the handler for process with PID equal to *pid*."
273-
msgstr "Supprime le gestionnaire de processus avec un PID égal à *pid*."
219+
msgstr ""
274220

275221
#: ../Doc/library/asyncio-policy.rst:163
276222
msgid ""
277223
"The function returns ``True`` if the handler was successfully removed, "
278224
"``False`` if there was nothing to remove."
279225
msgstr ""
280-
"La fonction renvoie ``True`` si le gestionnaire a été supprimé avec succès, "
281-
"``False`` s'il n'y a rien à supprimer."
282226

283227
#: ../Doc/library/asyncio-policy.rst:168
284228
msgid "Attach the watcher to an event loop."
285-
msgstr "Attache l'observateur à une boucle d'événement."
229+
msgstr ""
286230

287231
#: ../Doc/library/asyncio-policy.rst:170
288232
msgid ""
289233
"If the watcher was previously attached to an event loop, then it is first "
290234
"detached before attaching to the new loop."
291235
msgstr ""
292-
"Si l'observateur était précédemment attaché à une boucle d'événements, il "
293-
"est d'abord détaché avant d'être rattaché à la nouvelle boucle."
294236

295237
#: ../Doc/library/asyncio-policy.rst:173
296238
msgid "Note: loop may be ``None``."
297-
msgstr "Remarque : la boucle peut être ``None``."
239+
msgstr ""
298240

299241
#: ../Doc/library/asyncio-policy.rst:177
300242
msgid "Close the watcher."
301-
msgstr "Ferme l'observateur."
243+
msgstr ""
302244

303245
#: ../Doc/library/asyncio-policy.rst:179
304246
msgid ""
305247
"This method has to be called to ensure that underlying resources are cleaned-"
306248
"up."
307249
msgstr ""
308-
"Cette méthode doit être appelée pour s'assurer que les ressources sous-"
309-
"jacentes sont nettoyées."
310250

311251
#: ../Doc/library/asyncio-policy.rst:184
312252
msgid ""
313253
"This implementation avoids disrupting other code spawning processes by "
314254
"polling every process explicitly on a :py:data:`SIGCHLD` signal."
315255
msgstr ""
316-
"Cette implémentation évite de perturber un autre code qui aurait besoin de générer des processus "
317-
"en interrogeant chaque processus explicitement par un signal :py:data:"
318-
"`SIGCHLD`."
319256

320257
#: ../Doc/library/asyncio-policy.rst:187
321258
msgid ""
322259
"This is a safe solution but it has a significant overhead when handling a "
323260
"big number of processes (*O(n)* each time a :py:data:`SIGCHLD` is received)."
324261
msgstr ""
325-
"C'est une solution sûre, mais elle nécessite un temps système important lors "
326-
"de la manipulation d'un grand nombre de processus (*O(n)* à chaque fois que "
327-
"un :py:data:`SIGCHLD` est reçu)."
328262

329263
#: ../Doc/library/asyncio-policy.rst:191
330264
msgid "asyncio uses this safe implementation by default."
331-
msgstr "*asyncio* utilise cette implémentation sécurisée par défaut."
265+
msgstr ""
332266

333267
#: ../Doc/library/asyncio-policy.rst:195
334268
msgid ""
335269
"This implementation reaps every terminated processes by calling ``os."
336270
"waitpid(-1)`` directly, possibly breaking other code spawning processes and "
337271
"waiting for their termination."
338272
msgstr ""
339-
"Cette implémentation récupère tous les processus terminés en appelant "
340-
"directement ``os.waitpid(-1)``, cassant éventuellement un autre "
341-
"code qui génère des processus et attend leur fin."
342273

343274
#: ../Doc/library/asyncio-policy.rst:199
344275
msgid ""
345276
"There is no noticeable overhead when handling a big number of children "
346277
"(*O(1)* each time a child terminates)."
347278
msgstr ""
348-
"Il n'y a pas de surcharge visible lors de la manipulation d'un grand nombre "
349-
"d'enfants (*O(1)* à chaque fois qu'un enfant se termine)."
350279

351280
#: ../Doc/library/asyncio-policy.rst:204
352281
msgid "Custom Policies"
353-
msgstr "Stratégies personnalisées"
282+
msgstr ""
354283

355284
#: ../Doc/library/asyncio-policy.rst:206
356285
msgid ""
357286
"To implement a new event loop policy, it is recommended to subclass :class:"
358287
"`DefaultEventLoopPolicy` and override the methods for which custom behavior "
359288
"is wanted, e.g.::"
360289
msgstr ""
361-
"Pour implémenter une nouvelle politique de boucle d’événements, il est "
362-
"recommandé de sous-classer :class:`DefaultEventLoopPolicy` et de "
363-
"réimplémenter les méthodes pour lesquelles un comportement personnalisé est "
364-
"souhaité, par exemple : ::"

0 commit comments

Comments
 (0)