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
85ba673b
Kaydet (Commit)
85ba673b
authored
Şub 28, 2001
tarafından
Tim Peters
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Whitespace normalization.
üst
8de0c171
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
11 additions
and
12 deletions
+11
-12
__future__.py
Lib/__future__.py
+4
-4
inspect.py
Lib/inspect.py
+1
-1
pydoc.py
Lib/pydoc.py
+2
-2
test_global.py
Lib/test/test_global.py
+0
-1
urllib.py
Lib/urllib.py
+3
-3
webbrowser.py
Lib/webbrowser.py
+1
-1
No files found.
Lib/__future__.py
Dosyayı görüntüle @
85ba673b
...
...
@@ -24,18 +24,18 @@ OptionalRelease records the first release in which
was accepted.
In the case of MandatoryReleases that have not yet occurred,
MandatoryRelease predicts the release in which the feature will become part
In the case of MandatoryReleases that have not yet occurred,
MandatoryRelease predicts the release in which the feature will become part
of the language.
Else MandatoryRelease records when the feature became part of the language;
Else MandatoryRelease records when the feature became part of the language;
in releases at or after that, modules no longer need
from __future__ import FeatureName
to use the feature in question, but may continue to use such imports.
MandatoryRelease may also be None, meaning that a planned feature got
MandatoryRelease may also be None, meaning that a planned feature got
dropped.
No line is ever to be deleted from this file.
...
...
Lib/inspect.py
Dosyayı görüntüle @
85ba673b
...
...
@@ -612,5 +612,5 @@ def stack(context=1):
return
getouterframes
(
currentframe
()
.
f_back
,
context
)
def
trace
(
context
=
1
):
"""Return a list of records for the stack below the current exception."""
"""Return a list of records for the stack below the current exception."""
return
getinnerframes
(
sys
.
exc_traceback
,
context
)
Lib/pydoc.py
Dosyayı görüntüle @
85ba673b
...
...
@@ -445,7 +445,7 @@ class HTMLDoc(Doc):
modpkgs
.
append
((
modname
,
name
,
0
,
0
))
modnames
.
append
(
modname
)
elif
ispackage
(
path
):
modpkgs
.
append
((
file
,
name
,
1
,
0
))
modpkgs
.
append
((
file
,
name
,
1
,
0
))
modpkgs
.
sort
()
contents
=
self
.
multicolumn
(
modpkgs
,
self
.
modpkglink
)
result
=
result
+
self
.
bigsection
(
...
...
@@ -576,7 +576,7 @@ class HTMLDoc(Doc):
if
ispackage
(
path
):
found
(
file
,
1
)
for
file
in
files
:
path
=
os
.
path
.
join
(
dir
,
file
)
if
file
[:
1
]
!=
'_'
and
os
.
path
.
isfile
(
path
):
if
file
[:
1
]
!=
'_'
and
os
.
path
.
isfile
(
path
):
modname
=
modulename
(
file
)
if
modname
:
found
(
modname
,
0
)
...
...
Lib/test/test_global.py
Dosyayı görüntüle @
85ba673b
...
...
@@ -37,4 +37,3 @@ def wrong3():
global x
"""
compile_and_catch_warning
(
prog_text_3
)
Lib/urllib.py
Dosyayı görüntüle @
85ba673b
...
...
@@ -561,17 +561,17 @@ class FancyURLopener(URLopener):
See this URL for a description of the basic authentication scheme:
http://www.ics.uci.edu/pub/ietf/http/draft-ietf-http-v10-spec-00.txt"""
if
not
headers
.
has_key
(
'www-authenticate'
):
URLopener
.
http_error_default
(
self
,
url
,
fp
,
URLopener
.
http_error_default
(
self
,
url
,
fp
,
errmsg
,
headers
)
stuff
=
headers
[
'www-authenticate'
]
import
re
match
=
re
.
match
(
'[
\t
]*([^
\t
]+)[
\t
]+realm="([^"]*)"'
,
stuff
)
if
not
match
:
URLopener
.
http_error_default
(
self
,
url
,
fp
,
URLopener
.
http_error_default
(
self
,
url
,
fp
,
errcode
,
errmsg
,
headers
)
scheme
,
realm
=
match
.
groups
()
if
scheme
.
lower
()
!=
'basic'
:
URLopener
.
http_error_default
(
self
,
url
,
fp
,
URLopener
.
http_error_default
(
self
,
url
,
fp
,
errcode
,
errmsg
,
headers
)
name
=
'retry_'
+
self
.
type
+
'_basic_auth'
if
data
is
None
:
...
...
Lib/webbrowser.py
Dosyayı görüntüle @
85ba673b
...
...
@@ -154,7 +154,7 @@ if os.environ.get("TERM") or os.environ.get("DISPLAY"):
def
open
(
self
,
url
,
new
=
1
,
autoraise
=
1
):
# XXX Currently I know no way to prevent KFM from
# opening a new win.
# opening a new win.
self
.
_remote
(
"openURL
%
s"
%
url
)
# Deprecated. May be removed in 2.1.
...
...
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