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
352674d0
Kaydet (Commit)
352674d0
authored
Şub 07, 2001
tarafından
Skip Montanaro
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
a few more __all__ lists
üst
cc012e92
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
15 additions
and
1 deletion
+15
-1
pdb.py
Lib/pdb.py
+3
-0
pickle.py
Lib/pickle.py
+3
-0
pipes.py
Lib/pipes.py
+2
-1
popen2.py
Lib/popen2.py
+3
-0
test___all__.py
Lib/test/test___all__.py
+4
-0
No files found.
Lib/pdb.py
Dosyayı görüntüle @
352674d0
...
...
@@ -13,6 +13,9 @@ import repr
import
os
import
re
__all__
=
[
"run"
,
"pm"
,
"Pdb"
,
"runeval"
,
"runctx"
,
"runcall"
,
"set_trace"
,
"post_mortem"
,
"help"
]
def
find_function
(
funcname
,
filename
):
cre
=
re
.
compile
(
r'def\s+
%
s\s*[(]'
%
funcname
)
try
:
...
...
Lib/pickle.py
Dosyayı görüntüle @
352674d0
...
...
@@ -31,6 +31,9 @@ import marshal
import
sys
import
struct
__all__
=
[
"PickleError"
,
"PicklingError"
,
"UnpicklingError"
,
"Pickler"
,
"Unpickler"
,
"dump"
,
"dumps"
,
"load"
,
"loads"
]
format_version
=
"1.3"
# File format version we write
compatible_formats
=
[
"1.0"
,
"1.1"
,
"1.2"
]
# Old format versions we can read
...
...
Lib/pipes.py
Dosyayı görüntüle @
352674d0
...
...
@@ -56,7 +56,7 @@ To create a new template object initialized to a given one:
t2 = t.clone()
For an example, see the function test() at the end of the file.
"""
"""
# '
import
sys
...
...
@@ -66,6 +66,7 @@ import os
import
tempfile
import
string
__all__
=
[
"Template"
]
# Conversion step kinds
...
...
Lib/popen2.py
Dosyayı görüntüle @
352674d0
...
...
@@ -9,6 +9,8 @@ and popen3(cmd) which return two or three pipes to the spawned command.
import
os
import
sys
__all__
=
[
"popen2"
,
"popen3"
,
"popen4"
]
MAXFD
=
256
# Max number of file descriptors (os.getdtablesize()???)
_active
=
[]
...
...
@@ -155,6 +157,7 @@ else:
inst
=
Popen4
(
cmd
,
bufsize
)
return
inst
.
fromchild
,
inst
.
tochild
__all__
.
extend
([
"Popen3"
,
"Popen4"
])
def
_test
():
cmd
=
"cat"
...
...
Lib/test/test___all__.py
Dosyayı görüntüle @
352674d0
...
...
@@ -95,4 +95,8 @@ check_all("nntplib")
check_all
(
"ntpath"
)
check_all
(
"nturl2path"
)
check_all
(
"os"
)
check_all
(
"pdb"
)
check_all
(
"pickle"
)
check_all
(
"pipes"
)
check_all
(
"popen2"
)
check_all
(
"robotparser"
)
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