@@ -17,7 +17,7 @@ msgid ""
17
17
msgstr ""
18
18
"Project-Id-Version : Python 3.8\n "
19
19
"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 "
21
21
"PO-Revision-Date : 2017-02-16 23:30+0000\n "
22
22
"Last-Translator : tomo, 2019\n "
23
23
"Language-Team : Japanese (https://www.transifex.com/python-doc/teams/5390/ja/)\n "
@@ -227,7 +227,7 @@ msgid ""
227
227
"method."
228
228
msgstr ":func:`cleanup` メソッドを呼んでディレクトリを明示的に片付けることができます。"
229
229
230
- #: ../../library/tempfile.rst:138 ../../library/tempfile.rst:210
230
+ #: ../../library/tempfile.rst:138 ../../library/tempfile.rst:213
231
231
msgid ""
232
232
"Raises an :ref:`auditing event <auditing>` ``tempfile.mkdtemp`` with "
233
233
"argument ``fullpath``."
@@ -323,7 +323,7 @@ msgstr ""
323
323
":func:`mkstemp` は開かれたファイルを扱うための OS レベルのハンドル (:func:`os.open` が返すものと同じ) "
324
324
"とファイルの絶対パス名が順番に並んだタプルを返します。"
325
325
326
- #: ../../library/tempfile.rst:188 ../../library/tempfile.rst:211
326
+ #: ../../library/tempfile.rst:188 ../../library/tempfile.rst:214
327
327
msgid ""
328
328
"*suffix*, *prefix*, and *dir* may now be supplied in bytes in order to "
329
329
"obtain a bytes return value. Prior to this, only str was allowed. *suffix* "
@@ -334,7 +334,11 @@ msgstr ""
334
334
"それ以前は str のみ許されていました。\n"
335
335
"適切なデフォルト値を使用するよう、*suffix* と *prefix* は ``None`` を受け入れ、デフォルトにするようになりました。"
336
336
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
338
342
msgid ""
339
343
"Creates a temporary directory in the most secure manner possible. There are "
340
344
"no race conditions in the directory's creation. The directory is readable, "
@@ -344,96 +348,96 @@ msgstr ""
344
348
"ディレクトリの生成で競合は発生しません。\n"
345
349
"ディレクトリを作成したユーザ ID だけが、このディレクトリに対して内容を読み出したり、書き込んだり、検索したりすることができます。"
346
350
347
- #: ../../library/tempfile.rst:201
351
+ #: ../../library/tempfile.rst:204
348
352
msgid ""
349
353
"The user of :func:`mkdtemp` is responsible for deleting the temporary "
350
354
"directory and its contents when done with it."
351
355
msgstr ":func:`mkdtemp` のユーザは用済みになった時に一時ディレクトリとその中身を削除しなければなりません。"
352
356
353
- #: ../../library/tempfile.rst:204
357
+ #: ../../library/tempfile.rst:207
354
358
msgid ""
355
359
"The *prefix*, *suffix*, and *dir* arguments are the same as for "
356
360
":func:`mkstemp`."
357
361
msgstr "*prefix*, *suffix*, *dir* 引数は :func:`mkstemp` 関数のものと同じです。"
358
362
359
- #: ../../library/tempfile.rst:207
363
+ #: ../../library/tempfile.rst:210
360
364
msgid ":func:`mkdtemp` returns the absolute pathname of the new directory."
361
365
msgstr ":func:`mkdtemp` は新たに生成されたディレクトリの絶対パス名を返します。"
362
366
363
- #: ../../library/tempfile.rst:220
367
+ #: ../../library/tempfile.rst:226
364
368
msgid ""
365
369
"Return the name of the directory used for temporary files. This defines the "
366
370
"default value for the *dir* argument to all functions in this module."
367
371
msgstr ""
368
372
"一時ファイルに用いられるディレクトリの名前を返します。\n"
369
373
"これはモジュール内の全ての関数の *dir* 引数のデフォルト値を定義します。"
370
374
371
- #: ../../library/tempfile.rst:224
375
+ #: ../../library/tempfile.rst:230
372
376
msgid ""
373
377
"Python searches a standard list of directories to find one which the calling"
374
378
" user can create files in. The list is:"
375
379
msgstr ""
376
380
"Python は呼び出したユーザがファイルを作ることの出来るディレクトリを検索するのに標準的なリストを使用します。\n"
377
381
"そのリストは:"
378
382
379
- #: ../../library/tempfile.rst:227
383
+ #: ../../library/tempfile.rst:233
380
384
msgid "The directory named by the :envvar:`TMPDIR` environment variable."
381
385
msgstr "環境変数 :envvar:`TMPDIR` で与えられているディレクトリ名。"
382
386
383
- #: ../../library/tempfile.rst:229
387
+ #: ../../library/tempfile.rst:235
384
388
msgid "The directory named by the :envvar:`TEMP` environment variable."
385
389
msgstr "環境変数 :envvar:`TEMP` で与えられているディレクトリ名。"
386
390
387
- #: ../../library/tempfile.rst:231
391
+ #: ../../library/tempfile.rst:237
388
392
msgid "The directory named by the :envvar:`TMP` environment variable."
389
393
msgstr "環境変数 :envvar:`TMP` で与えられているディレクトリ名。"
390
394
391
- #: ../../library/tempfile.rst:233
395
+ #: ../../library/tempfile.rst:239
392
396
msgid "A platform-specific location:"
393
397
msgstr "プラットフォーム依存の場所:"
394
398
395
- #: ../../library/tempfile.rst:235
399
+ #: ../../library/tempfile.rst:241
396
400
msgid ""
397
401
"On Windows, the directories :file:`C:\\\\ TEMP`, :file:`C:\\\\ TMP`, "
398
402
":file:`\\\\ TEMP`, and :file:`\\\\ TMP`, in that order."
399
403
msgstr ""
400
404
"Windows ではディレクトリ :file:`C:\\\\ TEMP` 、 :file:`C:\\\\ TMP` 、 :file:`\\\\ TEMP` "
401
405
"、および :file:`\\\\ TMP` の順。"
402
406
403
- #: ../../library/tempfile.rst:238
407
+ #: ../../library/tempfile.rst:244
404
408
msgid ""
405
409
"On all other platforms, the directories :file:`/tmp`, :file:`/var/tmp`, and "
406
410
":file:`/usr/tmp`, in that order."
407
411
msgstr ""
408
412
"その他の全てのプラットフォームでは、 :file:`/tmp` 、 :file:`/var/tmp` 、および :file:`/usr/tmp` の順。"
409
413
410
- #: ../../library/tempfile.rst:241
414
+ #: ../../library/tempfile.rst:247
411
415
msgid "As a last resort, the current working directory."
412
416
msgstr "最後の手段として、現在の作業ディレクトリ。"
413
417
414
- #: ../../library/tempfile.rst:243
418
+ #: ../../library/tempfile.rst:249
415
419
msgid ""
416
420
"The result of this search is cached, see the description of :data:`tempdir` "
417
421
"below."
418
422
msgstr "この検索の結果はキャッシュされます。以下の :data:`tempdir` の記述を参照してください。"
419
423
420
- #: ../../library/tempfile.rst:248
424
+ #: ../../library/tempfile.rst:254
421
425
msgid "Same as :func:`gettempdir` but the return value is in bytes."
422
426
msgstr ":func:`gettempdir` と同じですが返り値は bytesです。"
423
427
424
- #: ../../library/tempfile.rst:254
428
+ #: ../../library/tempfile.rst:260
425
429
msgid ""
426
430
"Return the filename prefix used to create temporary files. This does not "
427
431
"contain the directory component."
428
432
msgstr ""
429
433
"一時ファイルを生成する際に使われるファイル名の接頭辞を返します。\n"
430
434
"これにはディレクトリ部は含まれません。"
431
435
432
- #: ../../library/tempfile.rst:259
436
+ #: ../../library/tempfile.rst:265
433
437
msgid "Same as :func:`gettempprefix` but the return value is in bytes."
434
438
msgstr ":func:`gettempprefix` と同じですが返り値は bytes です。"
435
439
436
- #: ../../library/tempfile.rst:263
440
+ #: ../../library/tempfile.rst:269
437
441
msgid ""
438
442
"The module uses a global variable to store the name of the directory used "
439
443
"for temporary files returned by :func:`gettempdir`. It can be set directly "
@@ -446,13 +450,13 @@ msgstr ""
446
450
"このモジュールの全ての関数はディレクトリを指定する *dir* 引数を受け取ります。\n"
447
451
"この方法が推奨されます。"
448
452
449
- #: ../../library/tempfile.rst:271
453
+ #: ../../library/tempfile.rst:277
450
454
msgid ""
451
455
"When set to a value other than ``None``, this variable defines the default "
452
456
"value for the *dir* argument to the functions defined in this module."
453
457
msgstr "``None`` 以外の値に設定された場合、このモジュールで定義されている全ての関数の *dir* 引数のデフォルト値として定義されます。"
454
458
455
- #: ../../library/tempfile.rst:275
459
+ #: ../../library/tempfile.rst:281
456
460
msgid ""
457
461
"If ``tempdir`` is ``None`` (the default) at any call to any of the above "
458
462
"functions except :func:`gettempprefix` it is initialized following the "
@@ -461,20 +465,20 @@ msgstr ""
461
465
"``tempdir`` が (デフォルトの) ``None`` の場合、 :func:`gettempprefix` "
462
466
"を除く上記のいずれかの関数を呼び出す際は常に :func:`gettempdir` で述べられているアルゴリズムによって初期化されます。"
463
467
464
- #: ../../library/tempfile.rst:282
468
+ #: ../../library/tempfile.rst:288
465
469
msgid "Examples"
466
470
msgstr "使用例"
467
471
468
- #: ../../library/tempfile.rst:284
472
+ #: ../../library/tempfile.rst:290
469
473
msgid ""
470
474
"Here are some examples of typical usage of the :mod:`tempfile` module::"
471
475
msgstr ":mod:`tempfile` モジュールの典型的な使用法のいくつかの例を挙げます::"
472
476
473
- #: ../../library/tempfile.rst:315
477
+ #: ../../library/tempfile.rst:321
474
478
msgid "Deprecated functions and variables"
475
479
msgstr "非推奨の関数と変数"
476
480
477
- #: ../../library/tempfile.rst:317
481
+ #: ../../library/tempfile.rst:323
478
482
msgid ""
479
483
"A historical way to create temporary files was to first generate a file name"
480
484
" with the :func:`mktemp` function and then create a file using this name. "
@@ -490,11 +494,11 @@ msgstr ""
490
494
"解決策は二つのステップを同時に行い、ファイルをすぐに作成するというものです。\n"
491
495
"この方法は :func:`mkstemp` や上述している他の関数で使用されています。"
492
496
493
- #: ../../library/tempfile.rst:328
497
+ #: ../../library/tempfile.rst:334
494
498
msgid "Use :func:`mkstemp` instead."
495
499
msgstr "代わりに :func:`mkstemp` を使って下さい。"
496
500
497
- #: ../../library/tempfile.rst:331
501
+ #: ../../library/tempfile.rst:337
498
502
msgid ""
499
503
"Return an absolute pathname of a file that did not exist at the time the "
500
504
"call is made. The *prefix*, *suffix*, and *dir* arguments are similar to "
@@ -504,7 +508,7 @@ msgstr ""
504
508
"呼び出し時には存在しなかった、ファイルの絶対パス名を返します。\n"
505
509
"*prefix*、*suffix*、*dir* 引数は :func:`mkstemp` のものと似ていますが、bytes のファイル名、``suffix=None``、そして ``prefix=None`` がサポートされていない点で異なります。"
506
510
507
- #: ../../library/tempfile.rst:338
511
+ #: ../../library/tempfile.rst:344
508
512
msgid ""
509
513
"Use of this function may introduce a security hole in your program. By the "
510
514
"time you get around to doing anything with the file name it returns, someone"
0 commit comments