Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit43fa5fb

Browse files
author
Autobuild bot on TravisCI
committed
[skip ci] Update .po files
1 parent0c43225 commit43fa5fb

File tree

6 files changed

+4027
-4021
lines changed

6 files changed

+4027
-4021
lines changed

‎c-api/memory.po

Lines changed: 46 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version:Python 3.7\n"
1919
"Report-Msgid-Bugs-To:\n"
20-
"POT-Creation-Date:2019-01-01 10:14+0900\n"
20+
"POT-Creation-Date:2019-04-12 11:10+0900\n"
2121
"PO-Revision-Date:2017-02-16 17:37+0000\n"
2222
"Last-Translator:tomo, 2018\n"
2323
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -567,19 +567,19 @@ msgid ""
567567
"fields:"
568568
msgstr"メモリブロックアロケータを記述するための構造体です。4つのフィールドを持ちます:"
569569

570-
#:../../c-api/memory.rst:368../../c-api/memory.rst:506
570+
#:../../c-api/memory.rst:368../../c-api/memory.rst:513
571571
msgid"Field"
572572
msgstr"フィールド"
573573

574-
#:../../c-api/memory.rst:368../../c-api/memory.rst:506
574+
#:../../c-api/memory.rst:368../../c-api/memory.rst:513
575575
msgid"Meaning"
576576
msgstr"意味"
577577

578-
#:../../c-api/memory.rst:370../../c-api/memory.rst:508
578+
#:../../c-api/memory.rst:370../../c-api/memory.rst:515
579579
msgid"``void *ctx``"
580580
msgstr"``void *ctx``"
581581

582-
#:../../c-api/memory.rst:370../../c-api/memory.rst:508
582+
#:../../c-api/memory.rst:370../../c-api/memory.rst:515
583583
msgid"user context passed as first argument"
584584
msgstr"第一引数として渡されるユーザコンテクスト"
585585

@@ -718,54 +718,55 @@ msgstr "Python メモリアロケータ関数のバグを検出するための
718718

719719
#:../../c-api/memory.rst:443
720720
msgid""
721-
"Newly allocated memory is filled with the byte ``0xCB``, freed memory is "
722-
"filled with the byte ``0xDB``."
723-
msgstr"新たに割り当てられたメモリはバイト ``0xCB`` で埋められ、解放されたメモリはバイト ``0xDB`` で埋められます。"
721+
"Newly allocated memory is filled with the byte ``0xCD`` (``CLEANBYTE``), "
722+
"freed memory is filled with the byte ``0xDD`` (``DEADBYTE``). Memory blocks "
723+
"are surrounded by\"forbidden bytes\" (``FORBIDDENBYTE``: byte ``0xFD``)."
724+
msgstr""
724725

725-
#:../../c-api/memory.rst:446
726+
#:../../c-api/memory.rst:447
726727
msgid"Runtime checks:"
727728
msgstr"実行時チェック:"
728729

729-
#:../../c-api/memory.rst:448
730+
#:../../c-api/memory.rst:449
730731
msgid""
731732
"Detect API violations, ex: :c:func:`PyObject_Free` called on a buffer "
732733
"allocated by :c:func:`PyMem_Malloc`"
733734
msgstr""
734735
"API 違反を検出します。例: :c:func:`PyMem_Malloc` が割り当てたバッファに対して "
735736
":c:func:`PyObject_Free` を呼びだした。"
736737

737-
#:../../c-api/memory.rst:450
738+
#:../../c-api/memory.rst:451
738739
msgid"Detect write before the start of the buffer (buffer underflow)"
739740
msgstr"バッファの開始前の書き込み (バッファアンダーフロー) を検出します"
740741

741-
#:../../c-api/memory.rst:451
742+
#:../../c-api/memory.rst:452
742743
msgid"Detect write after the end of the buffer (buffer overflow)"
743744
msgstr"バッファ終了後の書き込み (バッファオーバーフロー) を検出します"
744745

