Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
0e207dff
Kaydet (Commit)
0e207dff
authored
Ock 10, 2010
tarafından
R. David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #7119: document that a program-generated Message object
tree may be mutated when serialized.
üst
2e3da14d
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
3 deletions
+10
-3
email.generator.rst
Doc/library/email.generator.rst
+4
-1
email.message.rst
Doc/library/email.message.rst
+4
-1
email.mime.rst
Doc/library/email.mime.rst
+2
-1
No files found.
Doc/library/email.generator.rst
Dosyayı görüntüle @
0e207dff
...
@@ -17,7 +17,10 @@ yourself. However the bundled generator knows how to generate most email in a
...
@@ -17,7 +17,10 @@ yourself. However the bundled generator knows how to generate most email in a
standards-compliant way, should handle MIME and non-MIME email messages just
standards-compliant way, should handle MIME and non-MIME email messages just
fine, and is designed so that the transformation from flat text, to a message
fine, and is designed so that the transformation from flat text, to a message
structure via the :class:`~email.parser.Parser` class, and back to flat text,
structure via the :class:`~email.parser.Parser` class, and back to flat text,
is idempotent (the input is identical to the output).
is idempotent (the input is identical to the output). On the other hand, using
the Generator on a :class:`~email.message.Message` constructed by program may
result in changes to the :class:`~email.message.Message` object as defaults are
filled in.
Here are the public methods of the :class:`Generator` class, imported from the
Here are the public methods of the :class:`Generator` class, imported from the
:mod:`email.generator` module:
:mod:`email.generator` module:
...
...
Doc/library/email.message.rst
Dosyayı görüntüle @
0e207dff
...
@@ -40,7 +40,10 @@ Here are the methods of the :class:`Message` class:
...
@@ -40,7 +40,10 @@ Here are the methods of the :class:`Message` class:
Return the entire message flattened as a string. When optional *unixfrom*
Return the entire message flattened as a string. When optional *unixfrom*
is ``True``, the envelope header is included in the returned string.
is ``True``, the envelope header is included in the returned string.
*unixfrom* defaults to ``False``.
*unixfrom* defaults to ``False``. Flattening the message may trigger
changes to the :class:`Message` if defaults need to be filled in to
complete the transformation to a string (for example, MIME boundaries may
be generated or modified).
Note that this method is provided as a convenience and may not always
Note that this method is provided as a convenience and may not always
format the message the way you want. For example, by default it mangles
format the message the way you want. For example, by default it mangles
...
...
Doc/library/email.mime.rst
Dosyayı görüntüle @
0e207dff
...
@@ -71,7 +71,8 @@ Here are the classes:
...
@@ -71,7 +71,8 @@ Here are the classes:
also be added.
also be added.
Optional *boundary* is the multipart boundary string. When ``None`` (the
Optional *boundary* is the multipart boundary string. When ``None`` (the
default), the boundary is calculated when needed.
default), the boundary is calculated when needed (for example, when the
message is serialized).
*_subparts* is a sequence of initial subparts for the payload. It must be
*_subparts* is a sequence of initial subparts for the payload. It must be
possible to convert this sequence to a list. You can always attach new subparts
possible to convert this sequence to a list. You can always attach new subparts
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment