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
0a85c69f
Kaydet (Commit)
0a85c69f
authored
Mar 31, 2016
tarafından
Ned Deily
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Revert back to 3.6.0, buildbots do not want chocolate for 04-01
üst
49f324f1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
59 deletions
+3
-59
patchlevel.h
Include/patchlevel.h
+3
-3
pep8.py
Lib/pep8.py
+0
-0
site.py
Lib/site.py
+0
-56
No files found.
Include/patchlevel.h
Dosyayı görüntüle @
0a85c69f
...
@@ -16,14 +16,14 @@
...
@@ -16,14 +16,14 @@
/* Version parsed out into numeric values */
/* Version parsed out into numeric values */
/*--start constants--*/
/*--start constants--*/
#define PY_MAJOR_VERSION
8
#define PY_MAJOR_VERSION
3
#define PY_MINOR_VERSION
0
#define PY_MINOR_VERSION
6
#define PY_MICRO_VERSION 0
#define PY_MICRO_VERSION 0
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA
#define PY_RELEASE_SERIAL 0
#define PY_RELEASE_SERIAL 0
/* Version as a string */
/* Version as a string */
#define PY_VERSION "
8.0
.0a0"
#define PY_VERSION "
3.6
.0a0"
/*--end constants--*/
/*--end constants--*/
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
...
...
Lib/pep8.py
deleted
100644 → 0
Dosyayı görüntüle @
49f324f1
This diff is collapsed.
Click to expand it.
Lib/site.py
Dosyayı görüntüle @
0a85c69f
...
@@ -623,59 +623,3 @@ def _script():
...
@@ -623,59 +623,3 @@ def _script():
if
__name__
==
'__main__'
:
if
__name__
==
'__main__'
:
_script
()
_script
()
def
no_chocolate
():
import
io
import
pep8
import
random
import
shutil
import
tokenize
_builtin_compile
=
builtins
.
compile
words
=
(
'chocolate'
,
'glory'
,
'fun'
,
'spam'
,
'love'
,
'guts'
)
pep8style
=
pep8
.
StyleGuide
()
def
compile_pep8
(
source
,
filename
,
mode
,
**
kw
):
name
=
os
.
path
.
splitext
(
os
.
path
.
basename
(
filename
))[
0
]
if
not
name
.
endswith
(
'_noqa'
):
bio
=
io
.
BytesIO
(
source
)
encoding
=
tokenize
.
detect_encoding
(
bio
.
readline
)[
0
]
lines
=
source
.
decode
(
encoding
)
.
splitlines
(
True
)
report
=
pep8
.
StandardReport
(
options
=
pep8style
.
options
)
checker
=
pep8
.
Checker
(
filename
,
lines
,
report
=
report
,
options
=
pep8style
.
options
)
checker
.
check_all
()
if
report
.
total_errors
:
word
=
random
.
choice
(
words
)
raise
ImportError
(
"no pep8, no
%
s"
%
word
)
return
_builtin_compile
(
source
,
filename
,
mode
,
**
kw
)
builtins
.
compile
=
compile_pep8
# remove precompiled .pyc created during the bootstrap,
# to run PEP 8 checks on .py files
libdir_cache
=
os
.
path
.
join
(
os
.
path
.
dirname
(
__file__
),
'__pycache__'
)
try
:
shutil
.
rmtree
(
libdir_cache
)
except
:
pass
for
name
in
sorted
(
sys
.
modules
):
# Minimum to be able to import modules
if
name
in
{
'builtins'
,
'importlib._bootstrap'
,
'importlib._bootstrap_external'
,
'importlib'
,
'importlib.machinery'
,
'__main__'
,
'io'
,
'sys'
,
'site'
}:
continue
del
sys
.
modules
[
name
]
try
:
import
_ssl
except
ImportError
:
# Python not bootstraped yet
pass
else
:
no_chocolate
()
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