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
6e2711b3
Kaydet (Commit)
6e2711b3
authored
Tem 22, 2013
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #18439: Make patchcheck work on Windows for ACKS, NEWS.
üst
43d82df4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
5 deletions
+8
-5
NEWS
Misc/NEWS
+2
-0
patchcheck.py
Tools/scripts/patchcheck.py
+6
-5
No files found.
Misc/NEWS
Dosyayı görüntüle @
6e2711b3
...
...
@@ -242,6 +242,8 @@ Documentation
Tools/Demos
-----------
- Issue #18439: Make patchcheck work on Windows for ACKS, NEWS.
- Issue #18448: Fix a typo in Tools/demo/eiffel.py.
- Issue #18457: Fixed saving of formulas and complex numbers in
...
...
Tools/scripts/patchcheck.py
Dosyayı görüntüle @
6e2711b3
...
...
@@ -124,13 +124,13 @@ def docs_modified(file_paths):
@status
(
"Misc/ACKS updated"
,
modal
=
True
)
def
credit_given
(
file_paths
):
"""Check if Misc/ACKS has been changed."""
return
'Misc/ACKS'
in
file_paths
return
os
.
path
.
join
(
'Misc'
,
'ACKS'
)
in
file_paths
@status
(
"Misc/NEWS updated"
,
modal
=
True
)
def
reported_news
(
file_paths
):
"""Check if Misc/NEWS has been changed."""
return
'Misc/NEWS'
in
file_paths
return
os
.
path
.
join
(
'Misc'
,
'NEWS'
)
in
file_paths
@status
(
"configure regenerated"
,
modal
=
True
,
info
=
str
)
def
regenerated_configure
(
file_paths
):
...
...
@@ -153,7 +153,8 @@ def main():
python_files
=
[
fn
for
fn
in
file_paths
if
fn
.
endswith
(
'.py'
)]
c_files
=
[
fn
for
fn
in
file_paths
if
fn
.
endswith
((
'.c'
,
'.h'
))]
doc_files
=
[
fn
for
fn
in
file_paths
if
fn
.
startswith
(
'Doc'
)]
special_files
=
{
'Misc/ACKS'
,
'Misc/NEWS'
}
&
set
(
file_paths
)
misc_files
=
{
os
.
path
.
join
(
'Misc'
,
'ACKS'
),
os
.
path
.
join
(
'Misc'
,
'NEWS'
)}
\
&
set
(
file_paths
)
# PEP 8 whitespace rules enforcement.
normalize_whitespace
(
python_files
)
# C rules enforcement.
...
...
@@ -163,9 +164,9 @@ def main():
# Docs updated.
docs_modified
(
doc_files
)
# Misc/ACKS changed.
credit_given
(
special
_files
)
credit_given
(
misc
_files
)
# Misc/NEWS changed.
reported_news
(
special
_files
)
reported_news
(
misc
_files
)
# Regenerated configure, if necessary.
regenerated_configure
(
file_paths
)
# Regenerated pyconfig.h.in, if necessary.
...
...
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