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
f256c22f
Kaydet (Commit)
f256c22f
authored
Ock 26, 2014
tarafından
Larry Hastings
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix for catestrophic errors in previous checkin (Argument Clinic rollup patch).
üst
c2047264
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
14 additions
and
11 deletions
+14
-11
_bz2module.c
Modules/_bz2module.c
+3
-1
_lzmamodule.c
Modules/_lzmamodule.c
+0
-0
audioop.c
Modules/audioop.c
+1
-1
binascii.c
Modules/binascii.c
+1
-1
_bz2module.c.h
Modules/clinic/_bz2module.c.h
+4
-7
_lzmamodule.c.h
Modules/clinic/_lzmamodule.c.h
+0
-0
clinic.py
Tools/clinic/clinic.py
+5
-1
No files found.
Modules/_bz2module.c
Dosyayı görüntüle @
f256c22f
...
@@ -56,6 +56,8 @@ typedef struct {
...
@@ -56,6 +56,8 @@ typedef struct {
#endif
#endif
}
BZ2Decompressor
;
}
BZ2Decompressor
;
static
PyTypeObject
BZ2Compressor_Type
;
static
PyTypeObject
BZ2Decompressor_Type
;
/* Helper functions. */
/* Helper functions. */
...
@@ -204,7 +206,7 @@ class _bz2.BZ2Decompressor "BZ2Decompressor *" "&BZ2Decompressor_Type"
...
@@ -204,7 +206,7 @@ class _bz2.BZ2Decompressor "BZ2Decompressor *" "&BZ2Decompressor_Type"
[clinic start generated code]*/
[clinic start generated code]*/
/*[clinic end generated code: checksum=da39a3ee5e6b4b0d3255bfef95601890afd80709]*/
/*[clinic end generated code: checksum=da39a3ee5e6b4b0d3255bfef95601890afd80709]*/
#include "
_bz2module.clinic.c
"
#include "
clinic/_bz2module.c.h
"
/*[clinic input]
/*[clinic input]
_bz2.BZ2Compressor.compress
_bz2.BZ2Compressor.compress
...
...
Modules/_lzmamodule.c
0 → 100644
Dosyayı görüntüle @
f256c22f
This diff is collapsed.
Click to expand it.
Modules/audioop.c
Dosyayı görüntüle @
f256c22f
...
@@ -1812,7 +1812,7 @@ audioop_adpcm2lin_impl(PyModuleDef *module, Py_buffer *fragment, int width, PyOb
...
@@ -1812,7 +1812,7 @@ audioop_adpcm2lin_impl(PyModuleDef *module, Py_buffer *fragment, int width, PyOb
return
rv
;
return
rv
;
}
}
#include "
audioop.clinic.c
"
#include "
clinic/audioop.c.h
"
static
PyMethodDef
audioop_methods
[]
=
{
static
PyMethodDef
audioop_methods
[]
=
{
AUDIOOP_MAX_METHODDEF
AUDIOOP_MAX_METHODDEF
...
...
Modules/binascii.c
Dosyayı görüntüle @
f256c22f
...
@@ -236,7 +236,7 @@ ascii_buffer_converter(PyObject *arg, Py_buffer *buf)
...
@@ -236,7 +236,7 @@ ascii_buffer_converter(PyObject *arg, Py_buffer *buf)
return
Py_CLEANUP_SUPPORTED
;
return
Py_CLEANUP_SUPPORTED
;
}
}
#include "
binascii.clinic.c
"
#include "
clinic/binascii.c.h
"
/*[clinic input]
/*[clinic input]
binascii.a2b_uu
binascii.a2b_uu
...
...
Modules/clinic/_bz2module.c.h
Dosyayı görüntüle @
f256c22f
...
@@ -75,8 +75,7 @@ _bz2_BZ2Compressor___init__(PyObject *self, PyObject *args, PyObject *kwargs)
...
@@ -75,8 +75,7 @@ _bz2_BZ2Compressor___init__(PyObject *self, PyObject *args, PyObject *kwargs)
int
return_value
=
-
1
;
int
return_value
=
-
1
;
int
compresslevel
=
9
;
int
compresslevel
=
9
;
if
(({
self_name
}
==
{
self_type_object
})
&&
if
(
!
_PyArg_NoKeywords
(
"BZ2Compressor"
,
kwargs
))
!
_PyArg_NoKeywords
(
"BZ2Compressor"
,
kwargs
))
goto
exit
;
goto
exit
;
if
(
!
PyArg_ParseTuple
(
args
,
if
(
!
PyArg_ParseTuple
(
args
,
"|i:BZ2Compressor"
,
"|i:BZ2Compressor"
,
...
@@ -138,15 +137,13 @@ _bz2_BZ2Decompressor___init__(PyObject *self, PyObject *args, PyObject *kwargs)
...
@@ -138,15 +137,13 @@ _bz2_BZ2Decompressor___init__(PyObject *self, PyObject *args, PyObject *kwargs)
{
{
int
return_value
=
-
1
;
int
return_value
=
-
1
;
if
(({
self_name
}
==
{
self_type_object
})
&&
if
(
!
_PyArg_NoPositional
(
"BZ2Decompressor"
,
args
))
!
_PyArg_NoPositional
(
"BZ2Decompressor"
,
args
))
goto
exit
;
goto
exit
;
if
(({
self_name
}
==
{
self_type_object
})
&&
if
(
!
_PyArg_NoKeywords
(
"BZ2Decompressor"
,
kwargs
))
!
_PyArg_NoKeywords
(
"BZ2Decompressor"
,
kwargs
))
goto
exit
;
goto
exit
;
return_value
=
_bz2_BZ2Decompressor___init___impl
((
BZ2Decompressor
*
)
self
);
return_value
=
_bz2_BZ2Decompressor___init___impl
((
BZ2Decompressor
*
)
self
);
exit:
exit:
return
return_value
;
return
return_value
;
}
}
/*[clinic end generated code: checksum=
79ee0d9731dfe404baec35b704b2ca2179b9a6c0
]*/
/*[clinic end generated code: checksum=
9bb33ae7d35494b7a5365f03f390e4b5b8b1bc49
]*/
Modules/clinic/_lzmamodule.c.h
Dosyayı görüntüle @
f256c22f
This diff is collapsed.
Click to expand it.
Tools/clinic/clinic.py
Dosyayı görüntüle @
f256c22f
...
@@ -2593,7 +2593,11 @@ class self_converter(CConverter):
...
@@ -2593,7 +2593,11 @@ class self_converter(CConverter):
def
set_template_dict
(
self
,
template_dict
):
def
set_template_dict
(
self
,
template_dict
):
template_dict
[
'self_name'
]
=
self
.
name
template_dict
[
'self_name'
]
=
self
.
name
template_dict
[
'self_type'
]
=
self
.
parser_type
template_dict
[
'self_type'
]
=
self
.
parser_type
template_dict
[
'self_type_check'
]
=
'({self_name} == {self_type_object}) &&
\n
'
if
((
self
.
function
.
kind
==
METHOD_NEW
)
and
self
.
function
.
cls
and
self
.
function
.
cls
.
typedef
):
template_dict
[
'self_type_object'
]
=
self
.
function
.
cls
.
type_object
template_dict
[
'self_type_check'
]
=
'({self_name} == {self_type_object}) &&
\n
'
.
format_map
(
template_dict
)
...
...
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