-
-
Notifications
You must be signed in to change notification settings - Fork 38
Expand file tree
/
Copy pathselect.po
More file actions
1143 lines (931 loc) · 39.6 KB
/
Copy pathselect.po
File metadata and controls
1143 lines (931 loc) · 39.6 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
# SOME DESCRIPTIVE TITLE.
# Copyright (C) 2001 Python Software Foundation
# This file is distributed under the same license as the Python package.
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
#
# Translators:
# python-doc bot, 2025
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-09-11 17:24+0000\n"
"PO-Revision-Date: 2025-09-16 00:01+0000\n"
"Last-Translator: python-doc bot, 2025\n"
"Language-Team: Japanese (https://app.transifex.com/python-doc/teams/5390/"
"ja/)\n"
"MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n"
"Language: ja\n"
"Plural-Forms: nplurals=1; plural=0;\n"
#: ../../library/select.rst:2
msgid ":mod:`!select` --- Waiting for I/O completion"
msgstr ":mod:`!select` --- I/O 完了の待機"
#: ../../library/select.rst:9
msgid ""
"This module provides access to the :c:func:`!select` and :c:func:`!poll` "
"functions available in most operating systems, :c:func:`!devpoll` available "
"on Solaris and derivatives, :c:func:`!epoll` available on Linux 2.5+ and :c:"
"func:`!kqueue` available on most BSD. Note that on Windows, it only works "
"for sockets; on other operating systems, it also works for other file types "
"(in particular, on Unix, it works on pipes). It cannot be used on regular "
"files to determine whether a file has grown since it was last read."
msgstr ""
"このモジュールでは、ほとんどのオペレーティングシステムで利用可能な :c:func:`!"
"select` および :c:func:`!poll` 関数、Solaris やその派生で利用可能な :c:func:"
"`!devpoll` 、Linux 2.5+ で利用可能な :c:func:`!epoll` 、多くのBSDで利用可能"
"な :c:func:`!kqueue` 関数に対するアクセスを提供しています。 Windows 上ではソ"
"ケットに対してしか動作しないので注意してください; その他のオペレーティングシ"
"ステムでは、他のファイル形式でも (特に Unixではパイプにも) 動作します。通常の"
"ファイルに対して適用し、最後にファイルを読み出した時から内容が増えているかを"
"決定するために使うことはできません。"
#: ../../library/select.rst:20
msgid ""
"The :mod:`selectors` module allows high-level and efficient I/O "
"multiplexing, built upon the :mod:`!select` module primitives. Users are "
"encouraged to use the :mod:`selectors` module instead, unless they want "
"precise control over the OS-level primitives used."
msgstr ""
#: ../../library/select.rst:57 ../../library/select.rst:99
#: ../../library/select.rst:109 ../../library/select.rst:122
#: ../../library/select.rst:130 ../../library/select.rst:196
#: ../../includes/wasm-notavail.rst:3
msgid "Availability"
msgstr ""
#: ../../includes/wasm-notavail.rst:5
msgid ""
"This module does not work or is not available on WebAssembly. See :ref:`wasm-"
"availability` for more information."
msgstr ""
"このモジュールは WebAssembly では動作しないか、利用不可です。詳しくは、:ref:"
"`wasm-availability` を見てください。"
#: ../../library/select.rst:27
msgid "The module defines the following:"
msgstr "このモジュールは以下を定義します:"
#: ../../library/select.rst:32
msgid "A deprecated alias of :exc:`OSError`."
msgstr ":exc:`OSError` の非推奨のエイリアスです。"
#: ../../library/select.rst:34
msgid "Following :pep:`3151`, this class was made an alias of :exc:`OSError`."
msgstr ""
":pep:`3151` に基づき、このクラスは :exc:`OSError` のエイリアスになりました。"
#: ../../library/select.rst:40
msgid ""
"Returns a ``/dev/poll`` polling object; see section :ref:`devpoll-objects` "
"below for the methods supported by devpoll objects."
msgstr ""
#: ../../library/select.rst:44
msgid ""
":c:func:`!devpoll` objects are linked to the number of file descriptors "
"allowed at the time of instantiation. If your program reduces this value, :c:"
"func:`!devpoll` will fail. If your program increases this value, :c:func:`!"
"devpoll` may return an incomplete list of active file descriptors."
msgstr ""
":c:func:`!devpoll` オブジェクトはインスタンス化時に許されるファイル記述子の数"
"にリンクされます。プログラムがこの値を減らす場合 :c:func:`!devpoll` は失敗し"
"ます。プログラムがこの値を増やす場合 :c:func:`!devpoll` は有効なファイル記述"
"子の不完全なリストを返すことがあります。"
#: ../../library/select.rst:50 ../../library/select.rst:81
#: ../../library/select.rst:117
msgid "The new file descriptor is :ref:`non-inheritable <fd_inheritance>`."
msgstr "新しいファイル記述子は :ref:`継承不可 <fd_inheritance>` です。"
#: ../../library/select.rst:54 ../../library/select.rst:119
msgid "The new file descriptor is now non-inheritable."
msgstr "新しいファイル記述子が継承不可になりました。"
#: ../../library/select.rst:61
msgid ""
"Return an edge polling object, which can be used as Edge or Level Triggered "
"interface for I/O events."
msgstr ""
#: ../../library/select.rst:65
msgid ""
"*sizehint* informs epoll about the expected number of events to be "
"registered. It must be positive, or ``-1`` to use the default. It is only "
"used on older systems where :manpage:`epoll_create1(2)` is not available; "
"otherwise it has no effect (though its value is still checked)."
msgstr ""
#: ../../library/select.rst:70
msgid ""
"*flags* is deprecated and completely ignored. However, when supplied, its "
"value must be ``0`` or ``select.EPOLL_CLOEXEC``, otherwise ``OSError`` is "
"raised."
msgstr ""
#: ../../library/select.rst:74
msgid ""
"See the :ref:`epoll-objects` section below for the methods supported by "
"epolling objects."
msgstr ""
"エッジポーリングオブジェクトが提供しているメソッドについては :ref:`epoll-"
"objects` 節を参照してください。"
#: ../../library/select.rst:77
msgid ""
"``epoll`` objects support the context management protocol: when used in a :"
"keyword:`with` statement, the new file descriptor is automatically closed at "
"the end of the block."
msgstr ""
"``epoll`` オブジェクトはコンテキストマネジメントプロトコルをサポートしていま"
"す。\n"
":keyword:`with` 文内で使用された場合、新たなファイル記述子はブロックの最後で"
"自動的に閉じられます。"
#: ../../library/select.rst:83
msgid "Added the *flags* parameter."
msgstr "*flags* 引数が追加されました。"
#: ../../library/select.rst:86
msgid ""
"Support for the :keyword:`with` statement was added. The new file descriptor "
"is now non-inheritable."
msgstr ""
":keyword:`with` 文のサポートが追加されました。新しいファイル記述子が継承不可"
"になりました。"
#: ../../library/select.rst:90
msgid ""
"The *flags* parameter. ``select.EPOLL_CLOEXEC`` is used by default now. "
"Use :func:`os.set_inheritable` to make the file descriptor inheritable."
msgstr ""
"*flags* パラメータ。\n"
"現在ではデフォルトで ``select.EPOLL_CLOEXEC`` が使われます。\n"
"ファイルディスクリプタを継承可能にするには :func:`os.set_inheritable` を使っ"
"てください。"
#: ../../library/select.rst:96
msgid ""
"When CPython is built, this function may be disabled using :option:`--"
"disable-epoll`."
msgstr ""
#: ../../library/select.rst:104
msgid ""
"Returns a polling object, which supports registering and unregistering file "
"descriptors, and then polling them for I/O events; see section :ref:`poll-"
"objects` below for the methods supported by polling objects."
msgstr ""
#: ../../library/select.rst:114
msgid ""
"Returns a kernel queue object; see section :ref:`kqueue-objects` below for "
"the methods supported by kqueue objects."
msgstr ""
#: ../../library/select.rst:127
msgid ""
"Returns a kernel event object; see section :ref:`kevent-objects` below for "
"the methods supported by kevent objects."
msgstr ""
#: ../../library/select.rst:135
msgid ""
"This is a straightforward interface to the Unix :c:func:`!select` system "
"call. The first three arguments are iterables of 'waitable objects': either "
"integers representing file descriptors or objects with a parameterless "
"method named :meth:`~io.IOBase.fileno` returning such an integer:"
msgstr ""
#: ../../library/select.rst:140
msgid "*rlist*: wait until ready for reading"
msgstr "*rlist*: 読み込み可能になるまで待機"
#: ../../library/select.rst:141
msgid "*wlist*: wait until ready for writing"
msgstr "*wlist*: 書き込み可能になるまで待機"
#: ../../library/select.rst:142
msgid ""
"*xlist*: wait for an \"exceptional condition\" (see the manual page for what "
"your system considers such a condition)"
msgstr ""
"*xlist*: \"例外状態 (exceptional condition)\" になるまで待機 (\"例外状態\" に"
"ついては、システムのマニュアルページを参照してください)"
#: ../../library/select.rst:145
msgid ""
"Empty iterables are allowed, but acceptance of three empty iterables is "
"platform-dependent. (It is known to work on Unix but not on Windows.) The "
"optional *timeout* argument specifies a time-out in seconds; it may be a non-"
"integer to specify fractions of seconds. When the *timeout* argument is "
"omitted or ``None``, the function blocks until at least one file descriptor "
"is ready. A time-out value of zero specifies a poll and never blocks."
msgstr ""
#: ../../library/select.rst:153
msgid ""
"The return value is a triple of lists of objects that are ready: subsets of "
"the first three arguments. When the time-out is reached without a file "
"descriptor becoming ready, three empty lists are returned."
msgstr ""
"戻り値は準備完了状態のオブジェクトからなる 3 つのリストです: したがってこのリ"
"ストはそれぞれ関数の最初の 3 つの引数のサブセットになります。ファイル記述子の"
"いずれも準備完了にならないままタイムアウトした場合、3 つの空のリストが返され"
"ます。"
#: ../../library/select.rst:161
msgid ""
"Among the acceptable object types in the iterables are Python :term:`file "
"objects <file object>` (e.g. ``sys.stdin``, or objects returned by :func:"
"`open` or :func:`os.popen`), socket objects returned by :func:`socket."
"socket`. You may also define a :dfn:`wrapper` class yourself, as long as it "
"has an appropriate :meth:`~io.IOBase.fileno` method (that really returns a "
"file descriptor, not just a random integer)."
msgstr ""
"イテラブルの中に含めることのできるオブジェクトは Python :term:`ファイルオブ"
"ジェクト <file object>` (例えば ``sys.stdin`` や、 :func:`open` または :func:"
"`os.popen` が返すオブジェクト)、 :func:`socket.socket` が返すソケットオブジェ"
"クトです。 :dfn:`ラッパー <wrapper>` クラスを自分で定義することもできます。こ"
"の場合、適切な (まったくデタラメな数ではなく本物のファイル記述子を返す) :"
"meth:`~io.IOBase.fileno` メソッドを持つ必要があります。"
#: ../../library/select.rst:172
msgid ""
"File objects on Windows are not acceptable, but sockets are. On Windows, "
"the underlying :c:func:`!select` function is provided by the WinSock "
"library, and does not handle file descriptors that don't originate from "
"WinSock."
msgstr ""
#: ../../library/select.rst:177 ../../library/select.rst:286
#: ../../library/select.rst:397 ../../library/select.rst:488
#: ../../library/select.rst:534
msgid ""
"The function is now retried with a recomputed timeout when interrupted by a "
"signal, except if the signal handler raises an exception (see :pep:`475` for "
"the rationale), instead of raising :exc:`InterruptedError`."
msgstr ""
"この関数は、シグナルによって中断された時に、 :exc:`InterruptedError` を上げる"
"代わりに再計算されたタイムアウトによってリトライするようになりました。ただ"
"し、シグナルハンドラが例外を起こした場合を除きます (この論理的根拠について"
"は :pep:`475` を見てください)。"
#: ../../library/select.rst:183 ../../library/select.rst:292
#: ../../library/select.rst:403 ../../library/select.rst:540
msgid "Accepts any real number as *timeout*, not only integer or float."
msgstr ""
#: ../../library/select.rst:189
msgid ""
"The minimum number of bytes which can be written without blocking to a pipe "
"when the pipe has been reported as ready for writing by :func:`~select."
"select`, :func:`!poll` or another interface in this module. This doesn't "
"apply to other kinds of file-like objects such as sockets."
msgstr ""
#: ../../library/select.rst:194
msgid "This value is guaranteed by POSIX to be at least 512."
msgstr "この値は POSIX により少なくとも512であることが保証されています。"
#: ../../library/select.rst:204
msgid "``/dev/poll`` polling objects"
msgstr ""
#: ../../library/select.rst:206
msgid ""
"Solaris and derivatives have ``/dev/poll``. While :c:func:`!select` is *O*\\ "
"(*highest file descriptor*) and :c:func:`!poll` is *O*\\ (*number of file "
"descriptors*), ``/dev/poll`` is *O*\\ (*active file descriptors*)."
msgstr ""
#: ../../library/select.rst:210
msgid ""
"``/dev/poll`` behaviour is very close to the standard :c:func:`!poll` object."
msgstr ""
#: ../../library/select.rst:216
msgid "Close the file descriptor of the polling object."
msgstr "ポーリングオブジェクトのファイル記述子を閉じます。"
#: ../../library/select.rst:223
msgid "``True`` if the polling object is closed."
msgstr "ポーリングオブジェクトが閉じている場合 ``True`` です。"
#: ../../library/select.rst:230
msgid "Return the file descriptor number of the polling object."
msgstr "ポーリングオブジェクトのファイル記述子番号を返します。"
#: ../../library/select.rst:237 ../../library/select.rst:423
msgid ""
"Register a file descriptor with the polling object. Future calls to the :"
"meth:`poll` method will then check whether the file descriptor has any "
"pending I/O events. *fd* can be either an integer, or an object with a :"
"meth:`~io.IOBase.fileno` method that returns an integer. File objects "
"implement :meth:`!fileno`, so they can also be used as the argument."
msgstr ""
"ファイル記述子をポーリングオブジェクトに登録します。これ以降の :meth:`poll` "
"メソッド呼び出しでは、そのファイル記述子に処理待ち中の I/O イベントがあるかど"
"うかを監視します。 *fd* は整数か、整数値を返す :meth:`~io.IOBase.fileno` メ"
"ソッドを持つオブジェクトを取ります。ファイルオブジェクトも :meth:`!fileno` を"
"実装しているので、引数として使うことができます。"
#: ../../library/select.rst:243
msgid ""
"*eventmask* is an optional bitmask describing the type of events you want to "
"check for. The constants are the same as with :c:func:`!poll` object. The "
"default value is a combination of the constants :const:`POLLIN`, :const:"
"`POLLPRI`, and :const:`POLLOUT`."
msgstr ""
#: ../../library/select.rst:250
msgid ""
"Registering a file descriptor that's already registered is not an error, but "
"the result is undefined. The appropriate action is to unregister or modify "
"it first. This is an important difference compared with :c:func:`!poll`."
msgstr ""
#: ../../library/select.rst:258
msgid ""
"This method does an :meth:`unregister` followed by a :meth:`register`. It is "
"(a bit) more efficient than doing the same explicitly."
msgstr ""
#: ../../library/select.rst:265 ../../library/select.rst:467
msgid ""
"Remove a file descriptor being tracked by a polling object. Just like the :"
"meth:`register` method, *fd* can be an integer or an object with a :meth:"
"`~io.IOBase.fileno` method that returns an integer."
msgstr ""
"ポーリングオブジェクトによって追跡中のファイル記述子を登録解除します。 :meth:"
"`register` メソッドと同様に、 *fd* は整数か、整数値を返す :meth:`~io.IOBase."
"fileno` メソッドを持つオブジェクトを取ります。"
#: ../../library/select.rst:269
msgid ""
"Attempting to remove a file descriptor that was never registered is safely "
"ignored."
msgstr "登録されていないファイル記述子の削除を試みるのは安全に無視されます。"
#: ../../library/select.rst:275
msgid ""
"Polls the set of registered file descriptors, and returns a possibly empty "
"list containing ``(fd, event)`` 2-tuples for the descriptors that have "
"events or errors to report. *fd* is the file descriptor, and *event* is a "
"bitmask with bits set for the reported events for that descriptor --- :const:"
"`POLLIN` for waiting input, :const:`POLLOUT` to indicate that the descriptor "
"can be written to, and so forth. An empty list indicates that the call timed "
"out and no file descriptors had any events to report. If *timeout* is given, "
"it specifies the length of time in milliseconds which the system will wait "
"for events before returning. If *timeout* is omitted, -1, or :const:`None`, "
"the call will block until there is an event for this poll object."
msgstr ""
"登録されたファイル記述子に対してポーリングを行い、報告すべき I/O イベントまた"
"はエラーの発生したファイル記述子毎に 2 要素のタプル ``(fd, event)`` からなる"
"リストを返します。リストは空になることもあります。 *fd* はファイル記述子で、 "
"*event* は該当するファイル記述子について報告されたイベントを表すビットマスク"
"です --- 例えば :const:`POLLIN` は入力待ちを示し、 :const:`POLLOUT` はファイ"
"ル記述子に対する書き込みが可能を示す、などです。空のリストは呼び出しがタイム"
"アウトしたか、報告すべきイベントがどのファイル記述子でも発生しなかったことを"
"示します。 *timeout* が与えられた場合、処理を戻すまで待機する時間の長さをミリ"
"秒単位で指定します。 *timeout* が省略されたり、 -1 であったり、あるいは :"
"const:`None` の場合、そのポーリングオブジェクトが監視している何らかのイベント"
"が発生するまでブロックします。"
#: ../../library/select.rst:299
msgid "Edge and level trigger polling (epoll) objects"
msgstr ""
#: ../../library/select.rst:301
msgid "https://linux.die.net/man/4/epoll"
msgstr "https://linux.die.net/man/4/epoll"
#: ../../library/select.rst:303
msgid "The *eventmask* is a bit mask using the following constants:"
msgstr ""
#: ../../library/select.rst:306 ../../library/select.rst:435
#: ../../library/select.rst:563 ../../library/select.rst:592
#: ../../library/select.rst:623 ../../library/select.rst:631
#: ../../library/select.rst:651 ../../library/select.rst:674
msgid "Constant"
msgstr "定数"
#: ../../library/select.rst:306 ../../library/select.rst:435
#: ../../library/select.rst:563 ../../library/select.rst:592
#: ../../library/select.rst:623 ../../library/select.rst:631
#: ../../library/select.rst:651 ../../library/select.rst:674
msgid "Meaning"
msgstr "意味"
#: ../../library/select.rst:308
msgid ":const:`EPOLLIN`"
msgstr ":const:`EPOLLIN`"
#: ../../library/select.rst:308
msgid "Available for read."
msgstr ""
#: ../../library/select.rst:310
msgid ":const:`EPOLLOUT`"
msgstr ":const:`EPOLLOUT`"
#: ../../library/select.rst:310
msgid "Available for write."
msgstr ""
#: ../../library/select.rst:312
msgid ":const:`EPOLLPRI`"
msgstr ":const:`EPOLLPRI`"
#: ../../library/select.rst:312
msgid "Urgent data for read."
msgstr ""
#: ../../library/select.rst:314
msgid ":const:`EPOLLERR`"
msgstr ":const:`EPOLLERR`"
#: ../../library/select.rst:314
msgid "Error condition happened on the associated fd."
msgstr ""
#: ../../library/select.rst:316
msgid ":const:`EPOLLHUP`"
msgstr ":const:`EPOLLHUP`"
#: ../../library/select.rst:316
msgid "Hang up happened on the associated fd."
msgstr ""
#: ../../library/select.rst:318
msgid ":const:`EPOLLET`"
msgstr ":const:`EPOLLET`"
#: ../../library/select.rst:318
msgid "Set Edge Trigger behavior, the default is Level Trigger behavior."
msgstr ""
#: ../../library/select.rst:321
msgid ":const:`EPOLLONESHOT`"
msgstr ":const:`EPOLLONESHOT`"
#: ../../library/select.rst:321
msgid ""
"Set one-shot behavior. After one event is pulled out, the fd is internally "
"disabled."
msgstr ""
#: ../../library/select.rst:324
msgid ":const:`EPOLLEXCLUSIVE`"
msgstr ":const:`EPOLLEXCLUSIVE`"
#: ../../library/select.rst:324
msgid ""
"Wake only one epoll object when the associated fd has an event. The default "
"(if this flag is not set) is to wake all epoll objects polling on an fd."
msgstr ""
#: ../../library/select.rst:329
msgid ":const:`EPOLLRDHUP`"
msgstr ":const:`EPOLLRDHUP`"
#: ../../library/select.rst:329
msgid ""
"Stream socket peer closed connection or shut down writing half of connection."
msgstr ""
"ストリームソケットの他端が接続を切断したか、接続の書き込み側のシャットダウン"
"を行った。"
#: ../../library/select.rst:332
msgid ":const:`EPOLLRDNORM`"
msgstr ":const:`EPOLLRDNORM`"
#: ../../library/select.rst:332
msgid "Equivalent to :const:`EPOLLIN`"
msgstr ":const:`EPOLLIN` と同じ"
#: ../../library/select.rst:334
msgid ":const:`EPOLLRDBAND`"
msgstr ":const:`EPOLLRDBAND`"
#: ../../library/select.rst:334
msgid "Priority data band can be read."
msgstr "優先データバンドを読み込める。"
#: ../../library/select.rst:336
msgid ":const:`EPOLLWRNORM`"
msgstr ":const:`EPOLLWRNORM`"
#: ../../library/select.rst:336
msgid "Equivalent to :const:`EPOLLOUT`."
msgstr ""
#: ../../library/select.rst:338
msgid ":const:`EPOLLWRBAND`"
msgstr ":const:`EPOLLWRBAND`"
#: ../../library/select.rst:338
msgid "Priority data may be written."
msgstr "優先データに書き込みできる。"
#: ../../library/select.rst:340
msgid ":const:`EPOLLMSG`"
msgstr ":const:`EPOLLMSG`"
#: ../../library/select.rst:340
msgid "Ignored."
msgstr "無視される。"
#: ../../library/select.rst:342
msgid ":const:`EPOLLWAKEUP`"
msgstr ""
#: ../../library/select.rst:342
msgid "Prevents sleep during event waiting."
msgstr ""
#: ../../library/select.rst:345
msgid ""
":const:`EPOLLEXCLUSIVE` was added. It's only supported by Linux Kernel 4.5 "
"or later."
msgstr ""
#: ../../library/select.rst:349
msgid ""
":const:`EPOLLWAKEUP` was added. It's only supported by Linux Kernel 3.5 or "
"later."
msgstr ""
#: ../../library/select.rst:355
msgid "Close the control file descriptor of the epoll object."
msgstr "epoll オブジェクトの制御用ファイル記述子を閉じます。"
#: ../../library/select.rst:360
msgid "``True`` if the epoll object is closed."
msgstr "epoll オブジェクトが閉じている場合 True です。"
#: ../../library/select.rst:365 ../../library/select.rst:517
msgid "Return the file descriptor number of the control fd."
msgstr "制御用ファイル記述子の番号を返します。"
#: ../../library/select.rst:370
msgid "Create an epoll object from a given file descriptor."
msgstr "*fd* から epoll オブジェクトを作成します。"
#: ../../library/select.rst:375
msgid "Register a file descriptor *fd* with the epoll object."
msgstr ""
#: ../../library/select.rst:380
msgid "Modify a registered file descriptor *fd*."
msgstr ""
#: ../../library/select.rst:385
msgid "Remove a registered file descriptor from the epoll object."
msgstr "epoll オブジェクトから登録されたファイル記述子 *fd* を削除します。"
#: ../../library/select.rst:387
msgid "The method no longer ignores the :data:`~errno.EBADF` error."
msgstr ""
#: ../../library/select.rst:393
msgid ""
"Wait for events. If *timeout* is given, it specifies the length of time in "
"seconds (may be non-integer) which the system will wait for events before "
"returning."
msgstr ""
#: ../../library/select.rst:410
msgid "Polling objects"
msgstr ""
#: ../../library/select.rst:412
msgid ""
"The :c:func:`!poll` system call, supported on most Unix systems, provides "
"better scalability for network servers that service many, many clients at "
"the same time. :c:func:`!poll` scales better because the system call only "
"requires listing the file descriptors of interest, while :c:func:`!select` "
"builds a bitmap, turns on bits for the fds of interest, and then afterward "
"the whole bitmap has to be linearly scanned again. :c:func:`!select` is "
"*O*\\ (*highest file descriptor*), while :c:func:`!poll` is *O*\\ (*number "
"of file descriptors*)."
msgstr ""
#: ../../library/select.rst:429
msgid ""
"*eventmask* is an optional bitmask describing the type of events you want to "
"check for, and can be a combination of the constants :const:`POLLIN`, :const:"
"`POLLPRI`, and :const:`POLLOUT`, described in the table below. If not "
"specified, the default value used will check for all 3 types of events."
msgstr ""
"*eventmask* はオプションのビットマスクで、どの種類の I/O イベントを監視したい"
"かを記述します。この値は以下の表で述べる定数 :const:`POLLIN` 、 :const:"
"`POLLPRI` 、および :const:`POLLOUT` の組み合わせにすることができます。ビット"
"マスクを指定しない場合、標準の値が使われ、 3 種類のイベント全てに対して監視が"
"行われます。"
#: ../../library/select.rst:437
msgid ":const:`POLLIN`"
msgstr ":const:`POLLIN`"
#: ../../library/select.rst:437
msgid "There is data to read."
msgstr ""
#: ../../library/select.rst:439
msgid ":const:`POLLPRI`"
msgstr ":const:`POLLPRI`"
#: ../../library/select.rst:439
msgid "There is urgent data to read."
msgstr ""
#: ../../library/select.rst:441
msgid ":const:`POLLOUT`"
msgstr ":const:`POLLOUT`"
#: ../../library/select.rst:441
msgid "Ready for output: writing will not block."
msgstr ""
#: ../../library/select.rst:443
msgid ":const:`POLLERR`"
msgstr ":const:`POLLERR`"
#: ../../library/select.rst:443
msgid "Error condition of some sort."
msgstr ""
#: ../../library/select.rst:445
msgid ":const:`POLLHUP`"
msgstr ":const:`POLLHUP`"
#: ../../library/select.rst:445
msgid "Hung up."
msgstr ""
#: ../../library/select.rst:447
msgid ":const:`POLLRDHUP`"
msgstr ":const:`POLLRDHUP`"
#: ../../library/select.rst:447
msgid ""
"Stream socket peer closed connection, or shut down writing half of "
"connection."
msgstr ""
#: ../../library/select.rst:450
msgid ":const:`POLLNVAL`"
msgstr ":const:`POLLNVAL`"
#: ../../library/select.rst:450
msgid "Invalid request: descriptor not open."
msgstr ""
#: ../../library/select.rst:453
msgid ""
"Registering a file descriptor that's already registered is not an error, and "
"has the same effect as registering the descriptor exactly once."
msgstr ""
"登録済みのファイル記述子を登録してもエラーにはならず、一度だけ登録した場合と"
"同じ効果になります。"
#: ../../library/select.rst:459
msgid ""
"Modifies an already registered fd. This has the same effect as "
"``register(fd, eventmask)``. Attempting to modify a file descriptor that "
"was never registered causes an :exc:`OSError` exception with errno :const:"
"`ENOENT` to be raised."
msgstr ""
"登録されているファイル記述子 *fd* を変更する。これは、 ``register(fd, "
"eventmask)`` と同じ効果を持ちます。登録されていないファイル記述子に対してこの"
"メソッドを呼び出すと、 errno :const:`ENOENT` で :exc:`OSError` 例外が発生しま"
"す。"
#: ../../library/select.rst:471
msgid ""
"Attempting to remove a file descriptor that was never registered causes a :"
"exc:`KeyError` exception to be raised."
msgstr ""
"登録されていないファイル記述子を登録解除しようとすると :exc:`KeyError` 例外が"
"送出されます。"
#: ../../library/select.rst:477
msgid ""
"Polls the set of registered file descriptors, and returns a possibly empty "
"list containing ``(fd, event)`` 2-tuples for the descriptors that have "
"events or errors to report. *fd* is the file descriptor, and *event* is a "
"bitmask with bits set for the reported events for that descriptor --- :const:"
"`POLLIN` for waiting input, :const:`POLLOUT` to indicate that the descriptor "
"can be written to, and so forth. An empty list indicates that the call timed "
"out and no file descriptors had any events to report. If *timeout* is given, "
"it specifies the length of time in milliseconds which the system will wait "
"for events before returning. If *timeout* is omitted, negative, or :const:"
"`None`, the call will block until there is an event for this poll object."
msgstr ""
"登録されたファイル記述子に対してポーリングを行い、報告すべき I/O イベントまた"
"はエラーの発生したファイル記述子毎に 2 要素のタプル ``(fd, event)`` からなる"
"リストを返します。リストは空になることもあります。 *fd* はファイル記述子で、 "
"*event* は該当するファイル記述子について報告されたイベントを表すビットマスク"
"です --- 例えば :const:`POLLIN` は入力待ちを示し、 :const:`POLLOUT` はファイ"
"ル記述子に対する書き込みが可能を示す、などです。空のリストは呼び出しがタイム"
"アウトしたか、報告すべきイベントがどのファイル記述子でも発生しなかったことを"
"示します。 *timeout* が与えられた場合、処理を戻すまで待機する時間の長さをミリ"
"秒単位で指定します。 *timeout* が省略されたり、負の値であったり、あるいは :"
"const:`None` の場合、そのポーリングオブジェクトが監視している何らかのイベント"
"が発生するまでブロックします。"
#: ../../library/select.rst:494
msgid ""
"Accepts any real number as *timeout*, not only integer or float. If "
"``ppoll()`` function is available, *timeout* has a resolution of ``1`` ns "
"(``1e-6`` ms) instead of ``1`` ms."
msgstr ""
#: ../../library/select.rst:503
msgid "Kqueue objects"
msgstr ""
#: ../../library/select.rst:507
msgid "Close the control file descriptor of the kqueue object."
msgstr "kqueue オブジェクトの制御用ファイル記述子を閉じる。"
#: ../../library/select.rst:512
msgid "``True`` if the kqueue object is closed."
msgstr "kqueue オブジェクトが閉じている場合 ``True`` です。"
#: ../../library/select.rst:522
msgid "Create a kqueue object from a given file descriptor."
msgstr "与えられたファイル記述子から、kqueue オブジェクトを作成する。"
#: ../../library/select.rst:527
msgid "Low level interface to kevent"
msgstr "kevent に対する低水準のインターフェース"
#: ../../library/select.rst:529
msgid "changelist must be an iterable of kevent objects or ``None``"
msgstr "*changelist* は kevent オブジェクトのイテラブルまたは ``None``"
#: ../../library/select.rst:530
msgid "max_events must be 0 or a positive integer"
msgstr "*max_events* は 0 または正の整数"
#: ../../library/select.rst:531
msgid ""
"timeout in seconds (non-integers are possible); the default is ``None``, to "
"wait forever"
msgstr ""
#: ../../library/select.rst:547
msgid "Kevent objects"
msgstr ""
#: ../../library/select.rst:549
msgid "https://man.freebsd.org/cgi/man.cgi?query=kqueue&sektion=2"
msgstr ""
#: ../../library/select.rst:553
msgid ""
"Value used to identify the event. The interpretation depends on the filter "
"but it's usually the file descriptor. In the constructor ident can either be "
"an int or an object with a :meth:`~io.IOBase.fileno` method. kevent stores "
"the integer internally."
msgstr ""
"イベントを特定するための値。この値は、フィルタにもよりますが、大抵の場合は"
"ファイル記述子です。コンストラクタでは、 ident として、整数値か :meth:`~io."
"IOBase.fileno` メソッドを持ったオブジェクトを渡せます。 kevent は内部で整数値"
"を保存します。"
#: ../../library/select.rst:560
msgid "Name of the kernel filter."
msgstr "カーネルフィルタの名前。"
#: ../../library/select.rst:565
msgid ":const:`KQ_FILTER_READ`"
msgstr ":const:`KQ_FILTER_READ`"
#: ../../library/select.rst:565
msgid ""
"Takes a descriptor and returns whenever there is data available to read."
msgstr ""
#: ../../library/select.rst:568
msgid ":const:`KQ_FILTER_WRITE`"
msgstr ":const:`KQ_FILTER_WRITE`"
#: ../../library/select.rst:568
msgid ""
"Takes a descriptor and returns whenever there is data available to write."
msgstr ""
#: ../../library/select.rst:571
msgid ":const:`KQ_FILTER_AIO`"
msgstr ":const:`KQ_FILTER_AIO`"
#: ../../library/select.rst:571
msgid "AIO requests."
msgstr ""
#: ../../library/select.rst:573
msgid ":const:`KQ_FILTER_VNODE`"
msgstr ":const:`KQ_FILTER_VNODE`"
#: ../../library/select.rst:573
msgid ""
"Returns when one or more of the requested events watched in *fflag* occurs."
msgstr ""
#: ../../library/select.rst:576
msgid ":const:`KQ_FILTER_PROC`"
msgstr ":const:`KQ_FILTER_PROC`"
#: ../../library/select.rst:576
msgid "Watch for events on a process ID."
msgstr ""
#: ../../library/select.rst:578
msgid ":const:`KQ_FILTER_NETDEV`"
msgstr ":const:`KQ_FILTER_NETDEV`"
#: ../../library/select.rst:578
msgid "Watch for events on a network device (not available on macOS)."
msgstr ""
#: ../../library/select.rst:581
msgid ":const:`KQ_FILTER_SIGNAL`"
msgstr ":const:`KQ_FILTER_SIGNAL`"
#: ../../library/select.rst:581
msgid "Returns whenever the watched signal is delivered to the process."
msgstr ""
#: ../../library/select.rst:584
msgid ":const:`KQ_FILTER_TIMER`"
msgstr ":const:`KQ_FILTER_TIMER`"
#: ../../library/select.rst:584
msgid "Establishes an arbitrary timer."
msgstr ""
#: ../../library/select.rst:589
msgid "Filter action."
msgstr "フィルタアクション。"
#: ../../library/select.rst:594
msgid ":const:`KQ_EV_ADD`"
msgstr ":const:`KQ_EV_ADD`"
#: ../../library/select.rst:594
msgid "Adds or modifies an event."
msgstr ""
#: ../../library/select.rst:596
msgid ":const:`KQ_EV_DELETE`"
msgstr ":const:`KQ_EV_DELETE`"
#: ../../library/select.rst:596
msgid "Removes an event from the queue."
msgstr ""
#: ../../library/select.rst:598
msgid ":const:`KQ_EV_ENABLE`"
msgstr ":const:`KQ_EV_ENABLE`"
#: ../../library/select.rst:598
msgid "Permits control() to return the event."
msgstr ""
#: ../../library/select.rst:600
msgid ":const:`KQ_EV_DISABLE`"
msgstr ":const:`KQ_EV_DISABLE`"
#: ../../library/select.rst:600
msgid "Disables event."
msgstr ""
#: ../../library/select.rst:602
msgid ":const:`KQ_EV_ONESHOT`"
msgstr ":const:`KQ_EV_ONESHOT`"
#: ../../library/select.rst:602
msgid "Removes event after first occurrence."
msgstr ""
#: ../../library/select.rst:604
msgid ":const:`KQ_EV_CLEAR`"
msgstr ":const:`KQ_EV_CLEAR`"
#: ../../library/select.rst:604
msgid "Reset the state after an event is retrieved."
msgstr ""
#: ../../library/select.rst:606
msgid ":const:`KQ_EV_SYSFLAGS`"
msgstr ":const:`KQ_EV_SYSFLAGS`"
#: ../../library/select.rst:606 ../../library/select.rst:608
msgid "Internal event."
msgstr ""
#: ../../library/select.rst:608
msgid ":const:`KQ_EV_FLAG1`"
msgstr ":const:`KQ_EV_FLAG1`"
#: ../../library/select.rst:610
msgid ":const:`KQ_EV_EOF`"
msgstr ":const:`KQ_EV_EOF`"
#: ../../library/select.rst:610
msgid "Filter-specific EOF condition."
msgstr ""
#: ../../library/select.rst:612
msgid ":const:`KQ_EV_ERROR`"
msgstr ":const:`KQ_EV_ERROR`"
#: ../../library/select.rst:612
msgid "See return values."
msgstr ""
#: ../../library/select.rst:618
msgid "Filter-specific flags."
msgstr ""
#: ../../library/select.rst:620
msgid ":const:`KQ_FILTER_READ` and :const:`KQ_FILTER_WRITE` filter flags:"
msgstr ":const:`KQ_FILTER_READ` と :const:`KQ_FILTER_WRITE` フィルタのフラグ:"
#: ../../library/select.rst:625
msgid ":const:`KQ_NOTE_LOWAT`"
msgstr ":const:`KQ_NOTE_LOWAT`"
#: ../../library/select.rst:625
msgid "Low water mark of a socket buffer."
msgstr ""
#: ../../library/select.rst:628
msgid ":const:`KQ_FILTER_VNODE` filter flags:"
msgstr ":const:`KQ_FILTER_VNODE` フィルタのフラグ:"
#: ../../library/select.rst:633
msgid ":const:`KQ_NOTE_DELETE`"
msgstr ":const:`KQ_NOTE_DELETE`"
#: ../../library/select.rst:633
msgid "*unlink()* was called."
msgstr ""
#: ../../library/select.rst:635
msgid ":const:`KQ_NOTE_WRITE`"
msgstr ":const:`KQ_NOTE_WRITE`"
#: ../../library/select.rst:635
msgid "A write occurred."
msgstr ""
#: ../../library/select.rst:637
msgid ":const:`KQ_NOTE_EXTEND`"
msgstr ":const:`KQ_NOTE_EXTEND`"
#: ../../library/select.rst:637
msgid "The file was extended."
msgstr ""