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
88f801d4
Kaydet (Commit)
88f801d4
authored
Agu 18, 2008
tarafından
Brett Cannon
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Update __all__ for cookielib, csv, os, and urllib2 for objects imported into
the module but exposed as part of the API.
üst
7b96f07f
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
6 deletions
+11
-6
cookielib.py
Lib/cookielib.py
+2
-1
csv.py
Lib/csv.py
+2
-1
os.py
Lib/os.py
+1
-1
urllib2.py
Lib/urllib2.py
+2
-2
weakref.py
Lib/weakref.py
+1
-1
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/cookielib.py
Dosyayı görüntüle @
88f801d4
...
...
@@ -26,7 +26,8 @@ http://wwwsearch.sf.net/):
"""
__all__
=
[
'Cookie'
,
'CookieJar'
,
'CookiePolicy'
,
'DefaultCookiePolicy'
,
'FileCookieJar'
,
'LWPCookieJar'
,
'LoadError'
,
'MozillaCookieJar'
]
'FileCookieJar'
,
'LWPCookieJar'
,
'lwp_cookie_str'
,
'LoadError'
,
'MozillaCookieJar'
]
import
re
,
urlparse
,
copy
,
time
,
urllib
try
:
...
...
Lib/csv.py
Dosyayı görüntüle @
88f801d4
...
...
@@ -18,7 +18,8 @@ except ImportError:
from
StringIO
import
StringIO
__all__
=
[
"QUOTE_MINIMAL"
,
"QUOTE_ALL"
,
"QUOTE_NONNUMERIC"
,
"QUOTE_NONE"
,
"Error"
,
"Dialect"
,
"excel"
,
"excel_tab"
,
"reader"
,
"writer"
,
"Error"
,
"Dialect"
,
"__doc__"
,
"excel"
,
"excel_tab"
,
"field_size_limit"
,
"reader"
,
"writer"
,
"register_dialect"
,
"get_dialect"
,
"list_dialects"
,
"Sniffer"
,
"unregister_dialect"
,
"__version__"
,
"DictReader"
,
"DictWriter"
]
...
...
Lib/os.py
Dosyayı görüntüle @
88f801d4
...
...
@@ -28,7 +28,7 @@ import sys, errno
_names
=
sys
.
builtin_module_names
# Note: more names are added to __all__ later.
__all__
=
[
"altsep"
,
"curdir"
,
"pardir"
,
"sep"
,
"pathsep"
,
"linesep"
,
__all__
=
[
"altsep"
,
"curdir"
,
"pardir"
,
"sep"
,
"
extsep"
,
"
pathsep"
,
"linesep"
,
"defpath"
,
"name"
,
"path"
,
"devnull"
,
"SEEK_SET"
,
"SEEK_CUR"
,
"SEEK_END"
]
...
...
Lib/urllib2.py
Dosyayı görüntüle @
88f801d4
...
...
@@ -107,8 +107,8 @@ except ImportError:
from
StringIO
import
StringIO
from
urllib
import
(
unwrap
,
unquote
,
splittype
,
splithost
,
quote
,
addinfourl
,
splitport
,
splitquery
,
splitattr
,
ftpwrapper
,
noheaders
,
splituser
,
splitpasswd
,
splitvalue
)
addinfourl
,
splitport
,
splitattr
,
ftpwrapper
,
splituser
,
splitpasswd
,
splitvalue
)
# support for FileHandler, proxies via environment variables
from
urllib
import
localhost
,
url2pathname
,
getproxies
...
...
Lib/weakref.py
Dosyayı görüntüle @
88f801d4
...
...
@@ -26,7 +26,7 @@ from exceptions import ReferenceError
ProxyTypes
=
(
ProxyType
,
CallableProxyType
)
__all__
=
[
"ref"
,
"proxy"
,
"getweakrefcount"
,
"getweakrefs"
,
"WeakKeyDictionary"
,
"ReferenceType"
,
"ProxyType"
,
"WeakKeyDictionary"
,
"Reference
Error"
,
"Reference
Type"
,
"ProxyType"
,
"CallableProxyType"
,
"ProxyTypes"
,
"WeakValueDictionary"
]
...
...
Misc/NEWS
Dosyayı görüntüle @
88f801d4
...
...
@@ -48,6 +48,9 @@ Core and Builtins
Library
-------
- Update __all__ for cookielib, csv, os, urllib2, and weakref to include things
imported into the module but exposed as part of the module's API.
- Remove an unneeded import of abc.ABCMeta from 'inspect'.
- Remove unneeded imports of 'sys' and 'warnings' from 'io'.
...
...
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