745-
#:../../c-api/memory.rst:452
746+
#:../../c-api/memory.rst:453
746747
msgid""
747748
"Check that the :term:`GIL <global interpreter lock>` is held when allocator "
748749
"functions of :c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) and "
749750
":c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) domains are called"
750751
msgstr""
751752

752-
#:../../c-api/memory.rst:457
753+
#:../../c-api/memory.rst:458
753754
msgid""
754755
"On error, the debug hooks use the :mod:`tracemalloc` module to get the "
755756
"traceback where a memory block was allocated. The traceback is only "
756757
"displayed if :mod:`tracemalloc` is tracing Python memory allocations and the"
757758
" memory block was traced."
758759
msgstr""
759760

760-
#:../../c-api/memory.rst:462
761+
#:../../c-api/memory.rst:463
761762
msgid""
762763
"These hooks are :ref:`installed by default <default-memory-allocators>` if "
763764
"Python is compiled in debug mode. The :envvar:`PYTHONMALLOC` environment "
764765
"variable can be used to install debug hooks on a Python compiled in release "
765766
"mode."
766767
msgstr""
767768

768-
#:../../c-api/memory.rst:467
769+
#:../../c-api/memory.rst:468
769770
msgid""
770771
"This function now also works on Python compiled in release mode. On error, "
771772
"the debug hooks now use :mod:`tracemalloc` to get the traceback where a "
@@ -774,11 +775,18 @@ msgid ""
774775
":c:data:`PYMEM_DOMAIN_MEM` domains are called."
775776
msgstr""
776777

777-
#:../../c-api/memory.rst:478
778+
#:../../c-api/memory.rst:475
779+
msgid""
780+
"Byte patterns ``0xCB`` (``CLEANBYTE``), ``0xDB`` (``DEADBYTE``) and ``0xFB``"
781+
" (``FORBIDDENBYTE``) have been replaced with ``0xCD``, ``0xDD`` and ``0xFD``"
782+
" to use the same values than Windows CRT debug ``malloc()`` and ``free()``."
783+
msgstr""
784+
785+
#:../../c-api/memory.rst:485
778786
msgid"The pymalloc allocator"
779787
msgstr"pymalloc アロケータ"
780788

781-
#:../../c-api/memory.rst:480
789+
#:../../c-api/memory.rst:487
782790
msgid""
783791
"Python has a *pymalloc* allocator optimized for small objects (smaller or "
784792
"equal to 512 bytes) with a short lifetime. It uses memory mappings called "
@@ -787,72 +795,72 @@ msgid ""
787795
"larger than 512 bytes."
788796
msgstr""
789797

790-
#:../../c-api/memory.rst:485
798+
#:../../c-api/memory.rst:492
791799
msgid""
792800
"*pymalloc* is the :ref:`default allocator <default-memory-allocators>` of "
793801
"the :c:data:`PYMEM_DOMAIN_MEM` (ex: :c:func:`PyMem_Malloc`) and "
794802
":c:data:`PYMEM_DOMAIN_OBJ` (ex: :c:func:`PyObject_Malloc`) domains."
795803
msgstr""
796804

797-
#:../../c-api/memory.rst:489
805+
#:../../c-api/memory.rst:496
798806
msgid"The arena allocator uses the following functions:"
799807
msgstr"アリーナアロケータは、次の関数を使います:"
800808

801-
#:../../c-api/memory.rst:491
809+
#:../../c-api/memory.rst:498
802810
msgid":c:func:`VirtualAlloc` and :c:func:`VirtualFree` on Windows,"
803811
msgstr"Windows では :c:func:`VirtualAlloc` と :c:func:`VirtualFree`、"
804812

805-
#:../../c-api/memory.rst:492
813+
#:../../c-api/memory.rst:499
806814
msgid":c:func:`mmap` and :c:func:`munmap` if available,"
807815
msgstr"利用できる場合、:c:func:`mmap` と :c:func:`munmap`、"
808816

