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
41e36676
Kaydet (Commit)
41e36676
authored
Agu 20, 2008
tarafından
Amaury Forgeot d'Arc
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
#3614: Correct a typo in xmlrpc.client.
üst
84c43ab5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
client.py
Lib/xmlrpc/client.py
+2
-2
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/xmlrpc/client.py
Dosyayı görüntüle @
41e36676
...
@@ -1203,7 +1203,7 @@ class Transport:
...
@@ -1203,7 +1203,7 @@ class Transport:
headers
=
{}
headers
=
{}
if
extra_headers
:
if
extra_headers
:
for
key
,
val
in
extra_headers
:
for
key
,
val
in
extra_headers
:
header
[
key
]
=
val
header
s
[
key
]
=
val
headers
[
"Content-Type"
]
=
"text/xml"
headers
[
"Content-Type"
]
=
"text/xml"
headers
[
"User-Agent"
]
=
self
.
user_agent
headers
[
"User-Agent"
]
=
self
.
user_agent
connection
.
request
(
"POST"
,
handler
,
request_body
,
headers
)
connection
.
request
(
"POST"
,
handler
,
request_body
,
headers
)
...
@@ -1271,7 +1271,7 @@ class SafeTransport(Transport):
...
@@ -1271,7 +1271,7 @@ class SafeTransport(Transport):
headers
=
{}
headers
=
{}
if
extra_headers
:
if
extra_headers
:
for
key
,
val
in
extra_headers
:
for
key
,
val
in
extra_headers
:
header
[
key
]
=
val
header
s
[
key
]
=
val
headers
[
"Content-Type"
]
=
"text/xml"
headers
[
"Content-Type"
]
=
"text/xml"
headers
[
"User-Agent"
]
=
self
.
user_agent
headers
[
"User-Agent"
]
=
self
.
user_agent
connection
.
request
(
"POST"
,
handler
,
request_body
,
headers
)
connection
.
request
(
"POST"
,
handler
,
request_body
,
headers
)
...
...
Misc/NEWS
Dosyayı görüntüle @
41e36676
...
@@ -46,6 +46,9 @@ Core and Builtins
...
@@ -46,6 +46,9 @@ Core and Builtins
Library
Library
-------
-------
- Issue #3614: Corrected a typo in xmlrpc.client, leading to a NameError
"global name 'header' is not defined".
- Issue #2834: update the regular expression library to match the unicode
- Issue #2834: update the regular expression library to match the unicode
standards of py3k. In other words, mixing bytes and unicode strings
standards of py3k. In other words, mixing bytes and unicode strings
(be it as pattern, search string or replacement string) raises a TypeError.
(be it as pattern, search string or replacement string) raises a TypeError.
...
...
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