Repository navigation
Expand file tree
/
Copy pathlong.po
More file actions
1327 lines (1144 loc) · 55.1 KB
/
Copy pathlong.po
File metadata and controls
1327 lines (1144 loc) · 55.1 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
# Inada Naoki <songofacandy@gmail.com>, 2026
#
#, fuzzy
msgid ""
msgstr ""
"Project-Id-Version: Python 3.15\n"
"Report-Msgid-Bugs-To: \n"
"POT-Creation-Date: 2026-11-03 20:20+0000\n"
"PO-Revision-Date: 2025-09-16 00:00+0000\n"
"Last-Translator: Inada Naoki <songofacandy@gmail.com>, 2026\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"
#: ../../c-api/long.rst:6
msgid "Integer Objects"
msgstr "整数型オブジェクト (integer object)"
#: ../../c-api/long.rst:11
msgid ""
"All integers are implemented as \"long\" integer objects of arbitrary size."
msgstr "すべての整数は任意の長さをもつ \"long\" 整数として実装されます。"
#: ../../c-api/long.rst:13
msgid ""
"On error, most ``PyLong_As*`` APIs return ``(return type)-1`` which cannot "
"be distinguished from a number. Use :c:func:`PyErr_Occurred` to "
"disambiguate."
msgstr ""
"エラーが起きると、ほとんどの ``PyLong_As*`` API は ``(return type)-1`` を返し"
"ますが、これは数値と見分けが付きません。\n"
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
msgid "This subtype of :c:type:`PyObject` represents a Python integer object."
msgstr ""
"この :c:type:`PyObject` のサブタイプは Python の整数オブジェクトを表します。"
#: ../../c-api/long.rst:23
msgid ""
"This instance of :c:type:`PyTypeObject` represents the Python integer type. "
"This is the same object as :class:`int` in the Python layer."
msgstr ""
"この :c:type:`PyTypeObject` のインスタンスは Python 整数型を表現します。これ"
"は Python レイヤにおける :class:`int` と同じオブジェクトです。"
#: ../../c-api/long.rst:29
msgid ""
"Return true if its argument is a :c:type:`PyLongObject` or a subtype "
"of :c:type:`PyLongObject`. This function always succeeds."
msgstr ""
"引数が :c:type:`PyLongObject` か :c:type:`PyLongObject` のサブタイプであると"
"きに真を返します。この関数は常に成功します。"
#: ../../c-api/long.rst:35
msgid ""
"Return true if its argument is a :c:type:`PyLongObject`, but not a subtype "
"of :c:type:`PyLongObject`. This function always succeeds."
msgstr ""
"引数が :c:type:`PyLongObject` であるが :c:type:`PyLongObject` のサブタイプで"
"ないときに真を返します。この関数は常に成功します。"
#: ../../c-api/long.rst:41
msgid ""
"Return a new :c:type:`PyLongObject` object from *v*, or ``NULL`` on failure."
msgstr ""
"*v* から新たな :c:type:`PyLongObject` オブジェクトを生成して返します。失敗の"
"ときには ``NULL`` を返します。"
msgid ""
"CPython keeps an array of integer objects for all integers between ``-5`` "
"and ``1024``. When you create an int in that range you actually just get "
"back a reference to the existing object."
msgstr ""
"CPython は ``-5`` から ``1024`` までのすべての整数について、整数オブジェクト"
"の配列を保持しています。\n"
"この範囲の int を作成すると、実際には既存のオブジェクトへの参照が返されます。"
#: ../../c-api/long.rst:52
msgid ""
"Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long`, "
"or ``NULL`` on failure."
msgstr ""
"Cの :c:expr:`unsigned long` から新たな :c:type:`PyLongObject` オブジェクトを"
"生成して返します。失敗した際には ``NULL`` を返します。"
#: ../../c-api/long.rst:58
msgid ""
"Return a new :c:type:`PyLongObject` object from a C :c:type:`Py_ssize_t`, or "
"``NULL`` on failure."
msgstr ""
"C の :c:type:`Py_ssize_t` 型から新たな :c:type:`PyLongObject` オブジェクトを"
"生成して返します。 失敗のときには ``NULL`` を返します。"
#: ../../c-api/long.rst:64
msgid ""
"Return a new :c:type:`PyLongObject` object from a C :c:type:`size_t`, or "
"``NULL`` on failure."
msgstr ""
"C の :c:type:`size_t` 型から新たな :c:type:`PyLongObject` オブジェクトを生成"
"して返します。 失敗のときには ``NULL`` を返します。"
#: ../../c-api/long.rst:70
msgid ""
"Return a new :c:type:`PyLongObject` object from a C :c:expr:`long long`, or "
"``NULL`` on failure."
msgstr ""
"C の :c:expr:`long long` 型から新たな :c:type:`PyLongObject` オブジェクトを生"
"成して返します。失敗のときには ``NULL`` を返します。"
#: ../../c-api/long.rst:76
msgid ""
"Return a new :c:type:`PyLongObject` object from a C :c:expr:`unsigned long "
"long`, or ``NULL`` on failure."
msgstr ""
"C の :c:expr:`unsigned long long` 型から新たな :c:type:`PyLongObject` オブ"
"ジェクトを生成して返します。失敗のときには ``NULL`` を返します。"
msgid ""
"Return a new :c:type:`PyLongObject` object from a signed C :c:expr:`int32_t` "
"or :c:expr:`int64_t`, or ``NULL`` with an exception set on failure."
msgstr ""
"符号付きの C の :c:expr:`int32_t` または :c:expr:`int64_t` から、新し"
"い :c:type:`PyLongObject` オブジェクトを作成して返します。\n"
"失敗すると例外を設定して ``NULL`` を返します。"
msgid ""
"Return a new :c:type:`PyLongObject` object from an unsigned "
"C :c:expr:`uint32_t` or :c:expr:`uint64_t`, or ``NULL`` with an exception "
"set on failure."
msgstr ""
"符号なしの C の :c:expr:`uint32_t` または :c:expr:`uint64_t` から、新し"
"い :c:type:`PyLongObject` オブジェクトを作成して返します。\n"
"失敗すると例外を設定して ``NULL`` を返します。"
#: ../../c-api/long.rst:102
msgid ""
"Return a new :c:type:`PyLongObject` object from the integer part of *v*, or "
"``NULL`` on failure."
msgstr ""
"*v* の整数部から新たな :c:type:`PyLongObject` オブジェクトを生成して返しま"
"す。失敗のときには ``NULL`` を返します。"
msgid ""
"Return a new :c:type:`PyLongObject` based on the string value in *str*, "
"which is interpreted according to the radix in *base*, or ``NULL`` on "
"failure. If *pend* is non-``NULL``, *\\*pend* will point to the end of "
"*str* on success or to the first character that could not be processed on "
"error. If *base* is ``0``, *str* is interpreted using the :ref:`integers` "
"definition; in this case, leading zeros in a non-zero decimal number raises "
"a :exc:`ValueError`. If *base* is not ``0``, it must be between ``2`` and "
"``36``, inclusive. Leading and trailing whitespace and single underscores "
"after a base specifier and between digits are ignored. If there are no "
"digits or *str* is not NULL-terminated following the digits and trailing "
"whitespace, :exc:`ValueError` will be raised."
msgstr ""
"*str* 内の文字列を *base* の基数で解釈し、新しい :c:type:`PyLongObject` を作"
"成して返します。\n"
"失敗すると ``NULL`` を返します。\n"
"*pend* が ``NULL`` でなければ、成功時には *\\*pend* が *str* の末尾を、エラー"
"時には処理できなかった最初の文字を指します。\n"
"*base* が ``0`` の場合、*str* は :ref:`integers` の定義に従って解釈します。\n"
"この場合、ゼロでない 10 進数の先頭にゼロがあると :exc:`ValueError` を送出しま"
"す。\n"
"*base* が ``0`` でない場合は、``2`` 以上 ``36`` 以下でなければなりません。\n"
"先頭と末尾の空白、および基数指定子の後や数字の間にある単独のアンダースコアは"
"無視します。\n"
"数字がない場合や、数字と末尾の空白の後で *str* が NULL 終端されていない場合"
"は、:exc:`ValueError` を送出します。"
msgid ""
":c:func:`PyLong_AsNativeBytes()` and :c:func:`PyLong_FromNativeBytes()` "
"functions can be used to convert a :c:type:`PyLongObject` to/from an array "
"of bytes in base ``256``."
msgstr ""
":c:func:`PyLong_AsNativeBytes()` と :c:func:`PyLong_FromNativeBytes()` を使う"
"と、:c:type:`PyLongObject` と基数 ``256`` のバイト配列を相互に変換できます。"
msgid ""
"Convert a sequence of Unicode digits in the string *u* to a Python integer "
"value."
msgstr "文字列 *u* 内の Unicode 数字の列を Python の整数値に変換します。"
#: ../../c-api/long.rst:134
msgid ""
"Create a Python integer from the pointer *p*. The pointer value can be "
"retrieved from the resulting value using :c:func:`PyLong_AsVoidPtr`."
msgstr ""
"ポインタ *p* から Python 整数値を生成します。ポインタの値"
"は :c:func:`PyLong_AsVoidPtr` を適用した結果から取得されます。"
msgid ""
"Create a Python integer from the value contained in the first *n_bytes* of "
"*buffer*, interpreted as a two's-complement signed number."
msgstr ""
"*buffer* の先頭 *n_bytes* バイトに格納された値を、2 の補数表現の符号付き数値"
"として解釈し、Python の整数を作成します。"
msgid ""
"*flags* are as for :c:func:`PyLong_AsNativeBytes`. Passing ``-1`` will "
"select the native endian that CPython was compiled with and assume that the "
"most-significant bit is a sign bit. Passing "
"``Py_ASNATIVEBYTES_UNSIGNED_BUFFER`` will produce the same result as "
"calling :c:func:`PyLong_FromUnsignedNativeBytes`. Other flags are ignored."
msgstr ""
"*flags* は :c:func:`PyLong_AsNativeBytes` と同じです。\n"
"``-1`` を渡すと、CPython のコンパイル時のネイティブなエンディアンを選び、最上"
"位ビットを符号ビットとみなします。\n"
"``Py_ASNATIVEBYTES_UNSIGNED_BUFFER`` を渡す"
"と、:c:func:`PyLong_FromUnsignedNativeBytes` の呼び出しと同じ結果になりま"
"す。\n"
"他のフラグは無視します。"
msgid ""
"Create a Python integer from the value contained in the first *n_bytes* of "
"*buffer*, interpreted as an unsigned number."
msgstr ""
"*buffer* の先頭 *n_bytes* バイトに格納された値を符号なし数値として解釈し、"
"Python の整数を作成します。"
msgid ""
"*flags* are as for :c:func:`PyLong_AsNativeBytes`. Passing ``-1`` will "
"select the native endian that CPython was compiled with and assume that the "
"most-significant bit is not a sign bit. Flags other than endian are ignored."
msgstr ""
"*flags* は :c:func:`PyLong_AsNativeBytes` と同じです。\n"
"``-1`` を渡すと、CPython のコンパイル時のネイティブなエンディアンを選び、最上"
"位ビットを符号ビットではないとみなします。\n"
"エンディアン以外のフラグは無視します。"
msgid "Macro for creating a Python integer from a process identifier."
msgstr "プロセス識別子から Python の整数を作成するマクロです。"
msgid ""
"This can be defined as an alias to :c:func:`PyLong_FromLong` "
"or :c:func:`PyLong_FromLongLong`, depending on the size of the system's PID "
"type."
msgstr ""
"システムの PID 型のサイズに応じて、:c:func:`PyLong_FromLong` また"
"は :c:func:`PyLong_FromLongLong` の別名として定義されることがあります。"
msgid ""
"Return a C :c:expr:`long` representation of *obj*. If *obj* is not an "
"instance of :c:type:`PyLongObject`, first call its :meth:`~object.__index__` "
"method (if present) to convert it to a :c:type:`PyLongObject`."
msgstr ""
"*obj* を表す C の :c:expr:`long` を返します。\n"
"*obj* が :c:type:`PyLongObject` のインスタンスでない場合、ま"
"ず :meth:`~object.__index__` メソッド (存在する場合) を呼び出し"
"て :c:type:`PyLongObject` に変換します。"
#: ../../c-api/long.rst:185
msgid ""
"Raise :exc:`OverflowError` if the value of *obj* is out of range for "
"a :c:expr:`long`."
msgstr ""
"もし *obj* の値が :c:expr:`long` の範囲外であれば、 :exc:`OverflowError` を送"
"出します。"
#: ../../c-api/long.rst:188 ../../c-api/long.rst:224 ../../c-api/long.rst:245
#: ../../c-api/long.rst:265 ../../c-api/long.rst:288
msgid "Returns ``-1`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
msgstr ""
"エラーが起きたときに ``-1`` を返します。\n"
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
#: ../../c-api/long.rst:190 ../../c-api/long.rst:226 ../../c-api/long.rst:247
#: ../../c-api/long.rst:269 ../../c-api/long.rst:353 ../../c-api/long.rst:373
msgid "Use :meth:`~object.__index__` if available."
msgstr "可能であれば :meth:`~object.__index__` を使うようになりました。"
msgid "This function will no longer use :meth:`~object.__int__`."
msgstr "この関数は :meth:`~object.__int__` を使わなくなりました。"
msgid ""
"Exactly equivalent to the preferred ``PyLong_AsLong``. In particular, it can "
"fail with :exc:`OverflowError` or another exception."
msgstr ""
"推奨される ``PyLong_AsLong`` と完全に等価です。\n"
"特に、:exc:`OverflowError` や他の例外で失敗する場合があります。"
msgid ""
"Similar to :c:func:`PyLong_AsLong`, but store the result in a "
"C :c:expr:`int` instead of a C :c:expr:`long`."
msgstr ""
":c:func:`PyLong_AsLong` と同様ですが、結果を C の :c:expr:`long` ではな"
"く :c:expr:`int` に格納します。"
msgid ""
"If the value of *obj* is greater than :c:macro:`LONG_MAX` or less "
"than :c:macro:`LONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, "
"respectively, and return ``-1``; otherwise, set *\\*overflow* to ``0``. If "
"any other exception occurs set *\\*overflow* to ``0`` and return ``-1`` as "
"usual."
msgstr ""
"*obj* の値が :c:macro:`LONG_MAX` より大きい場合は *\\*overflow* に "
"``1``、:c:macro:`LONG_MIN` より小さい場合は ``-1`` を設定し、``-1`` を返しま"
"す。\n"
"それ以外の場合は *\\*overflow* に ``0`` を設定します。\n"
"他の例外が発生した場合は、*\\*overflow* に ``0`` を設定し、通常どおり ``-1`` "
"を返します。"
msgid ""
"Return a C :c:expr:`long long` representation of *obj*. If *obj* is not an "
"instance of :c:type:`PyLongObject`, first call its :meth:`~object.__index__` "
"method (if present) to convert it to a :c:type:`PyLongObject`."
msgstr ""
"*obj* を表す C の :c:expr:`long long` を返します。\n"
"*obj* が :c:type:`PyLongObject` のインスタンスでない場合、ま"
"ず :meth:`~object.__index__` メソッド (存在する場合) を呼び出し"
"て :c:type:`PyLongObject` に変換します。"
#: ../../c-api/long.rst:242
msgid ""
"Raise :exc:`OverflowError` if the value of *obj* is out of range for "
"a :c:expr:`long long`."
msgstr ""
"もし *obj* の値が :c:expr:`long long` の範囲外であれ"
"ば、 :exc:`OverflowError` を送出します。"
msgid ""
"If the value of *obj* is greater than :c:macro:`LLONG_MAX` or less "
"than :c:macro:`LLONG_MIN`, set *\\*overflow* to ``1`` or ``-1``, "
"respectively, and return ``-1``; otherwise, set *\\*overflow* to ``0``. If "
"any other exception occurs set *\\*overflow* to ``0`` and return ``-1`` as "
"usual."
msgstr ""
"*obj* の値が :c:macro:`LLONG_MAX` より大きい場合は *\\*overflow* に "
"``1``、:c:macro:`LLONG_MIN` より小さい場合は ``-1`` を設定し、``-1`` を返しま"
"す。\n"
"それ以外の場合は *\\*overflow* に ``0`` を設定します。\n"
"他の例外が発生した場合は、*\\*overflow* に ``0`` を設定し、通常どおり ``-1`` "
"を返します。"
#: ../../c-api/long.rst:282
msgid ""
"Return a C :c:type:`Py_ssize_t` representation of *pylong*. *pylong* must "
"be an instance of :c:type:`PyLongObject`."
msgstr ""
"*pylong* を表す C の :c:type:`Py_ssize_t` を返します。 *pylong* "
"は :c:type:`PyLongObject` のインスタンスでなければなりません。"
#: ../../c-api/long.rst:285
msgid ""
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for "
"a :c:type:`Py_ssize_t`."
msgstr ""
"もし *pylong* の値が :c:type:`Py_ssize_t` の範囲外であれ"
"ば、 :exc:`OverflowError` を送出します。"
#: ../../c-api/long.rst:297
msgid ""
"Return a C :c:expr:`unsigned long` representation of *pylong*. *pylong* "
"must be an instance of :c:type:`PyLongObject`."
msgstr ""
"*pylong* を表す C の :c:expr:`unsigned long` を返します。 *pylong* "
"は :c:type:`PyLongObject` のインスタンスでなければなりません。"
#: ../../c-api/long.rst:300
msgid ""
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for "
"a :c:expr:`unsigned long`."
msgstr ""
"もし *pylong* の値が :c:expr:`unsigned long` の範囲外であれ"
"ば、 :exc:`OverflowError` を送出します。"
#: ../../c-api/long.rst:303
msgid ""
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
"disambiguate."
msgstr ""
"エラーが起きたときに ``(unsigned long)-1`` を返します。\n"
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
#: ../../c-api/long.rst:313
msgid ""
"Return a C :c:type:`size_t` representation of *pylong*. *pylong* must be an "
"instance of :c:type:`PyLongObject`."
msgstr ""
"*pylong* を表す C の :c:type:`size_t` を返します。 *pylong* "
"は :c:type:`PyLongObject` のインスタンスでなければなりません。"
#: ../../c-api/long.rst:316
msgid ""
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for "
"a :c:type:`size_t`."
msgstr ""
"もし *pylong* の値が :c:type:`size_t` の範囲外であれ"
"ば、 :exc:`OverflowError` を送出します。"
#: ../../c-api/long.rst:319
msgid ""
"Returns ``(size_t)-1`` on error. Use :c:func:`PyErr_Occurred` to "
"disambiguate."
msgstr ""
"エラーが起きたときに ``(size_t)-1`` を返します。\n"
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
#: ../../c-api/long.rst:328
msgid ""
"Return a C :c:expr:`unsigned long long` representation of *pylong*. "
"*pylong* must be an instance of :c:type:`PyLongObject`."
msgstr ""
"*pylong* を表す C の :c:expr:`unsigned long long` を返します。 *pylong* "
"は :c:type:`PyLongObject` のインスタンスでなければなりません。"
#: ../../c-api/long.rst:331
msgid ""
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for "
"an :c:expr:`unsigned long long`."
msgstr ""
"もし *pylong* の値が :c:expr:`unsigned long long` の範囲外であれ"
"ば、 :exc:`OverflowError` を送出します。"
#: ../../c-api/long.rst:334
msgid ""
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
"disambiguate."
msgstr ""
"エラーが起きたときに ``(unsigned long long)-1`` を返します。\n"
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
#: ../../c-api/long.rst:337
msgid ""
"A negative *pylong* now raises :exc:`OverflowError`, not :exc:`TypeError`."
msgstr ""
"負 *pylong* を指定した際に :exc:`TypeError` ではなく、 :exc:`OverflowError` "
"を送出するようになりました。"
msgid ""
"Return a C :c:expr:`unsigned long` representation of *obj*. If *obj* is not "
"an instance of :c:type:`PyLongObject`, first call "
"its :meth:`~object.__index__` method (if present) to convert it to "
"a :c:type:`PyLongObject`."
msgstr ""
"*obj* を表す C の :c:expr:`unsigned long` を返します。\n"
"*obj* が :c:type:`PyLongObject` のインスタンスでない場合、ま"
"ず :meth:`~object.__index__` メソッド (存在する場合) を呼び出し"
"て :c:type:`PyLongObject` に変換します。"
#: ../../c-api/long.rst:347
msgid ""
"If the value of *obj* is out of range for an :c:expr:`unsigned long`, return "
"the reduction of that value modulo ``ULONG_MAX + 1``."
msgstr ""
"*obj* の値が :c:expr:`unsigned long` の範囲から外れていた場合は、 "
"``ULONG_MAX + 1`` を法とした剰余を返します。"
#: ../../c-api/long.rst:350
msgid ""
"Returns ``(unsigned long)-1`` on error. Use :c:func:`PyErr_Occurred` to "
"disambiguate."
msgstr ""
"エラーが起きたときに ``(unsigned long)-1`` を返します。\n"
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
msgid ""
"Return a C :c:expr:`unsigned long long` representation of *obj*. If *obj* "
"is not an instance of :c:type:`PyLongObject`, first call "
"its :meth:`~object.__index__` method (if present) to convert it to "
"a :c:type:`PyLongObject`."
msgstr ""
"*obj* を表す C の :c:expr:`unsigned long long` を返します。\n"
"*obj* が :c:type:`PyLongObject` のインスタンスでない場合、ま"
"ず :meth:`~object.__index__` メソッド (存在する場合) を呼び出し"
"て :c:type:`PyLongObject` に変換します。"
#: ../../c-api/long.rst:367
msgid ""
"If the value of *obj* is out of range for an :c:expr:`unsigned long long`, "
"return the reduction of that value modulo ``ULLONG_MAX + 1``."
msgstr ""
"*obj* の値が :c:expr:`unsigned long long` の範囲から外れていた場合は、 "
"``ULLONG_MAX + 1`` を法とした剰余を返します。"
#: ../../c-api/long.rst:370
msgid ""
"Returns ``(unsigned long long)-1`` on error. Use :c:func:`PyErr_Occurred` "
"to disambiguate."
msgstr ""
"エラーが起きたときに ``(unsigned long long)-1`` を返します。\n"
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
msgid ""
"Set *\\*value* to a signed C :c:expr:`int32_t` or :c:expr:`int64_t` "
"representation of *obj*."
msgstr ""
"*\\*value* に、*obj* を表す符号付きの C の :c:expr:`int32_t` また"
"は :c:expr:`int64_t` の値を設定します。"
msgid ""
"If *obj* is not an instance of :c:type:`PyLongObject`, first call "
"its :meth:`~object.__index__` method (if present) to convert it to "
"a :c:type:`PyLongObject`."
msgstr ""
"*obj* が :c:type:`PyLongObject` のインスタンスでない場合、ま"
"ず :meth:`~object.__index__` メソッド (存在する場合) を呼び出し"
"て :c:type:`PyLongObject` に変換します。"
msgid "If the *obj* value is out of range, raise an :exc:`OverflowError`."
msgstr "*obj* の値が範囲外の場合は :exc:`OverflowError` を送出します。"
msgid ""
"Set *\\*value* and return ``0`` on success. Set an exception and return "
"``-1`` on error."
msgstr ""
"成功すると *\\*value* を設定して ``0`` を返します。\n"
"エラー時には例外を設定して ``-1`` を返します。"
msgid "*value* must not be ``NULL``."
msgstr "*value* は ``NULL`` であってはなりません。"
msgid ""
"Set *\\*value* to an unsigned C :c:expr:`uint32_t` or :c:expr:`uint64_t` "
"representation of *obj*."
msgstr ""
"*\\*value* に、*obj* を表す符号なしの C の :c:expr:`uint32_t` また"
"は :c:expr:`uint64_t` の値を設定します。"
msgid "If *obj* is negative, raise a :exc:`ValueError`."
msgstr "*obj* が負の場合は :exc:`ValueError` を送出します。"
#: ../../c-api/long.rst:423
msgid ""
"Return a C :c:expr:`double` representation of *pylong*. *pylong* must be an "
"instance of :c:type:`PyLongObject`."
msgstr ""
"*pylong* を表す C の :c:expr:`double` を返します。 *pylong* "
"は :c:type:`PyLongObject` のインスタンスでなければなりません。"
#: ../../c-api/long.rst:426
msgid ""
"Raise :exc:`OverflowError` if the value of *pylong* is out of range for "
"a :c:expr:`double`."
msgstr ""
"もし *pylong* の値が :c:expr:`double` の範囲外であれ"
"ば、 :exc:`OverflowError` を送出します。"
#: ../../c-api/long.rst:429
msgid ""
"Returns ``-1.0`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
msgstr ""
"エラーが起きたときに ``-1.0`` を返します。\n"
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
msgid ""
"Convert a Python integer *pylong* to a C :c:expr:`void` pointer. If *pylong* "
"cannot be converted, an :exc:`OverflowError` will be raised. This is only "
"assured to produce a usable :c:expr:`void` pointer for values created "
"with :c:func:`PyLong_FromVoidPtr`."
msgstr ""
"Python の整数 *pylong* を C の :c:expr:`void` ポインタに変換します。\n"
"*pylong* を変換できない場合は :exc:`OverflowError` を送出します。\n"
"利用可能な :c:expr:`void` ポインタが得られることを保証するの"
"は、:c:func:`PyLong_FromVoidPtr` で作成した値に対してだけです。"
#: ../../c-api/long.rst:439
msgid ""
"Returns ``NULL`` on error. Use :c:func:`PyErr_Occurred` to disambiguate."
msgstr ""
"エラーが起きたときに ``NULL`` を返します。\n"
"見分けを付けるためには :c:func:`PyErr_Occurred` を使ってください。"
msgid ""
"Copy the Python integer value *pylong* to a native *buffer* of size "
"*n_bytes*. The *flags* can be set to ``-1`` to behave similarly to a C cast, "
"or to values documented below to control the behavior."
msgstr ""
"Python の整数値 *pylong* を、サイズ *n_bytes* のネイティブな *buffer* にコ"
"ピーします。\n"
"*flags* に ``-1`` を指定すると C のキャストと同様に動作し、後述する値を指定す"
"ると動作を制御できます。"
msgid ""
"Returns ``-1`` with an exception raised on error. This may happen if "
"*pylong* cannot be interpreted as an integer, or if *pylong* was negative "
"and the ``Py_ASNATIVEBYTES_REJECT_NEGATIVE`` flag was set."
msgstr ""
"エラー時には例外を送出して ``-1`` を返します。\n"
"*pylong* を整数として解釈できない場合や、"
"``Py_ASNATIVEBYTES_REJECT_NEGATIVE`` フラグが設定されているときに *pylong* が"
"負である場合に、エラーが発生する可能性があります。"
msgid ""
"Otherwise, returns the number of bytes required to store the value. If this "
"is equal to or less than *n_bytes*, the entire value was copied. All "
"*n_bytes* of the buffer are written: remaining bytes filled by copies of the "
"sign bit."
msgstr ""
"それ以外の場合は、値を格納するのに必要なバイト数を返します。\n"
"その値が *n_bytes* 以下であれば、値全体がコピーされています。\n"
"バッファの *n_bytes* バイトすべてに書き込み、余ったバイトは符号ビットを繰り返"
"して埋めます。"
msgid ""
"If the returned value is greater than *n_bytes*, the value was truncated: as "
"many of the lowest bits of the value as could fit are written, and the "
"higher bits are ignored. This matches the typical behavior of a C-style "
"downcast."
msgstr ""
"戻り値が *n_bytes* より大きい場合は、値が切り詰められています。\n"
"収まるだけの下位ビットを書き込み、上位ビットは無視します。\n"
"これは C 形式のダウンキャストの典型的な動作と同じです。"
msgid ""
"Overflow is not considered an error. If the returned value is larger than "
"*n_bytes*, most significant bits were discarded."
msgstr ""
"オーバーフローはエラーとはみなしません。\n"
"戻り値が *n_bytes* より大きい場合、上位ビットは破棄されています。"
msgid "``0`` will never be returned."
msgstr "``0`` を返すことはありません。"
msgid "Values are always copied as two's-complement."
msgstr "値は常に 2 の補数表現でコピーします。"
msgid "Usage example::"
msgstr "使用例です。 ::"
msgid ""
"int32_t value;\n"
"Py_ssize_t bytes = PyLong_AsNativeBytes(pylong, &value, sizeof(value), -1);\n"
"if (bytes < 0) {\n"
" // Failed. A Python exception was set with the reason.\n"
" return NULL;\n"
"}\n"
"else if (bytes <= (Py_ssize_t)sizeof(value)) {\n"
" // Success!\n"
"}\n"
"else {\n"
" // Overflow occurred, but 'value' contains the truncated\n"
" // lowest bits of pylong.\n"
"}"
msgstr ""
"int32_t value;\n"
"Py_ssize_t bytes = PyLong_AsNativeBytes(pylong, &value, sizeof(value), -1);\n"
"if (bytes < 0) {\n"
" // 失敗。理由を示す Python の例外が設定されています。\n"
" return NULL;\n"
"}\n"
"else if (bytes <= (Py_ssize_t)sizeof(value)) {\n"
" // 成功。\n"
"}\n"
"else {\n"
" // オーバーフローしましたが、'value' には切り詰めた\n"
" // pylong の下位ビットが格納されています。\n"
"}"
msgid ""
"Passing zero to *n_bytes* will return the size of a buffer that would be "
"large enough to hold the value. This may be larger than technically "
"necessary, but not unreasonably so. If *n_bytes=0*, *buffer* may be ``NULL``."
msgstr ""
"*n_bytes* にゼロを渡すと、値を格納するのに十分なバッファサイズを返します。\n"
"厳密に必要なサイズより大きい場合がありますが、不合理に大きくなることはありま"
"せん。\n"
"*n_bytes=0* の場合、*buffer* は ``NULL`` でも構いません。"
msgid ""
"Passing *n_bytes=0* to this function is not an accurate way to determine the "
"bit length of the value."
msgstr ""
"この関数に *n_bytes=0* を渡しても、値の正確なビット長は求められません。"
msgid ""
"To get at the entire Python value of an unknown size, the function can be "
"called twice: first to determine the buffer size, then to fill it::"
msgstr ""
"サイズが不明な Python の値全体を取得するには、この関数を 2 回呼び出せます。\n"
"最初にバッファサイズを調べ、次にバッファを埋めます。 ::"
msgid ""
"// Ask how much space we need.\n"
"Py_ssize_t expected = PyLong_AsNativeBytes(pylong, NULL, 0, -1);\n"
"if (expected < 0) {\n"
" // Failed. A Python exception was set with the reason.\n"
" return NULL;\n"
"}\n"
"assert(expected != 0); // Impossible per the API definition.\n"
"uint8_t *bignum = malloc(expected);\n"
"if (!bignum) {\n"
" PyErr_SetString(PyExc_MemoryError, \"bignum malloc failed.\");\n"
" return NULL;\n"
"}\n"
"// Safely get the entire value.\n"
"Py_ssize_t bytes = PyLong_AsNativeBytes(pylong, bignum, expected, -1);\n"
"if (bytes < 0) { // Exception has been set.\n"
" free(bignum);\n"
" return NULL;\n"
"}\n"
"else if (bytes > expected) { // This should not be possible.\n"
" PyErr_SetString(PyExc_RuntimeError,\n"
" \"Unexpected bignum truncation after a size check.\");\n"
" free(bignum);\n"
" return NULL;\n"
"}\n"
"// The expected success given the above pre-check.\n"
"// ... use bignum ...\n"
"free(bignum);"
msgstr ""
"// 必要な領域のサイズを調べます。\n"
"Py_ssize_t expected = PyLong_AsNativeBytes(pylong, NULL, 0, -1);\n"
"if (expected < 0) {\n"
" // 失敗。理由を示す Python の例外が設定されています。\n"
" return NULL;\n"
"}\n"
"assert(expected != 0); // API の定義上、ゼロにはなりません。\n"
"uint8_t *bignum = malloc(expected);\n"
"if (!bignum) {\n"
" PyErr_SetString(PyExc_MemoryError, \"bignum malloc failed.\");\n"
" return NULL;\n"
"}\n"
"// 値全体を安全に取得します。\n"
"Py_ssize_t bytes = PyLong_AsNativeBytes(pylong, bignum, expected, -1);\n"
"if (bytes < 0) { // 例外が設定されています。\n"
" free(bignum);\n"
" return NULL;\n"
"}\n"
"else if (bytes > expected) { // この状況は起きないはずです。\n"
" PyErr_SetString(PyExc_RuntimeError,\n"
" \"Unexpected bignum truncation after a size check.\");\n"
" free(bignum);\n"
" return NULL;\n"
"}\n"
"// 上の事前チェックから期待される成功です。\n"
"// ... bignum を使います ...\n"
"free(bignum);"
msgid ""
"*flags* is either ``-1`` (``Py_ASNATIVEBYTES_DEFAULTS``) to select defaults "
"that behave most like a C cast, or a combination of the other flags in the "
"table below. Note that ``-1`` cannot be combined with other flags."
msgstr ""
"*flags* には、C のキャストに最も近い動作をするデフォルトを選ぶ ``-1`` "
"(``Py_ASNATIVEBYTES_DEFAULTS``)、または以下の表にある他のフラグの組み合わせを"
"指定します。\n"
"``-1`` は他のフラグと組み合わせられないことに注意してください。"
msgid ""
"Currently, ``-1`` corresponds to ``Py_ASNATIVEBYTES_NATIVE_ENDIAN | "
"Py_ASNATIVEBYTES_UNSIGNED_BUFFER``."
msgstr ""
"現在、``-1`` は ``Py_ASNATIVEBYTES_NATIVE_ENDIAN | "
"Py_ASNATIVEBYTES_UNSIGNED_BUFFER`` に相当します。"
msgid ""
"These values are available when compiling for the :ref:`Stable ABI <stable>` "
"since version 3.14."
msgstr ""
"これらの値は、バージョン 3.14 以降の :ref:`Stable ABI <stable>` を対象として"
"コンパイルする場合に利用できます。"
#: ../../c-api/long.rst:539
msgid "Flag"
msgstr "Flag"
#: ../../c-api/long.rst:539
msgid "Value"
msgstr "値"
msgid "``-1``"
msgstr "``-1``"
#: ../../c-api/long.rst:542
msgid "``0``"
msgstr "``0``"
#: ../../c-api/long.rst:543
msgid "``1``"
msgstr "``1``"
#: ../../c-api/long.rst:544
msgid "``3``"
msgstr "``3``"
#: ../../c-api/long.rst:545
msgid "``4``"
msgstr "``4``"
#: ../../c-api/long.rst:546
msgid "``8``"
msgstr "``8``"
msgid "``16``"
msgstr "``16``"
msgid ""
"Specifying ``Py_ASNATIVEBYTES_NATIVE_ENDIAN`` will override any other endian "
"flags. Passing ``2`` is reserved."
msgstr ""
"``Py_ASNATIVEBYTES_NATIVE_ENDIAN`` を指定すると、他のエンディアンのフラグより"
"優先されます。\n"
"値 ``2`` は予約されています。"
#: ../../c-api/long.rst:553
msgid ""
"By default, sufficient buffer will be requested to include a sign bit. For "
"example, when converting 128 with *n_bytes=1*, the function will return 2 "
"(or more) in order to store a zero sign bit."
msgstr ""
msgid ""
"If ``Py_ASNATIVEBYTES_UNSIGNED_BUFFER`` is specified, a zero sign bit will "
"be omitted from size calculations. This allows, for example, 128 to fit in a "
"single-byte buffer. If the destination buffer is later treated as signed, a "
"positive input value may become negative. Note that the flag does not affect "
"handling of negative values: for those, space for a sign bit is always "
"requested."
msgstr ""
"``Py_ASNATIVEBYTES_UNSIGNED_BUFFER`` を指定すると、サイズの計算からゼロの符号"
"ビットを除外します。\n"
"これにより、例えば 128 を 1 バイトのバッファに収めることができます。\n"
"コピー先のバッファを後で符号付きとして扱うと、正の入力値が負になる場合があり"
"ます。\n"
"このフラグは負の値の扱いには影響せず、負の値には常に符号ビットのための領域が"
"要求されることに注意してください。"
msgid ""
"Specifying ``Py_ASNATIVEBYTES_REJECT_NEGATIVE`` causes an exception to be "
"set if *pylong* is negative. Without this flag, negative values will be "
"copied provided there is enough space for at least one sign bit, regardless "
"of whether ``Py_ASNATIVEBYTES_UNSIGNED_BUFFER`` was specified."
msgstr ""
"``Py_ASNATIVEBYTES_REJECT_NEGATIVE`` を指定すると、*pylong* が負の場合に例外"
"を設定します。\n"
"このフラグを指定しない場合は、``Py_ASNATIVEBYTES_UNSIGNED_BUFFER`` の指定の有"
"無にかかわらず、少なくとも符号ビット 1 つ分の領域があれば負の値をコピーしま"
"す。"
msgid ""
"If ``Py_ASNATIVEBYTES_ALLOW_INDEX`` is specified and a non-integer value is "
"passed, its :meth:`~object.__index__` method will be called first. This may "
"result in Python code executing and other threads being allowed to run, "
"which could cause changes to other objects or values in use. When *flags* is "
"``-1``, this option is not set, and non-integer values will "
"raise :exc:`TypeError`."
msgstr ""
"``Py_ASNATIVEBYTES_ALLOW_INDEX`` を指定して整数以外の値を渡すと、最初にその値"
"の :meth:`~object.__index__` メソッドを呼び出します。\n"
"その結果 Python コードが実行され、他のスレッドも実行できるようになる場合があ"
"り、使用中の他のオブジェクトや値が変化する可能性があります。\n"
"*flags* が ``-1`` の場合、このオプションは設定されず、整数以外の値"
"は :exc:`TypeError` を引き起こします。"
msgid ""
"With the default *flags* (``-1``, or *UNSIGNED_BUFFER* without "
"*REJECT_NEGATIVE*), multiple Python integers can map to a single value "
"without overflow. For example, both ``255`` and ``-1`` fit a single-byte "
"buffer and set all its bits. This matches typical C cast behavior."
msgstr ""
"デフォルトの *flags* (``-1``、または *REJECT_NEGATIVE* を指定しない "
"*UNSIGNED_BUFFER*) では、複数の Python の整数が、オーバーフローせずに同じ 1 "
"つの値に対応することがあります。\n"
"例えば ``255`` と ``-1`` はどちらも 1 バイトのバッファに収まり、すべてのビッ"
"トを立てます。\n"
"これは C のキャストの典型的な動作と同じです。"
msgid "Macro for converting a Python integer into a process identifier."
msgstr "Python の整数をプロセス識別子に変換するマクロです。"
msgid ""
"This can be defined as an alias "
"to :c:func:`PyLong_AsLong`, :c:func:`PyLong_AsLongLong`, "
"or :c:func:`PyLong_AsInt`, depending on the size of the system's PID type."
msgstr ""
"システムの PID 型のサイズに応じ"
"て、:c:func:`PyLong_AsLong`、:c:func:`PyLong_AsLongLong`、また"
"は :c:func:`PyLong_AsInt` の別名として定義される場合があります。"
msgid "Get the sign of the integer object *obj*."
msgstr "整数オブジェクト *obj* の符号を取得します。"
msgid ""
"On success, set *\\*sign* to the integer sign (0, -1 or +1 for zero, "
"negative or positive integer, respectively) and return 0."
msgstr ""
"成功すると *\\*sign* に整数の符号 (ゼロ、負、正の整数に対してそれぞれ "
"0、-1、+1) を設定し、0 を返します。"
msgid ""
"On failure, return -1 with an exception set. This function always succeeds "
"if *obj* is a :c:type:`PyLongObject` or its subtype."
msgstr ""
"失敗すると例外を設定して -1 を返します。\n"
"*obj* が :c:type:`PyLongObject` またはそのサブタイプであれば、この関数は常に"
"成功します。"
msgid "Check if the integer object *obj* is positive (``obj > 0``)."
msgstr "整数オブジェクト *obj* が正かどうか (``obj > 0``) を調べます。"
msgid ""
"If *obj* is an instance of :c:type:`PyLongObject` or its subtype, return "
"``1`` when it's positive and ``0`` otherwise. Else set an exception and "
"return ``-1``."
msgstr ""
"*obj* が :c:type:`PyLongObject` またはそのサブタイプのインスタンスである場"
"合、正なら ``1``、それ以外なら ``0`` を返します。\n"
"それらのインスタンスでない場合は例外を設定して ``-1`` を返します。"
msgid "Check if the integer object *obj* is negative (``obj < 0``)."
msgstr "整数オブジェクト *obj* が負かどうか (``obj < 0``) を調べます。"
msgid ""
"If *obj* is an instance of :c:type:`PyLongObject` or its subtype, return "
"``1`` when it's negative and ``0`` otherwise. Else set an exception and "
"return ``-1``."
msgstr ""
"*obj* が :c:type:`PyLongObject` またはそのサブタイプのインスタンスである場"
"合、負なら ``1``、それ以外なら ``0`` を返します。\n"
"それらのインスタンスでない場合は例外を設定して ``-1`` を返します。"
msgid "Check if the integer object *obj* is zero."
msgstr "整数オブジェクト *obj* がゼロかどうかを調べます。"
msgid ""
"If *obj* is an instance of :c:type:`PyLongObject` or its subtype, return "
"``1`` when it's zero and ``0`` otherwise. Else set an exception and return "
"``-1``."
msgstr ""
"*obj* が :c:type:`PyLongObject` またはそのサブタイプのインスタンスである場"
"合、ゼロなら ``1``、それ以外なら ``0`` を返します。\n"
"それらのインスタンスでない場合は例外を設定して ``-1`` を返します。"
msgid ""
"On success, return a read only :term:`named tuple`, that holds information "
"about Python's internal representation of integers. See :data:`sys.int_info` "
"for description of individual fields."
msgstr ""
"成功すると、Python の整数の内部表現に関する情報を格納した、読み出し専用"
"の :term:`名前付きタプル <named tuple>` を返します。\n"
"各フィールドの説明は :data:`sys.int_info` を参照してください。"
msgid "On failure, return ``NULL`` with an exception set."
msgstr "失敗すると例外を設定して ``NULL`` を返します。"
msgid "Return 1 if *op* is compact, 0 otherwise."
msgstr "*op* がコンパクトであれば 1、それ以外なら 0 を返します。"
msgid ""
"This function makes it possible for performance-critical code to implement a "
"“fast path” for small integers. For compact values "
"use :c:func:`PyUnstable_Long_CompactValue`; for others fall back to "
"a :c:func:`PyLong_As* <PyLong_AsSize_t>` function "
"or :c:func:`PyLong_AsNativeBytes`."
msgstr ""
"この関数を使うと、性能が重要なコードで小さい整数向けの「高速な処理経路」を実"
"装できます。\n"
"コンパクトな値には :c:func:`PyUnstable_Long_CompactValue` を使い、それ以外の"
"値には :c:func:`PyLong_As* <PyLong_AsSize_t>` 関数また"
"は :c:func:`PyLong_AsNativeBytes` にフォールバックしてください。"
msgid "The speedup is expected to be negligible for most users."
msgstr "ほとんどの利用者にとって、速度の向上はごくわずかと考えられます。"
msgid ""
"Exactly what values are considered compact is an implementation detail and "
"is subject to change."
msgstr ""
"どの値をコンパクトとみなすかは実装の詳細であり、変更される可能性があります。"
msgid ""
"If *op* is compact, as determined by :c:func:`PyUnstable_Long_IsCompact`, "
"return its value."
msgstr ""
":c:func:`PyUnstable_Long_IsCompact` で判定して *op* がコンパクトであれば、そ"
"の値を返します。"
msgid "Otherwise, the return value is undefined."
msgstr "それ以外の場合、戻り値は未定義です。"
msgid "Build configuration"
msgstr "ビルド設定"
msgid ""
"The number of bits in each digit of CPython's native representation of "
"integers. The value can currently be either ``30`` (the default) or ``15``, "
"selected with :option:`--enable-big-digits` when building Python."
msgstr ""
"CPython の整数のネイティブ表現で、各桁に使うビット数です。\n"
"現在の値は ``30`` (デフォルト) または ``15`` で、Python のビルド時"
"に :option:`--enable-big-digits` で選択します。"
msgid ""
"To access the native representation of integers, "
"use :c:func:`PyLong_GetNativeLayout` and "
"its :c:member:`~PyLongLayout.bits_per_digit` member instead."
msgstr ""
"整数のネイティブ表現にアクセスするには、代わり"
"に :c:func:`PyLong_GetNativeLayout` と、そ"