809-
#:../../c-api/memory.rst:493
817+
#:../../c-api/memory.rst:500
810818
msgid":c:func:`malloc` and :c:func:`free` otherwise."
811819
msgstr"それ以外の場合は :c:func:`malloc` と :c:func:`free`。"
812820

813-
#:../../c-api/memory.rst:496
821+
#:../../c-api/memory.rst:503
814822
msgid"Customize pymalloc Arena Allocator"
815823
msgstr"pymalloc アリーナアロケータのカスタマイズ"
816824

817-
#:../../c-api/memory.rst:502
825+
#:../../c-api/memory.rst:509
818826
msgid""
819827
"Structure used to describe an arena allocator. The structure has three "
820828
"fields:"
821829
msgstr"アリーナアロケータを記述するための構造体です。3つのフィールドを持ちます:"
822830

823-
#:../../c-api/memory.rst:510
831+
#:../../c-api/memory.rst:517
824832
msgid"``void* alloc(void *ctx, size_t size)``"
825833
msgstr"``void* alloc(void *ctx, size_t size)``"
826834

827-
#:../../c-api/memory.rst:510
835+
#:../../c-api/memory.rst:517
828836
msgid"allocate an arena of size bytes"
829837
msgstr"size バイトのアリーナを割り当てます"
830838

831-
#:../../c-api/memory.rst:512
839+
#:../../c-api/memory.rst:519
832840
msgid"``void free(void *ctx, size_t size, void *ptr)``"
833841
msgstr"``void free(void *ctx, size_t size, void *ptr)``"
834842

835-
#:../../c-api/memory.rst:512
843+
#:../../c-api/memory.rst:519
836844
msgid"free an arena"
837845
msgstr"アリーナを解放します"
838846

839-
#:../../c-api/memory.rst:517
847+
#:../../c-api/memory.rst:524
840848
msgid"Get the arena allocator."
841849
msgstr"アリーナアロケータを取得します。"
842850

843-
#:../../c-api/memory.rst:521
851+
#:../../c-api/memory.rst:528
844852
msgid"Set the arena allocator."
845853
msgstr"アリーナアロケータを設定します。"
846854

847-
#:../../c-api/memory.rst:525
855+
#:../../c-api/memory.rst:532
848856
msgid"tracemalloc C API"
849857
msgstr""
850858

851-
#:../../c-api/memory.rst:549
859+
#:../../c-api/memory.rst:556
852860
msgid"Examples"
853861
msgstr"使用例"
854862

855-
#:../../c-api/memory.rst:551
863+
#:../../c-api/memory.rst:558
856864
msgid""
857865
"Here is the example from section :ref:`memoryoverview`, rewritten so that "
858866
"the I/O buffer is allocated from the Python heap by using the first function"
@@ -861,11 +869,11 @@ msgstr ""
861869
"最初に述べた関数セットを使って、 :ref:`memoryoverview` 節の例を Python ヒープに I/O "
862870
"バッファをメモリ確保するように書き換えたものを以下に示します::"
863871

864-
#:../../c-api/memory.rst:564
872+
#:../../c-api/memory.rst:571
865873
msgid"The same code using the type-oriented function set::"
866874
msgstr"同じコードを型対象の関数セットで書いたものを以下に示します::"
867875

868-
#:../../c-api/memory.rst:576
876+
#:../../c-api/memory.rst:583
869877
msgid""
870878
"Note that in the two examples above, the buffer is always manipulated via "
871879
"functions belonging to the same set. Indeed, it is required to use the same "
@@ -879,7 +887,7 @@ msgstr ""
879887
"ファミリを使って行うことが必要です。以下のコードには二つのエラーがあり、そのうちの一つには異なるヒープを操作する別のメモリ操作関数を混用しているので "
880888
"*致命的 (Fatal)* とラベルづけをしています。 ::"
881889

882-
#:../../c-api/memory.rst:591
890+
#:../../c-api/memory.rst:598
883891
msgid""
884892
"In addition to the functions aimed at handling raw memory blocks from the "
885893
"Python heap, objects in Python are allocated and released with "
@@ -890,7 +898,7 @@ msgstr ""
890898
":c:func:`PyObject_NewVar` 、および :c:func:`PyObject_Del` を使うと、 Python "
891899
"におけるオブジェクトをメモリ確保したり解放したりできます。"
892900

893-
#:../../c-api/memory.rst:595
901+
#:../../c-api/memory.rst:602
894902
msgid""
895903
"These will be explained in the next chapter on defining and implementing new"
896904
" object types in C."

‎library/codecs.po

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ msgid ""
2020
msgstr ""
2121
"Project-Id-Version:Python 3.7\n"
2222
"Report-Msgid-Bugs-To:\n"
23-
"POT-Creation-Date:2019-01-01 10:14+0900\n"
23+
"POT-Creation-Date:2019-04-12 11:10+0900\n"
2424
"PO-Revision-Date:2017-02-16 23:02+0000\n"
2525
"Last-Translator:tomo, 2018\n"
2626
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -982,11 +982,9 @@ msgstr ""
982982

983983
#:../../library/codecs.rst:641
984984
msgid""
985-
"Set the state of theencoder to *state*. *state* must be a decoder state "
985+
"Set the state of thedecoder to *state*. *state* must be a decoder state "
986986
"returned by :meth:`getstate`."
987987
msgstr""
988-
"エンコーダ (訳注: デコーダの間違い?) の状態を *state* にセットします。 *state* は :meth:`getstate` "
989-
"によって返されたデコーダ状態でなければなりません。"
990988

991989
#:../../library/codecs.rst:646
992990
msgid"Stream Encoding and Decoding"

‎library/stdtypes.po

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ msgid ""
2222
msgstr ""
2323
"Project-Id-Version:Python 3.7\n"
2424
"Report-Msgid-Bugs-To:\n"
25-
"POT-Creation-Date:2019-03-08 11:02+0900\n"
25+
"POT-Creation-Date:2019-04-12 11:10+0900\n"
2626
"PO-Revision-Date:2017-02-16 23:27+0000\n"
2727
"Last-Translator:tomo, 2018\n"
2828
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -3980,13 +3980,9 @@ msgid ""
39803980
"Split the sequence at the last occurrence of *sep*, and return a 3-tuple "
39813981
"containing the part before the separator, the separator itself or its "
39823982
"bytearray copy, and the part after the separator. If the separator is not "
3983-
"found, return a 3-tuple containinga copy of the original sequence, followed"
3984-
" bytwo empty bytes or bytearray objects."
3983+
"found, return a 3-tuple containingtwo empty bytes or bytearray objects,"
3984+
"followed bya copy of the original sequence."
39853985
msgstr""
3986-
"区切り *sep* が最後に出現する位置でシーケンスを分割し、 3 "
3987-
"要素のタプルを返します。タプルの内容は、区切りの前の部分、その区切りオブジェクトまたはその bytearray "
3988-
"型のコピー、そして区切りの後ろの部分です。もし区切れなければ、タプルには元のシーケンスのコピーと、その後ろに二つの空の bytes または "
3989-
"bytearray オブジェクトが入ります。"
39903986

39913987
#:../../library/stdtypes.rst:2689
39923988
msgid""

‎library/weakref.po

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ msgid ""
1717
msgstr ""
1818
"Project-Id-Version:Python 3.7\n"
1919
"Report-Msgid-Bugs-To:\n"
20-
"POT-Creation-Date:2019-01-01 10:14+0900\n"
20+
"POT-Creation-Date:2019-04-12 11:10+0900\n"
2121
"PO-Revision-Date:2017-02-16 23:35+0000\n"
2222
"Last-Translator:yudetamago <yudetamago.orz@gmail.com>, 2018\n"
2323
"Language-Team:Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n"
@@ -586,73 +586,73 @@ msgid ""
586586
"instance"
587587
msgstr""
588588

