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
95a8dfb9
Kaydet (Commit)
95a8dfb9
authored
Mar 23, 2014
tarafından
R David Murray
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#20976: remove unneeded quopri import in email.utils.
üst
f8cbbbb6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
4 deletions
+2
-4
message.py
Lib/email/message.py
+2
-1
utils.py
Lib/email/utils.py
+0
-3
No files found.
Lib/email/message.py
Dosyayı görüntüle @
95a8dfb9
...
...
@@ -8,6 +8,7 @@ __all__ = ['Message']
import
re
import
uu
import
quopri
from
io
import
BytesIO
,
StringIO
# Intrapackage imports
...
...
@@ -278,7 +279,7 @@ class Message:
if
not
decode
:
return
payload
if
cte
==
'quoted-printable'
:
return
utils
.
_qdecode
(
bpayload
)
return
quopri
.
decodestring
(
bpayload
)
elif
cte
==
'base64'
:
# XXX: this is a bit of a hack; decode_b should probably be factored
# out somewhere, but I haven't figured out where yet.
...
...
Lib/email/utils.py
Dosyayı görüntüle @
95a8dfb9
...
...
@@ -36,10 +36,7 @@ from email._parseaddr import mktime_tz
from
email._parseaddr
import
parsedate
,
parsedate_tz
,
_parsedate_tz
from
quopri
import
decodestring
as
_qdecode
# Intrapackage imports
from
email.encoders
import
_bencode
,
_qencode
from
email.charset
import
Charset
COMMASPACE
=
', '
...
...
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