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
dcfebb32
Kaydet (Commit)
dcfebb32
authored
Nis 01, 2016
tarafından
Martin Panter
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #26676: Add missing XMLPullParser to ElementTree.__all__
üst
0a85c69f
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
4 deletions
+9
-4
3.6.rst
Doc/whatsnew/3.6.rst
+2
-1
test_xml_etree.py
Lib/test/test_xml_etree.py
+4
-2
ElementTree.py
Lib/xml/etree/ElementTree.py
+1
-1
NEWS
Misc/NEWS
+2
-0
No files found.
Doc/whatsnew/3.6.rst
Dosyayı görüntüle @
dcfebb32
...
...
@@ -460,7 +460,8 @@ Changes in the Python API
* The following modules have had missing APIs added to their :attr:`__all__`
attributes to match the documented APIs: :mod:`calendar`, :mod:`csv`,
:mod:`enum`, :mod:`fileinput`, :mod:`ftplib`, :mod:`logging`,
:mod:`~xml.etree.ElementTree`, :mod:`enum`,
:mod:`fileinput`, :mod:`ftplib`, :mod:`logging`,
:mod:`optparse`, :mod:`tarfile`, :mod:`threading` and
:mod:`wave`. This means they will export new symbols when ``import *``
is used. See :issue:`23883`.
...
...
Lib/test/test_xml_etree.py
Dosyayı görüntüle @
dcfebb32
...
...
@@ -91,8 +91,6 @@ ENTITY_XML = """\
class
ModuleTest
(
unittest
.
TestCase
):
# TODO: this should be removed once we get rid of the global module vars
def
test_sanity
(
self
):
# Import sanity.
...
...
@@ -100,6 +98,10 @@ class ModuleTest(unittest.TestCase):
from
xml.etree
import
ElementInclude
from
xml.etree
import
ElementPath
def
test_all
(
self
):
names
=
(
"xml.etree.ElementTree"
,
"_elementtree"
)
support
.
check__all__
(
self
,
ET
,
names
,
blacklist
=
(
"HTML_EMPTY"
,))
def
serialize
(
elem
,
to_string
=
True
,
encoding
=
'unicode'
,
**
options
):
if
encoding
!=
'unicode'
:
...
...
Lib/xml/etree/ElementTree.py
Dosyayı görüntüle @
dcfebb32
...
...
@@ -85,7 +85,7 @@ __all__ = [
"TreeBuilder"
,
"VERSION"
,
"XML"
,
"XMLID"
,
"XMLParser"
,
"XMLParser"
,
"XMLPullParser"
,
"register_namespace"
,
]
...
...
Misc/NEWS
Dosyayı görüntüle @
dcfebb32
...
...
@@ -237,6 +237,8 @@ Core and Builtins
Library
-------
-
Issue
#
26676
:
Added
missing
XMLPullParser
to
ElementTree
.
__all__
.
-
Issue
#
22854
:
Change
BufferedReader
.
writable
()
and
BufferedWriter
.
readable
()
to
always
return
False
.
...
...
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