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
ea57923e
Kaydet (Commit)
ea57923e
authored
Agu 21, 2017
tarafından
Łukasz Langa
Kaydeden (comit)
GitHub
Agu 21, 2017
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
bpo-23835: [docs] configparser converts defaults to strings (#3176)
Title says all.
üst
44e6ad87
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
configparser.rst
Doc/library/configparser.rst
+5
-1
ACKS
Misc/ACKS
+1
-0
2017-08-21-16-06-19.bpo-23835.da_4Kz.rst
...S.d/next/Library/2017-08-21-16-06-19.bpo-23835.da_4Kz.rst
+4
-0
No files found.
Doc/library/configparser.rst
Dosyayı görüntüle @
ea57923e
...
...
@@ -944,6 +944,11 @@ ConfigParser Objects
.. versionchanged:: 3.5
The *converters* argument was added.
.. versionchanged:: 3.7
The *defaults* argument is read with :meth:`read_dict()`,
providing consistent behavior across the parser: non-string
keys and values are implicitly converted to strings.
.. method:: defaults()
...
...
@@ -1325,4 +1330,3 @@ Exceptions
.. [1] Config parsers allow for heavy customization. If you are interested in
changing the behaviour outlined by the footnote reference, consult the
`Customizing Parser Behaviour`_ section.
Misc/ACKS
Dosyayı görüntüle @
ea57923e
...
...
@@ -1578,6 +1578,7 @@ Jason Tishler
Christian Tismer
Jim Tittsler
Frank J. Tobin
James Tocknell
Bennett Todd
R Lindsay Todd
Eugene Toder
...
...
Misc/NEWS.d/next/Library/2017-08-21-16-06-19.bpo-23835.da_4Kz.rst
0 → 100644
Dosyayı görüntüle @
ea57923e
configparser: reading defaults in the ``ConfigParser()`` constructor is now
using ``read_dict()``, making its behavior consistent with the rest of the
parser. Non-string keys and values in the defaults dictionary are now being
implicitly converted to strings. Patch by James Tocknell.
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