Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
40fc1605
Commit
40fc1605
authored
Mar 01, 2001
by
Skip Montanaro
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
final round of __all__ lists (I hope) - skipped urllib2 because Moshe may be
giving it a slight facelift
parent
58eadbaf
Changes
17
Hide whitespace changes
Inline
Side-by-side
Showing
17 changed files
with
59 additions
and
1 deletion
+59
-1
Lib/tabnanny.py
Lib/tabnanny.py
+2
-0
Lib/telnetlib.py
Lib/telnetlib.py
+2
-0
Lib/tempfile.py
Lib/tempfile.py
+2
-0
Lib/test/test___all__.py
Lib/test/test___all__.py
+16
-0
Lib/toaiff.py
Lib/toaiff.py
+2
-0
Lib/tokenize.py
Lib/tokenize.py
+5
-1
Lib/traceback.py
Lib/traceback.py
+5
-0
Lib/tty.py
Lib/tty.py
+2
-0
Lib/urllib.py
Lib/urllib.py
+4
-0
Lib/urlparse.py
Lib/urlparse.py
+2
-0
Lib/uu.py
Lib/uu.py
+2
-0
Lib/warnings.py
Lib/warnings.py
+3
-0
Lib/wave.py
Lib/wave.py
+2
-0
Lib/weakref.py
Lib/weakref.py
+3
-0
Lib/webbrowser.py
Lib/webbrowser.py
+2
-0
Lib/xdrlib.py
Lib/xdrlib.py
+2
-0
Lib/zipfile.py
Lib/zipfile.py
+3
-0
No files found.
Lib/tabnanny.py
View file @
40fc1605
...
...
@@ -16,6 +16,8 @@ import string
import
getopt
import
tokenize
__all__
=
[
"check"
]
verbose
=
0
filename_only
=
0
...
...
Lib/telnetlib.py
View file @
40fc1605
...
...
@@ -41,6 +41,8 @@ import sys
import
socket
import
select
__all__
=
[
"Telnet"
]
# Tunable parameters
DEBUGLEVEL
=
0
...
...
Lib/tempfile.py
View file @
40fc1605
...
...
@@ -6,6 +6,8 @@
import
os
__all__
=
[
"mktemp"
,
"TemporaryFile"
,
"tempdir"
,
"gettempprefix"
]
# Parameters that the caller may set to override the defaults
tempdir
=
None
template
=
None
...
...
Lib/test/test___all__.py
View file @
40fc1605
...
...
@@ -135,3 +135,19 @@ check_all("sndhdr")
check_all
(
"socket"
)
check_all
(
"sre"
)
check_all
(
"stat_cache"
)
check_all
(
"tabnanny"
)
check_all
(
"telnetlib"
)
check_all
(
"tempfile"
)
check_all
(
"toaiff"
)
check_all
(
"tokenize"
)
check_all
(
"traceback"
)
check_all
(
"tty"
)
check_all
(
"urllib"
)
check_all
(
"urlparse"
)
check_all
(
"uu"
)
check_all
(
"warnings"
)
check_all
(
"wave"
)
check_all
(
"weakref"
)
check_all
(
"webbrowser"
)
check_all
(
"xdrlib"
)
check_all
(
"zipfile"
)
Lib/toaiff.py
View file @
40fc1605
...
...
@@ -13,6 +13,8 @@ import tempfile
import
pipes
import
sndhdr
__all__
=
[
"error"
,
"toaiff"
]
table
=
{}
t
=
pipes
.
Template
()
...
...
Lib/tokenize.py
View file @
40fc1605
...
...
@@ -14,11 +14,15 @@ __version__ = "Ka-Ping Yee, 26 October 1997; patched, GvR 3/30/98"
import
string
,
re
from
token
import
*
import
token
__all__
=
[
x
for
x
in
dir
(
token
)
if
x
[
0
]
!=
'_'
]
+
[
"COMMENT"
,
"tokenize"
,
"NL"
]
del
token
COMMENT
=
N_TOKENS
tok_name
[
COMMENT
]
=
'COMMENT'
NL
=
N_TOKENS
+
1
tok_name
[
NL
]
=
'NL'
N_TOKENS
+=
2
# Changes from 1.3:
# Ignore now accepts \f as whitespace. Operator now includes '**'.
...
...
Lib/traceback.py
View file @
40fc1605
...
...
@@ -4,6 +4,11 @@ import linecache
import
sys
import
types
__all__
=
[
'extract_stack'
,
'extract_tb'
,
'format_exception'
,
'format_exception_only'
,
'format_list'
,
'format_stack'
,
'format_tb'
,
'print_exc'
,
'print_exception'
,
'print_last'
,
'print_stack'
,
'print_tb'
,
'tb_lineno'
]
def
_print
(
file
,
str
=
''
,
terminator
=
'
\
n
'
):
file
.
write
(
str
+
terminator
)
...
...
Lib/tty.py
View file @
40fc1605
...
...
@@ -4,6 +4,8 @@
from
termios
import
*
__all__
=
[
"setraw"
,
"setcbreak"
]
# Indexes for termios list.
IFLAG
=
0
OFLAG
=
1
...
...
Lib/urllib.py
View file @
40fc1605
...
...
@@ -28,6 +28,10 @@ import os
import
sys
import
types
__all__
=
[
"urlopen"
,
"URLopener"
,
"FancyURLopener"
,
"urlretrieve"
,
"urlcleanup"
,
"quote"
,
"quote_plus"
,
"unquote"
,
"unquote_plus"
,
"urlencode"
]
__version__
=
'1.15'
# XXX This version is not always updated :-(
MAXFTPCACHE
=
10
# Trim the ftp cache beyond this size
...
...
Lib/urlparse.py
View file @
40fc1605
...
...
@@ -4,6 +4,8 @@ See RFC 1808: "Relative Uniform Resource Locators", by R. Fielding,
UC Irvine, June 1995.
"""
__all__
=
[
"urlparse"
,
"urlunparse"
,
"urljoin"
]
# A classification of schemes ('' means apply by default)
uses_relative
=
[
'ftp'
,
'http'
,
'gopher'
,
'nntp'
,
'wais'
,
'file'
,
'https'
,
'shttp'
,
...
...
Lib/uu.py
View file @
40fc1605
...
...
@@ -34,6 +34,8 @@ import binascii
import
os
import
sys
__all__
=
[
"Error"
,
"encode"
,
"decode"
]
class
Error
(
Exception
):
pass
...
...
Lib/warnings.py
View file @
40fc1605
...
...
@@ -2,6 +2,9 @@
import
sys
,
re
,
types
__all__
=
[
"warn"
,
"showwarning"
,
"formatwarning"
,
"filterwarnings"
,
"resetwarnings"
]
defaultaction
=
"default"
filters
=
[]
onceregistry
=
{}
...
...
Lib/wave.py
View file @
40fc1605
...
...
@@ -73,6 +73,8 @@ is destroyed.
import
__builtin__
__all__
=
[
"open"
,
"openfp"
,
"Error"
]
class
Error
(
Exception
):
pass
...
...
Lib/weakref.py
View file @
40fc1605
...
...
@@ -19,6 +19,9 @@ from _weakref import \
ProxyTypes
=
(
ProxyType
,
CallableProxyType
)
__all__
=
[
"ref"
,
"mapping"
,
"proxy"
,
"getweakrefcount"
,
"getweakrefs"
,
"WeakKeyDictionary"
,
"ReferenceType"
,
"ProxyType"
,
"CallableProxyType"
,
"ProxyTypes"
,
"WeakValueDictionary"
]
def
mapping
(
dict
=
None
,
weakkeys
=
0
):
if
weakkeys
:
...
...
Lib/webbrowser.py
View file @
40fc1605
...
...
@@ -3,6 +3,8 @@
import
os
import
sys
__all__
=
[
"Error"
,
"open"
,
"get"
,
"register"
]
class
Error
(
Exception
):
pass
...
...
Lib/xdrlib.py
View file @
40fc1605
...
...
@@ -6,6 +6,8 @@ See: RFC 1014
import
struct
__all__
=
[
"Error"
,
"Packer"
,
"Unpacker"
,
"ConversionError"
]
# exceptions
class
Error
:
"""Exception class for this module. Use:
...
...
Lib/zipfile.py
View file @
40fc1605
...
...
@@ -10,6 +10,9 @@ try:
except
:
zlib
=
None
__all__
=
[
"BadZipfile"
,
"error"
,
"ZIP_STORED"
,
"ZIP_DEFLATED"
,
"is_zipfile"
,
"ZipInfo"
,
"ZipFile"
,
"PyZipFile"
]
class
BadZipfile
(
Exception
):
pass
error
=
BadZipfile
# The exception raised by this module
...
...
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