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
bb26b453
Kaydet (Commit)
bb26b453
authored
Tem 19, 2002
tarafından
Barry Warsaw
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Parser.__init__(): The consensus on the mimelib-devel list is that
non-strict parsing should be the default. Make it so.
üst
c1068642
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
Parser.py
Lib/email/Parser.py
+2
-2
No files found.
Lib/email/Parser.py
Dosyayı görüntüle @
bb26b453
...
...
@@ -16,7 +16,7 @@ NL = '\n'
class
Parser
:
def
__init__
(
self
,
_class
=
Message
.
Message
,
strict
=
1
):
def
__init__
(
self
,
_class
=
Message
.
Message
,
strict
=
0
):
"""Parser of RFC 2822 and MIME email messages.
Creates an in-memory object tree representing the email message, which
...
...
@@ -36,7 +36,7 @@ class Parser:
more forgiving in parsing of ill-formatted MIME documents. When
non-strict mode is used, the parser will try to make up for missing or
erroneous boundaries and other peculiarities seen in the wild.
Default
s to
strict parsing.
Default
is non-
strict parsing.
"""
self
.
_class
=
_class
self
.
_strict
=
strict
...
...
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