589-
#:../../library/weakref.rst:500
589+
#:../../library/weakref.rst:503
590590
msgid"Comparing finalizers with :meth:`__del__` methods"
591591
msgstr"ファイナライザと :meth:`__del__` メソッドとの比較"
592592

593-
#:../../library/weakref.rst:502
593+
#:../../library/weakref.rst:505
594594
msgid""
595595
"Suppose we want to create a class whose instances represent temporary "
596596
"directories. The directories should be deleted with their contents when the"
597597
" first of the following events occurs:"
598598
msgstr""
599599
"インスタンスが一時ディレクトリを表す、クラスを作成するとします。そのディレクトリは、次のイベントのいずれかが起きた時に、そのディレクトリの内容とともに削除されるべきです。"
600600

601-
#:../../library/weakref.rst:506
601+
#:../../library/weakref.rst:509
602602
msgid"the object is garbage collected,"
603603
msgstr"オブジェクトのガベージコレクションが行われた場合"
604604

605-
#:../../library/weakref.rst:507
605+
#:../../library/weakref.rst:510
606606
msgid"the object's :meth:`remove` method is called, or"
607607
msgstr"オブジェクトの :meth:`remove` メソッドが呼び出された場合"
608608

609-
#:../../library/weakref.rst:508
609+
#:../../library/weakref.rst:511
610610
msgid"the program exits."
611611
msgstr"プログラムが終了した場合"
612612

613-
#:../../library/weakref.rst:510
613+
#:../../library/weakref.rst:513
614614
msgid""
615615
"We might try to implement the class using a :meth:`__del__` method as "
616616
"follows::"
617617
msgstr"ここでは、 :meth:`__del__` メソッドを使用して次のようにクラスを実装します::"
618618

619-
#:../../library/weakref.rst:529
619+
#:../../library/weakref.rst:532
620620
msgid""
621621
"Starting with Python 3.4, :meth:`__del__` methods no longer prevent "
622622
"reference cycles from being garbage collected, and module globals are no "
623623
"longer forced to :const:`None` during :term:`interpreter shutdown`. So this "
624624
"code should work without any issues on CPython."
625625
msgstr""
626626

627-
#:../../library/weakref.rst:534
627+
#:../../library/weakref.rst:537
628628
msgid""
629629
"However, handling of :meth:`__del__` methods is notoriously implementation "
630630
"specific, since it depends on internal details of the interpreter's garbage "
631631
"collector implementation."
632632
msgstr""
633633

634-
#:../../library/weakref.rst:538
634+
#:../../library/weakref.rst:541
635635
msgid""
636636
"A more robust alternative can be to define a finalizer which only references"
637637
" the specific functions and objects that it needs, rather than having access"
638638
" to the full state of the object::"
639639
msgstr""
640640

641-
#:../../library/weakref.rst:554
641+
#:../../library/weakref.rst:557
642642
msgid""
643643
"Defined like this, our finalizer only receives a reference to the details it"
644644
" needs to clean up the directory appropriately. If the object never gets "
645645
"garbage collected the finalizer will still be called at exit."
646646
msgstr""
647647

648-
#:../../library/weakref.rst:558
648+
#:../../library/weakref.rst:561
649649
msgid""
650650
"The other advantage of weakref based finalizers is that they can be used to "
651651
"register finalizers for classes where the definition is controlled by a "
652652
"third party, such as running code when a module is unloaded::"
653653
msgstr""
654654

655-
#:../../library/weakref.rst:570
655+
#:../../library/weakref.rst:573
656656
msgid""
657657
"If you create a finalizer object in a daemonic thread just as the program "
658658
"exits then there is the possibility that the finalizer does not get called "

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp