6
6
msgstr ""
7
7
"Project-Id-Version : Python 3.13\n "
8
8
"Report-Msgid-Bugs-To : \n "
9
- "POT-Creation-Date : 2024-10-11 00:13 +0000\n "
9
+ "POT-Creation-Date : 2025-08-24 00:17 +0000\n "
10
10
"PO-Revision-Date : 2018-05-23 16:04+0000\n "
11
11
"
Last-Translator :
Adrian Liaw <[email protected] >\n "
12
12
"Language-Team : Chinese - TAIWAN (https://github.com/python/python-docs-zh- "
@@ -395,34 +395,38 @@ msgid ""
395
395
"includes the phrase ``AUTH=CRAM-MD5``."
396
396
msgstr ""
397
397
398
- #: ../../library/imaplib.rst:331
398
+ #: ../../library/imaplib.rst:328
399
+ msgid "An :exc:`IMAP4.error` is raised if MD5 support is not available."
400
+ msgstr ""
401
+
402
+ #: ../../library/imaplib.rst:334
399
403
msgid "Shutdown connection to server. Returns server ``BYE`` response."
400
404
msgstr ""
401
405
402
- #: ../../library/imaplib.rst:333
406
+ #: ../../library/imaplib.rst:336
403
407
msgid "The method no longer ignores silently arbitrary exceptions."
404
408
msgstr ""
405
409
406
- #: ../../library/imaplib.rst:339
410
+ #: ../../library/imaplib.rst:342
407
411
msgid ""
408
412
"List subscribed mailbox names in directory matching pattern. *directory* "
409
413
"defaults to the top level directory and *pattern* defaults to match any "
410
414
"mailbox. Returned data are tuples of message part envelope and data."
411
415
msgstr ""
412
416
413
- #: ../../library/imaplib.rst:346
417
+ #: ../../library/imaplib.rst:349
414
418
msgid "Show my ACLs for a mailbox (i.e. the rights that I have on mailbox)."
415
419
msgstr ""
416
420
417
- #: ../../library/imaplib.rst:351
421
+ #: ../../library/imaplib.rst:354
418
422
msgid "Returns IMAP namespaces as defined in :rfc:`2342`."
419
423
msgstr ""
420
424
421
- #: ../../library/imaplib.rst:356
425
+ #: ../../library/imaplib.rst:359
422
426
msgid "Send ``NOOP`` to server."
423
427
msgstr ""
424
428
425
- #: ../../library/imaplib.rst:361
429
+ #: ../../library/imaplib.rst:364
426
430
msgid ""
427
431
"Opens socket to *port* at *host*. The optional *timeout* parameter specifies "
428
432
"a timeout in seconds for the connection attempt. If timeout is not given or "
@@ -435,56 +439,56 @@ msgid ""
435
439
"You may override this method."
436
440
msgstr ""
437
441
438
- #: ../../library/imaplib.rst:371
442
+ #: ../../library/imaplib.rst:374
439
443
msgid ""
440
444
"Raises an :ref:`auditing event <auditing>` ``imaplib.open`` with arguments "
441
445
"``self``, ``host``, ``port``."
442
446
msgstr ""
443
447
"引發一個附帶引數 ``self``、``host``、``port`` 的\\ :ref:`稽核事件 "
444
448
"<auditing>` ``imaplib.open``。"
445
449
446
- #: ../../library/imaplib.rst:373
450
+ #: ../../library/imaplib.rst:376
447
451
msgid "The *timeout* parameter was added."
448
452
msgstr "新增 *timeout* 參數。"
449
453
450
- #: ../../library/imaplib.rst:378
454
+ #: ../../library/imaplib.rst:381
451
455
msgid ""
452
456
"Fetch truncated part of a message. Returned data is a tuple of message part "
453
457
"envelope and data."
454
458
msgstr ""
455
459
456
- #: ../../library/imaplib.rst:384
460
+ #: ../../library/imaplib.rst:387
457
461
msgid ""
458
462
"Assume authentication as *user*. Allows an authorised administrator to proxy "
459
463
"into any user's mailbox."
460
464
msgstr ""
461
465
462
- #: ../../library/imaplib.rst:390
466
+ #: ../../library/imaplib.rst:393
463
467
msgid ""
464
468
"Reads *size* bytes from the remote server. You may override this method."
465
469
msgstr ""
466
470
467
- #: ../../library/imaplib.rst:395
471
+ #: ../../library/imaplib.rst:398
468
472
msgid "Reads one line from the remote server. You may override this method."
469
473
msgstr ""
470
474
471
- #: ../../library/imaplib.rst:400
475
+ #: ../../library/imaplib.rst:403
472
476
msgid ""
473
477
"Prompt server for an update. Returned data is ``None`` if no new messages, "
474
478
"else value of ``RECENT`` response."
475
479
msgstr ""
476
480
477
- #: ../../library/imaplib.rst:406
481
+ #: ../../library/imaplib.rst:409
478
482
msgid "Rename mailbox named *oldmailbox* to *newmailbox*."
479
483
msgstr ""
480
484
481
- #: ../../library/imaplib.rst:411
485
+ #: ../../library/imaplib.rst:414
482
486
msgid ""
483
487
"Return data for response *code* if received, or ``None``. Returns the given "
484
488
"code, instead of the usual type."
485
489
msgstr ""
486
490
487
- #: ../../library/imaplib.rst:417
491
+ #: ../../library/imaplib.rst:420
488
492
msgid ""
489
493
"Search mailbox for matching messages. *charset* may be ``None``, in which "
490
494
"case no ``CHARSET`` will be specified in the request to the server. The "
@@ -494,11 +498,11 @@ msgid ""
494
498
"`enable` command."
495
499
msgstr ""
496
500
497
- #: ../../library/imaplib.rst:424
501
+ #: ../../library/imaplib.rst:427
498
502
msgid "Example::"
499
503
msgstr "範例: ::"
500
504
501
- #: ../../library/imaplib.rst:426
505
+ #: ../../library/imaplib.rst:429
502
506
msgid ""
503
507
"# M is a connected IMAP4 instance...\n"
504
508
"typ, msgnums = M.search(None, 'FROM', '\" LDJ\" ')\n"
@@ -507,61 +511,61 @@ msgid ""
507
511
"typ, msgnums = M.search(None, '(FROM \" LDJ\" )')"
508
512
msgstr ""
509
513
510
- #: ../../library/imaplib.rst:435
514
+ #: ../../library/imaplib.rst:438
511
515
msgid ""
512
516
"Select a mailbox. Returned data is the count of messages in *mailbox* "
513
517
"(``EXISTS`` response). The default *mailbox* is ``'INBOX'``. If the "
514
518
"*readonly* flag is set, modifications to the mailbox are not allowed."
515
519
msgstr ""
516
520
517
- #: ../../library/imaplib.rst:442
521
+ #: ../../library/imaplib.rst:445
518
522
msgid "Sends ``data`` to the remote server. You may override this method."
519
523
msgstr ""
520
524
521
- #: ../../library/imaplib.rst:444
525
+ #: ../../library/imaplib.rst:447
522
526
msgid ""
523
527
"Raises an :ref:`auditing event <auditing>` ``imaplib.send`` with arguments "
524
528
"``self``, ``data``."
525
529
msgstr ""
526
530
"引發一個附帶引數 ``self``、``data`` 的\\ :ref:`稽核事件 <auditing>` "
527
531
"``imaplib.send``。"
528
532
529
- #: ../../library/imaplib.rst:449
533
+ #: ../../library/imaplib.rst:452
530
534
msgid ""
531
535
"Set an ``ACL`` for *mailbox*. The method is non-standard, but is supported "
532
536
"by the ``Cyrus`` server."
533
537
msgstr ""
534
538
535
- #: ../../library/imaplib.rst:455
539
+ #: ../../library/imaplib.rst:458
536
540
msgid ""
537
541
"Set ``ANNOTATION``\\ s for *mailbox*. The method is non-standard, but is "
538
542
"supported by the ``Cyrus`` server."
539
543
msgstr ""
540
544
541
- #: ../../library/imaplib.rst:461
545
+ #: ../../library/imaplib.rst:464
542
546
msgid ""
543
547
"Set the ``quota`` *root*'s resource *limits*. This method is part of the "
544
548
"IMAP4 QUOTA extension defined in rfc2087."
545
549
msgstr ""
546
550
547
- #: ../../library/imaplib.rst:467
551
+ #: ../../library/imaplib.rst:470
548
552
msgid ""
549
553
"Close connection established in ``open``. This method is implicitly called "
550
554
"by :meth:`IMAP4.logout`. You may override this method."
551
555
msgstr ""
552
556
553
- #: ../../library/imaplib.rst:473
557
+ #: ../../library/imaplib.rst:476
554
558
msgid "Returns socket instance used to connect to server."
555
559
msgstr ""
556
560
557
- #: ../../library/imaplib.rst:478
561
+ #: ../../library/imaplib.rst:481
558
562
msgid ""
559
563
"The ``sort`` command is a variant of ``search`` with sorting semantics for "
560
564
"the results. Returned data contains a space separated list of matching "
561
565
"message numbers."
562
566
msgstr ""
563
567
564
- #: ../../library/imaplib.rst:482
568
+ #: ../../library/imaplib.rst:485
565
569
msgid ""
566
570
"Sort has two arguments before the *search_criterion* argument(s); a "
567
571
"parenthesized list of *sort_criteria*, and the searching *charset*. Note "
@@ -573,39 +577,39 @@ msgid ""
573
577
"searching criteria. It then returns the numbers of matching messages."
574
578
msgstr ""
575
579
576
- #: ../../library/imaplib.rst:491 ../../library/imaplib.rst:562
580
+ #: ../../library/imaplib.rst:494 ../../library/imaplib.rst:565
577
581
msgid "This is an ``IMAP4rev1`` extension command."
578
582
msgstr ""
579
583
580
- #: ../../library/imaplib.rst:496
584
+ #: ../../library/imaplib.rst:499
581
585
msgid ""
582
586
"Send a ``STARTTLS`` command. The *ssl_context* argument is optional and "
583
587
"should be a :class:`ssl.SSLContext` object. This will enable encryption on "
584
588
"the IMAP connection. Please read :ref:`ssl-security` for best practices."
585
589
msgstr ""
586
590
587
- #: ../../library/imaplib.rst:503
591
+ #: ../../library/imaplib.rst:506
588
592
msgid ""
589
593
"The method now supports hostname check with :attr:`ssl.SSLContext."
590
594
"check_hostname` and *Server Name Indication* (see :const:`ssl.HAS_SNI`)."
591
595
msgstr ""
592
596
593
- #: ../../library/imaplib.rst:511
597
+ #: ../../library/imaplib.rst:514
594
598
msgid "Request named status conditions for *mailbox*."
595
599
msgstr ""
596
600
597
- #: ../../library/imaplib.rst:516
601
+ #: ../../library/imaplib.rst:519
598
602
msgid ""
599
603
"Alters flag dispositions for messages in mailbox. *command* is specified by "
600
604
"section 6.4.6 of :rfc:`2060` as being one of \" FLAGS\" , \" +FLAGS\" , or \" -"
601
605
"FLAGS\" , optionally with a suffix of \" .SILENT\" ."
602
606
msgstr ""
603
607
604
- #: ../../library/imaplib.rst:520
608
+ #: ../../library/imaplib.rst:523
605
609
msgid "For example, to set the delete flag on all messages::"
606
610
msgstr ""
607
611
608
- #: ../../library/imaplib.rst:522
612
+ #: ../../library/imaplib.rst:525
609
613
msgid ""
610
614
"typ, data = M.search(None, 'ALL')\n"
611
615
"for num in data[0].split():\n"
@@ -617,7 +621,7 @@ msgstr ""
617
621
" M.store(num, '+FLAGS', '\\\\ Deleted')\n"
618
622
"M.expunge()"
619
623
620
- #: ../../library/imaplib.rst:529
624
+ #: ../../library/imaplib.rst:532
621
625
msgid ""
622
626
"Creating flags containing ']' (for example: \" [test]\" ) violates :rfc:`3501` "
623
627
"(the IMAP protocol). However, imaplib has historically allowed creation of "
@@ -629,24 +633,24 @@ msgid ""
629
633
"are sent from the server, since this improves real-world compatibility."
630
634
msgstr ""
631
635
632
- #: ../../library/imaplib.rst:541
636
+ #: ../../library/imaplib.rst:544
633
637
msgid "Subscribe to new mailbox."
634
638
msgstr ""
635
639
636
- #: ../../library/imaplib.rst:546
640
+ #: ../../library/imaplib.rst:549
637
641
msgid ""
638
642
"The ``thread`` command is a variant of ``search`` with threading semantics "
639
643
"for the results. Returned data contains a space separated list of thread "
640
644
"members."
641
645
msgstr ""
642
646
643
- #: ../../library/imaplib.rst:549
647
+ #: ../../library/imaplib.rst:552
644
648
msgid ""
645
649
"Thread members consist of zero or more messages numbers, delimited by "
646
650
"spaces, indicating successive parent and child."
647
651
msgstr ""
648
652
649
- #: ../../library/imaplib.rst:552
653
+ #: ../../library/imaplib.rst:555
650
654
msgid ""
651
655
"Thread has two arguments before the *search_criterion* argument(s); a "
652
656
"*threading_algorithm*, and the searching *charset*. Note that unlike "
@@ -659,66 +663,66 @@ msgid ""
659
663
"specified threading algorithm."
660
664
msgstr ""
661
665
662
- #: ../../library/imaplib.rst:567
666
+ #: ../../library/imaplib.rst:570
663
667
msgid ""
664
668
"Execute command args with messages identified by UID, rather than message "
665
669
"number. Returns response appropriate to command. At least one argument "
666
670
"must be supplied; if none are provided, the server will return an error and "
667
671
"an exception will be raised."
668
672
msgstr ""
669
673
670
- #: ../../library/imaplib.rst:575
674
+ #: ../../library/imaplib.rst:578
671
675
msgid "Unsubscribe from old mailbox."
672
676
msgstr ""
673
677
674
- #: ../../library/imaplib.rst:579
678
+ #: ../../library/imaplib.rst:582
675
679
msgid ""
676
680
":meth:`imaplib.IMAP4.unselect` frees server's resources associated with the "
677
681
"selected mailbox and returns the server to the authenticated state. This "
678
682
"command performs the same actions as :meth:`imaplib.IMAP4.close`, except "
679
683
"that no messages are permanently removed from the currently selected mailbox."
680
684
msgstr ""
681
685
682
- #: ../../library/imaplib.rst:589
686
+ #: ../../library/imaplib.rst:592
683
687
msgid ""
684
688
"Allow simple extension commands notified by server in ``CAPABILITY`` "
685
689
"response."
686
690
msgstr ""
687
691
688
- #: ../../library/imaplib.rst:592
692
+ #: ../../library/imaplib.rst:595
689
693
msgid "The following attributes are defined on instances of :class:`IMAP4`:"
690
694
msgstr ""
691
695
692
- #: ../../library/imaplib.rst:596
696
+ #: ../../library/imaplib.rst:599
693
697
msgid ""
694
698
"The most recent supported protocol in the ``CAPABILITY`` response from the "
695
699
"server."
696
700
msgstr ""
697
701
698
- #: ../../library/imaplib.rst:602
702
+ #: ../../library/imaplib.rst:605
699
703
msgid ""
700
704
"Integer value to control debugging output. The initialize value is taken "
701
705
"from the module variable ``Debug``. Values greater than three trace each "
702
706
"command."
703
707
msgstr ""
704
708
705
- #: ../../library/imaplib.rst:608
709
+ #: ../../library/imaplib.rst:611
706
710
msgid ""
707
711
"Boolean value that is normally ``False``, but is set to ``True`` if an :meth:"
708
712
"`enable` command is successfully issued for the ``UTF8=ACCEPT`` capability."
709
713
msgstr ""
710
714
711
- #: ../../library/imaplib.rst:618
715
+ #: ../../library/imaplib.rst:621
712
716
msgid "IMAP4 Example"
713
717
msgstr "IMAP4 範例"
714
718
715
- #: ../../library/imaplib.rst:620
719
+ #: ../../library/imaplib.rst:623
716
720
msgid ""
717
721
"Here is a minimal example (without error checking) that opens a mailbox and "
718
722
"retrieves and prints all messages::"
719
723
msgstr ""
720
724
721
- #: ../../library/imaplib.rst:623
725
+ #: ../../library/imaplib.rst:626
722
726
msgid ""
723
727
"import getpass, imaplib\n"
724
728
"\n"
0 commit comments