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
6cd441d1
Kaydet (Commit)
6cd441d1
authored
Tem 31, 2001
tarafından
Martin v. Löwis
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Add dead imports of modules that are "magically" imported.
üst
bbe500e5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
0 deletions
+11
-0
codecs.py
Lib/codecs.py
+6
-0
__init__.py
Lib/xml/sax/__init__.py
+5
-0
No files found.
Lib/codecs.py
Dosyayı görüntüle @
6cd441d1
...
...
@@ -575,6 +575,12 @@ def make_encoding_map(decoding_map):
m
[
v
]
=
None
return
m
# Tell modulefinder that using codecs probably needs the encodings
# package
_false
=
0
if
_false
:
import
encodings
### Tests
if
__name__
==
'__main__'
:
...
...
Lib/xml/sax/__init__.py
Dosyayı görüntüle @
6cd441d1
...
...
@@ -53,6 +53,11 @@ def parseString(string, handler, errorHandler=ErrorHandler()):
default_parser_list
=
[
"xml.sax.expatreader"
]
# tell modulefinder that importing sax potentially imports expatreader
_false
=
0
if
_false
:
import
xml.sax.expatreader
import
os
,
string
,
sys
if
os
.
environ
.
has_key
(
"PY_SAX_PARSER"
):
default_parser_list
=
string
.
split
(
os
.
environ
[
"PY_SAX_PARSER"
],
","
)
...
...
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