@@ -287,7 +287,7 @@ msgstr ""
287
287
"Python をアプリケーション内に組み込むためには、新しい ``--embed`` オプションを有効にして ``python3-config "
288
288
"--libs --embed`` とすると、 ``-lpython3.8`` を有効にできます。(アプリケーションがlibpython "
289
289
"にリンクされます) Python3.8 以前との互換性を保つためには、 ``python3-config --libs --embed`` "
290
- "をまず試みてから、失敗した場合``python3-config --libs`` (``--embed`` なし) にフォールバックしてください。"
290
+ "をまず試みてから、失敗した場合 ``python3-config --libs`` (``--embed`` なし) にフォールバックしてください。"
291
291
292
292
#: ../../whatsnew/3.8.rst:243
293
293
msgid ""
@@ -357,10 +357,14 @@ msgid ""
357
357
"embedders or system administrators to deploy builds of Python where auditing"
358
358
" is always enabled."
359
359
msgstr ""
360
+ "このPEP は、監査用フックと信頼されたOpen のためのフックを追加します。これらはPython "
361
+ "およびネイティブコードから利用できます。純粋にPython "
362
+ "で書かれたフレームワークやアプリケーションはコードに関する追加情報を得ることができ、システム管理者や埋め込みでの利用者はPython "
363
+ "のビルドを常に監査が有効な状態で利用できます。"
360
364
361
365
#: ../../whatsnew/3.8.rst:293
362
366
msgid "See :pep:`578` for full details."
363
- msgstr ""
367
+ msgstr "詳細は:pep:`578` を参照してください。 "
364
368
365
369
#: ../../whatsnew/3.8.rst:297
366
370
msgid "PEP 587: Python Initialization Configuration"
@@ -531,28 +535,31 @@ msgstr "(Victor Stinner の貢献による :issue:`36763`)"
531
535
532
536
#: ../../whatsnew/3.8.rst:353
533
537
msgid "Vectorcall: a fast calling protocol for CPython"
534
- msgstr ""
538
+ msgstr "Vectorcall: CPython のための高速なプロトコル呼び出し "
535
539
536
540
#: ../../whatsnew/3.8.rst:355
537
541
msgid ""
538
542
"The\" vectorcall\" protocol is added to the Python/C API. It is meant to "
539
543
"formalize existing optimizations which were already done for various "
540
544
"classes. Any extension type implementing a callable can use this protocol."
541
545
msgstr ""
546
+ "\" vectorcall\" プロトコルが Python/C API "
547
+ "に追加されました。これには、様々なクラスがすでに実装している最適化を共通の形式にする目的があります。 呼び出し可能な形式(callable) "
548
+ "を使用しているすべての拡張モジュールは、このプロトコルを使用できます。"
542
549
543
550
#: ../../whatsnew/3.8.rst:360
544
551
msgid ""
545
552
"This is currently provisional. The aim is to make it fully public in Python "
546
553
"3.9."
547
- msgstr ""
554
+ msgstr "これは現在、暫定版です。Python3.9 から公開で使われることを目ざしています。 "
548
555
549
556
#: ../../whatsnew/3.8.rst:363
550
557
msgid "See :pep:`590` for a full description."
551
- msgstr ""
558
+ msgstr "詳細は:pep:`590` を参照してください。 "
552
559
553
560
#: ../../whatsnew/3.8.rst:365
554
561
msgid "(Contributed by Jeroen Demeyer and Mark Shannon in :issue:`36974`.)"
555
- msgstr ""
562
+ msgstr "(Jeroen Demeyer, Mark Shannon の貢献による :issue:`36974`) "
556
563
557
564
#: ../../whatsnew/3.8.rst:369
558
565
msgid "Pickle protocol 5 with out-of-band data buffers"
@@ -565,6 +572,8 @@ msgid ""
565
572
"important to optimize the transfer by reducing memory copies, and possibly "
566
573
"by applying custom techniques such as data-dependent compression."
567
574
msgstr ""
575
+ ":mod:`pickle` モジュールがPython "
576
+ "のプロセス間での大容量データ転送でマルチコアないしマルチマシンでの利点を得るためには、メモリコピーの削減のほか、データ種別に応じた圧縮などの個別に合わせた最適化が重要です。"
568
577
569
578
#: ../../whatsnew/3.8.rst:376
570
579
msgid ""
@@ -575,11 +584,11 @@ msgstr ""
575
584
576
585
#: ../../whatsnew/3.8.rst:380
577
586
msgid "See :pep:`574` for a full description."
578
- msgstr ""
587
+ msgstr "詳細は:pep:`574` を参照してください。 "
579
588
580
589
#: ../../whatsnew/3.8.rst:382
581
590
msgid "(Contributed by Antoine Pitrou in :issue:`36785`.)"
582
- msgstr ""
591
+ msgstr "(Antoine Pitrou の貢献による :issue:`36785`) "
583
592
584
593
#: ../../whatsnew/3.8.rst:386
585
594
msgid "Other Language Changes"
@@ -604,7 +613,7 @@ msgid ""
604
613
":issue:`33073` and Raymond Hettinger in :issue:`37819`.)"
605
614
msgstr ""
606
615
":class:`bool`, :class:`int`, :class:`fractions.Fraction` タイプは、:class:`float`"
607
- " や :class:`decimal.Decimal` と同様の:meth:`~int.as_integer_ratio` "
616
+ " や :class:`decimal.Decimal` と同様の :meth:`~int.as_integer_ratio` "
608
617
"メソッドを持つようになりました。このAPI の拡張によって、``numerator, denominator = "
609
618
"x.as_integer_ratio()`` のようなコードがより多くの数値型で動作します。 (Lisa Roach の貢献による "
610
619
":issue:`33073` および Raymond Hettinger の貢献による :issue:`37819`)"
@@ -617,22 +626,29 @@ msgid ""
617
626
":meth:`~object.__complex__` is not available. (Contributed by Serhiy "
618
627
"Storchaka in :issue:`20092`.)"
619
628
msgstr ""
629
+ ":class:`int`, :class:`float`, :class:`complex` "
630
+ "のコンストラクタは、可能ならば:meth:`~object.__index__` "
631
+ "特殊メソッドを利用し、その場合は対応する:meth:`~object.__int__`, :meth:`~object.__float__` や "
632
+ ":meth:`~object.__complex__` は使用できません。(Serhiy Storchaka の貢献による "
633
+ ":issue:`20092`)"
620
634
621
635
#: ../../whatsnew/3.8.rst:407
622
636
msgid ""
623
637
"Added support of ``\\ N{name}`` escapes in :mod:`regular expressions <re>`::"
624
- msgstr ""
638
+ msgstr "mod:`regular expressions <re>` での `` \\ N{name}`` エスケープの追加:: "
625
639
626
640
#: ../../whatsnew/3.8.rst:414
627
641
msgid ""
628
642
"(Contributed by Jonathan Eunice and Serhiy Storchaka in :issue:`30688`.)"
629
- msgstr ""
643
+ msgstr "(Jonathan Eunice, Serhiy Storchaka の貢献による :issue:`30688`) "
630
644
631
645
#: ../../whatsnew/3.8.rst:416
632
646
msgid ""
633
647
"Dict and dictviews are now iterable in reversed insertion order using "
634
648
":func:`reversed`. (Contributed by Rémi Lapeyre in :issue:`33462`.)"
635
649
msgstr ""
650
+ "dict と dictview は、:func:`reversed` を使って逆順でイテレートすることが可能になりました。(Rémi Lapeyre "
651
+ "の貢献による :issue:`33462`)"
636
652
637
653
#: ../../whatsnew/3.8.rst:419
638
654
msgid ""
@@ -642,17 +658,23 @@ msgid ""
642
658
"keyword argument assignment term. (Contributed by Benjamin Peterson in "
643
659
":issue:`34641`.)"
644
660
msgstr ""
661
+ "関数内でのキーワード名に関する構文の制限が強化されました。具体的には、``f((keyword)=arg)`` "
662
+ "の表現が許容されなくなりました。キーワード引数への代入の際、左側にキーワードそのまま以外の表現を許可する意図は、以前からありませんでした。(Benjamin"
663
+ " Peterson の貢献による :issue:`34641`)"
645
664
646
665
#: ../../whatsnew/3.8.rst:425
647
666
msgid ""
648
667
"Generalized iterable unpacking in :keyword:`yield` and :keyword:`return` "
649
668
"statements no longer requires enclosing parentheses. This brings the *yield*"
650
669
" and *return* syntax into better agreement with normal assignment syntax::"
651
670
msgstr ""
671
+ ":keyword:`yield` 文と :keyword:`return` "
672
+ "文における一般化されたイテラブルへの展開のために、全体を覆うかっこが不要になりました。これは*yield* と*return* "
673
+ "の表現を、一般の展開と同様のわかりやすい形式にします::"
652
674
653
675
#: ../../whatsnew/3.8.rst:437
654
676
msgid "(Contributed by David Cuthbert and Jordan Chapman in :issue:`32117`.)"
655
- msgstr ""
677
+ msgstr "(David Cuthbert, Jordan Chapman の貢献による :issue:`32117`) "
656
678
657
679
#: ../../whatsnew/3.8.rst:439
658
680
msgid ""
@@ -661,6 +683,9 @@ msgid ""
661
683
" just having a :exc:`TypeError` indicating that the first tuple was not "
662
684
"callable. (Contributed by Serhiy Storchaka in :issue:`15248`.)"
663
685
msgstr ""
686
+ "``[(10, 20) (30, 40)]`` のようなコードでコンマが無い場合、コンパイラは:exc:`SyntaxWarning` "
687
+ "を、分かりやすい形式で表示します。これで、最初のタプルが呼び出し可能ではないことを :exc:`TypeError` "
688
+ "で表示するよりもわかりやすくなります。(Serhiy Storchaka の貢献による :issue:`15248`)"
664
689
665
690
#: ../../whatsnew/3.8.rst:445
666
691
msgid ""
@@ -672,6 +697,11 @@ msgid ""
672
697
":meth:`~datetime.datetime.astimezone`. (Contributed by Paul Ganssle in "
673
698
":issue:`32417`.)"
674
699
msgstr ""
700
+ ":class:`datetime.date`, :class:`datetime.datetime`, "
701
+ ":class:`datetime.timedelta` "
702
+ "オブジェクトのサブクラス間の算術演算は、基底クラスではなくサブクラスのインスタンスを返すようになりました。この変更は、:meth:`~datetime.datetime.astimezone`"
703
+ " のような、:class:`datetime.timedelta` に対する算術演算を直接ないし間接的に使用する実装の戻り値の型に影響します。(Paul"
704
+ " Ganssle の貢献による :issue:`32417`)"
675
705
676
706
#: ../../whatsnew/3.8.rst:453
677
707
msgid ""
@@ -682,6 +712,11 @@ msgid ""
682
712
" POSIX and Windows use this to properly terminate scripts in interactive "
683
713
"sessions. (Contributed by Google via Gregory P. Smith in :issue:`1054041`.)"
684
714
msgstr ""
715
+ "Python インタープリタがCtrl-C (SIGINT) によって中断され、:exc:`KeyboardInterrupt` "
716
+ "例外の結果が捕捉されなかった場合、Python プロセスはSIGINT シグナルか、呼び出したプロセスが、Ctrl-C "
717
+ "によって終了したことを判別できるような適切な終了コードで終了するようになりました。 POSIX とWindows "
718
+ "上のシェルは、非対話セッション内でスクリプトの終了処理を適切に行うために、これを利用できます。(Gregory P. Smith を通してGoogle "
719
+ "の貢献による :issue:`1054041`)"
685
720
686
721
#: ../../whatsnew/3.8.rst:460
687
722
msgid ""
@@ -692,16 +727,21 @@ msgid ""
692
727
" Now, the new ``replace()`` method makes it possible to create a clone with"
693
728
" a few altered parameters."
694
729
msgstr ""
730
+ "先進的なプログラミングにおいて、既存の関数の:class:`types.CodeType` オブジェクトを更新する必要が生じます。code "
731
+ "オブジェクトはイミュータブルなので、既存のオブジェクトがあるにもかかわらず、新しいcode "
732
+ "オブジェクトを生成する必要がありました。パラメータが19もあるので、一から作成するのは非合理的です。新しい``replace()`` "
733
+ "メソッドを使えば、更新すべきパラメータを書くだけで、新しいクローンを作成することができます。"
695
734
696
735
#: ../../whatsnew/3.8.rst:467
697
736
msgid ""
698
737
"Here's an example that alters the :func:`statistics.mean` function to "
699
738
"prevent the *data* parameter from being used as a keyword argument::"
700
739
msgstr ""
740
+ "ここでは、:func:`statistics.mean` 関数がキーワード引数として*data* を使えないように変更する例を見てみましょう::"
701
741
702
742
#: ../../whatsnew/3.8.rst:479
703
743
msgid "(Contributed by Victor Stinner in :issue:`37032`.)"
704
- msgstr ""
744
+ msgstr "(Victor Stinner の貢献による :issue:`37032`) "
705
745
706
746
#: ../../whatsnew/3.8.rst:481
707
747
msgid ""
@@ -730,18 +770,18 @@ msgstr ""
730
770
msgid ""
731
771
"Dict comprehensions have been synced-up with dict literals so that the key "
732
772
"is computed first and the value second::"
733
- msgstr ""
773
+ msgstr "辞書内包表現は辞書リテラルと同期されたため、まずキーが解釈され、次に値が解釈されます:: "
734
774
735
775
#: ../../whatsnew/3.8.rst:522
736
776
msgid ""
737
777
"The guaranteed execution order is helpful with assignment expressions "
738
778
"because variables assigned in the key expression will be available in the "
739
779
"value expression::"
740
- msgstr ""
780
+ msgstr "この実行順の保証は代入式の役に立ち、キーの表現で代入されたものは、値の表現で使用することができます:: "
741
781
742
782
#: ../../whatsnew/3.8.rst:532
743
783
msgid "(Contributed by Jörn Heissler in :issue:`35224`.)"
744
- msgstr ""
784
+ msgstr "(Jörn Heissler の貢献による :issue:`35224`) "
745
785
746
786
#: ../../whatsnew/3.8.rst:534
747
787
msgid ""