@@ -17,7 +17,7 @@ msgid ""
1717msgstr ""
1818"Project-Id-Version :Python 3.8\n "
1919"Report-Msgid-Bugs-To :\n "
20- "POT-Creation-Date :2019-09-01 14:24 +0000\n "
20+ "POT-Creation-Date :2019-09-10 11:23 +0000\n "
2121"PO-Revision-Date :2017-02-16 23:30+0000\n "
2222"Last-Translator :tomo, 2019\n "
2323"Language-Team :Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -227,7 +227,7 @@ msgid ""
227227"method."
228228msgstr ":func:`cleanup` メソッドを呼んでディレクトリを明示的に片付けることができます。"
229229
230- #: ../../library/tempfile.rst:138 ../../library/tempfile.rst:210
230+ #: ../../library/tempfile.rst:138 ../../library/tempfile.rst:213
231231msgid ""
232232"Raises an :ref:`auditing event <auditing>` ``tempfile.mkdtemp`` with "
233233"argument ``fullpath``."
@@ -323,7 +323,7 @@ msgstr ""
323323":func:`mkstemp` は開かれたファイルを扱うための OS レベルのハンドル (:func:`os.open` が返すものと同じ) "
324324"とファイルの絶対パス名が順番に並んだタプルを返します。"
325325
326- #: ../../library/tempfile.rst:188 ../../library/tempfile.rst:211
326+ #: ../../library/tempfile.rst:188 ../../library/tempfile.rst:214
327327msgid ""
328328"*suffix*, *prefix*, and *dir* may now be supplied in bytes in order to "
329329"obtain a bytes return value. Prior to this, only str was allowed. *suffix* "
@@ -334,7 +334,11 @@ msgstr ""
334334"それ以前は str のみ許されていました。\n"
335335"適切なデフォルト値を使用するよう、*suffix* と *prefix* は ``None`` を受け入れ、デフォルトにするようになりました。"
336336
337- #: ../../library/tempfile.rst:197
337+ #: ../../library/tempfile.rst:194 ../../library/tempfile.rst:220
338+ msgid "The *dir* parameter now accepts a :term:`path-like object`."
339+ msgstr ""
340+
341+ #: ../../library/tempfile.rst:200
338342msgid ""
339343"Creates a temporary directory in the most secure manner possible. There are "
340344"no race conditions in the directory's creation. The directory is readable, "
@@ -344,96 +348,96 @@ msgstr ""
344348"ディレクトリの生成で競合は発生しません。\n"
345349"ディレクトリを作成したユーザ ID だけが、このディレクトリに対して内容を読み出したり、書き込んだり、検索したりすることができます。"
346350
347- #: ../../library/tempfile.rst:201
351+ #: ../../library/tempfile.rst:204
348352msgid ""
349353"The user of :func:`mkdtemp` is responsible for deleting the temporary "
350354"directory and its contents when done with it."
351355msgstr ":func:`mkdtemp` のユーザは用済みになった時に一時ディレクトリとその中身を削除しなければなりません。"
352356
353- #: ../../library/tempfile.rst:204
357+ #: ../../library/tempfile.rst:207
354358msgid ""
355359"The *prefix*, *suffix*, and *dir* arguments are the same as for "
356360":func:`mkstemp`."
357361msgstr "*prefix*, *suffix*, *dir* 引数は :func:`mkstemp` 関数のものと同じです。"
358362
359- #: ../../library/tempfile.rst:207
363+ #: ../../library/tempfile.rst:210
360364msgid ":func:`mkdtemp` returns the absolute pathname of the new directory."
361365msgstr ":func:`mkdtemp` は新たに生成されたディレクトリの絶対パス名を返します。"
362366
363- #: ../../library/tempfile.rst:220
367+ #: ../../library/tempfile.rst:226
364368msgid ""
365369"Return the name of the directory used for temporary files. This defines the "
366370"default value for the *dir* argument to all functions in this module."
367371msgstr ""
368372"一時ファイルに用いられるディレクトリの名前を返します。\n"
369373"これはモジュール内の全ての関数の *dir* 引数のデフォルト値を定義します。"
370374
371- #: ../../library/tempfile.rst:224
375+ #: ../../library/tempfile.rst:230
372376msgid ""
373377"Python searches a standard list of directories to find one which the calling"
374378" user can create files in. The list is:"
375379msgstr ""
376380"Python は呼び出したユーザがファイルを作ることの出来るディレクトリを検索するのに標準的なリストを使用します。\n"
377381"そのリストは:"
378382
379- #: ../../library/tempfile.rst:227
383+ #: ../../library/tempfile.rst:233
380384msgid "The directory named by the :envvar:`TMPDIR` environment variable."
381385msgstr "環境変数 :envvar:`TMPDIR` で与えられているディレクトリ名。"
382386
383- #: ../../library/tempfile.rst:229
387+ #: ../../library/tempfile.rst:235
384388msgid "The directory named by the :envvar:`TEMP` environment variable."
385389msgstr "環境変数 :envvar:`TEMP` で与えられているディレクトリ名。"
386390
387- #: ../../library/tempfile.rst:231
391+ #: ../../library/tempfile.rst:237
388392msgid "The directory named by the :envvar:`TMP` environment variable."
389393msgstr "環境変数 :envvar:`TMP` で与えられているディレクトリ名。"
390394
391- #: ../../library/tempfile.rst:233
395+ #: ../../library/tempfile.rst:239
392396msgid "A platform-specific location:"
393397msgstr "プラットフォーム依存の場所:"
394398
395- #: ../../library/tempfile.rst:235
399+ #: ../../library/tempfile.rst:241
396400msgid ""
397401"On Windows, the directories :file:`C:\\\\ TEMP`, :file:`C:\\\\ TMP`, "
398402":file:`\\\\ TEMP`, and :file:`\\\\ TMP`, in that order."
399403msgstr ""
400404"Windows ではディレクトリ :file:`C:\\\\ TEMP` 、 :file:`C:\\\\ TMP` 、 :file:`\\\\ TEMP` "
401405"、および :file:`\\\\ TMP` の順。"
402406
403- #: ../../library/tempfile.rst:238
407+ #: ../../library/tempfile.rst:244
404408msgid ""
405409"On all other platforms, the directories :file:`/tmp`, :file:`/var/tmp`, and "
406410":file:`/usr/tmp`, in that order."
407411msgstr ""
408412"その他の全てのプラットフォームでは、 :file:`/tmp` 、 :file:`/var/tmp` 、および :file:`/usr/tmp` の順。"
409413
410- #: ../../library/tempfile.rst:241
414+ #: ../../library/tempfile.rst:247
411415msgid "As a last resort, the current working directory."
412416msgstr "最後の手段として、現在の作業ディレクトリ。"
413417
414- #: ../../library/tempfile.rst:243
418+ #: ../../library/tempfile.rst:249
415419msgid ""
416420"The result of this search is cached, see the description of :data:`tempdir` "
417421"below."
418422msgstr "この検索の結果はキャッシュされます。以下の :data:`tempdir` の記述を参照してください。"
419423
420- #: ../../library/tempfile.rst:248
424+ #: ../../library/tempfile.rst:254
421425msgid "Same as :func:`gettempdir` but the return value is in bytes."
422426msgstr ":func:`gettempdir` と同じですが返り値は bytesです。"
423427
424- #: ../../library/tempfile.rst:254
428+ #: ../../library/tempfile.rst:260
425429msgid ""
426430"Return the filename prefix used to create temporary files. This does not "
427431"contain the directory component."
428432msgstr ""
429433"一時ファイルを生成する際に使われるファイル名の接頭辞を返します。\n"
430434"これにはディレクトリ部は含まれません。"
431435
432- #: ../../library/tempfile.rst:259
436+ #: ../../library/tempfile.rst:265
433437msgid "Same as :func:`gettempprefix` but the return value is in bytes."
434438msgstr ":func:`gettempprefix` と同じですが返り値は bytes です。"
435439
436- #: ../../library/tempfile.rst:263
440+ #: ../../library/tempfile.rst:269
437441msgid ""
438442"The module uses a global variable to store the name of the directory used "
439443"for temporary files returned by :func:`gettempdir`. It can be set directly "
@@ -446,13 +450,13 @@ msgstr ""
446450"このモジュールの全ての関数はディレクトリを指定する *dir* 引数を受け取ります。\n"
447451"この方法が推奨されます。"
448452
449- #: ../../library/tempfile.rst:271
453+ #: ../../library/tempfile.rst:277
450454msgid ""
451455"When set to a value other than ``None``, this variable defines the default "
452456"value for the *dir* argument to the functions defined in this module."
453457msgstr "``None`` 以外の値に設定された場合、このモジュールで定義されている全ての関数の *dir* 引数のデフォルト値として定義されます。"
454458
455- #: ../../library/tempfile.rst:275
459+ #: ../../library/tempfile.rst:281
456460msgid ""
457461"If ``tempdir`` is ``None`` (the default) at any call to any of the above "
458462"functions except :func:`gettempprefix` it is initialized following the "
@@ -461,20 +465,20 @@ msgstr ""
461465"``tempdir`` が (デフォルトの) ``None`` の場合、 :func:`gettempprefix` "
462466"を除く上記のいずれかの関数を呼び出す際は常に :func:`gettempdir` で述べられているアルゴリズムによって初期化されます。"
463467
464- #: ../../library/tempfile.rst:282
468+ #: ../../library/tempfile.rst:288
465469msgid "Examples"
466470msgstr "使用例"
467471
468- #: ../../library/tempfile.rst:284
472+ #: ../../library/tempfile.rst:290
469473msgid ""
470474"Here are some examples of typical usage of the :mod:`tempfile` module::"
471475msgstr ":mod:`tempfile` モジュールの典型的な使用法のいくつかの例を挙げます::"
472476
473- #: ../../library/tempfile.rst:315
477+ #: ../../library/tempfile.rst:321
474478msgid "Deprecated functions and variables"
475479msgstr "非推奨の関数と変数"
476480
477- #: ../../library/tempfile.rst:317
481+ #: ../../library/tempfile.rst:323
478482msgid ""
479483"A historical way to create temporary files was to first generate a file name"
480484" with the :func:`mktemp` function and then create a file using this name. "
@@ -490,11 +494,11 @@ msgstr ""
490494"解決策は二つのステップを同時に行い、ファイルをすぐに作成するというものです。\n"
491495"この方法は :func:`mkstemp` や上述している他の関数で使用されています。"
492496
493- #: ../../library/tempfile.rst:328
497+ #: ../../library/tempfile.rst:334
494498msgid "Use :func:`mkstemp` instead."
495499msgstr "代わりに :func:`mkstemp` を使って下さい。"
496500
497- #: ../../library/tempfile.rst:331
501+ #: ../../library/tempfile.rst:337
498502msgid ""
499503"Return an absolute pathname of a file that did not exist at the time the "
500504"call is made. The *prefix*, *suffix*, and *dir* arguments are similar to "
@@ -504,7 +508,7 @@ msgstr ""
504508"呼び出し時には存在しなかった、ファイルの絶対パス名を返します。\n"
505509"*prefix*、*suffix*、*dir* 引数は :func:`mkstemp` のものと似ていますが、bytes のファイル名、``suffix=None``、そして ``prefix=None`` がサポートされていない点で異なります。"
506510
507- #: ../../library/tempfile.rst:338
511+ #: ../../library/tempfile.rst:344
508512msgid ""
509513"Use of this function may introduce a security hole in your program. By the "
510514"time you get around to doing anything with the file name it returns, someone"