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
c654f0ac
Kaydet (Commit)
c654f0ac
authored
Ock 29, 2017
tarafından
Martin Panter
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issues #29349: Add NEWS for 3.7; use “with” statement
üst
3a6dc19f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
4 deletions
+3
-4
patchlevel.py
Doc/tools/extensions/patchlevel.py
+1
-4
NEWS
Misc/NEWS
+2
-0
No files found.
Doc/tools/extensions/patchlevel.py
Dosyayı görüntüle @
c654f0ac
...
@@ -22,15 +22,12 @@ def get_header_version_info(srcdir):
...
@@ -22,15 +22,12 @@ def get_header_version_info(srcdir):
rx
=
re
.
compile
(
r'\s*#define\s+([a-zA-Z][a-zA-Z_0-9]*)\s+([a-zA-Z_0-9]+)'
)
rx
=
re
.
compile
(
r'\s*#define\s+([a-zA-Z][a-zA-Z_0-9]*)\s+([a-zA-Z_0-9]+)'
)
d
=
{}
d
=
{}
f
=
open
(
patchlevel_h
)
with
open
(
patchlevel_h
)
as
f
:
try
:
for
line
in
f
:
for
line
in
f
:
m
=
rx
.
match
(
line
)
m
=
rx
.
match
(
line
)
if
m
is
not
None
:
if
m
is
not
None
:
name
,
value
=
m
.
group
(
1
,
2
)
name
,
value
=
m
.
group
(
1
,
2
)
d
[
name
]
=
value
d
[
name
]
=
value
finally
:
f
.
close
()
release
=
version
=
'
%
s.
%
s'
%
(
d
[
'PY_MAJOR_VERSION'
],
d
[
'PY_MINOR_VERSION'
])
release
=
version
=
'
%
s.
%
s'
%
(
d
[
'PY_MAJOR_VERSION'
],
d
[
'PY_MINOR_VERSION'
])
micro
=
int
(
d
[
'PY_MICRO_VERSION'
])
micro
=
int
(
d
[
'PY_MICRO_VERSION'
])
...
...
Misc/NEWS
Dosyayı görüntüle @
c654f0ac
...
@@ -663,6 +663,8 @@ C API
...
@@ -663,6 +663,8 @@ C API
Documentation
Documentation
-------------
-------------
- Issue #29349: Fix Python 2 syntax in code for building the documentation.
- Issue #23722: The data model reference and the porting section in the
- Issue #23722: The data model reference and the porting section in the
3.6 What'
s
New
guide
now
cover
the
additional
``
__classcell__
``
handling
3.6 What'
s
New
guide
now
cover
the
additional
``
__classcell__
``
handling
needed
for
custom
metaclasses
to
fully
support
PEP
487
and
zero
-
argument
needed
for
custom
metaclasses
to
fully
support
PEP
487
and
zero
-
argument
...
...
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