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
32a66a04
Kaydet (Commit)
32a66a04
authored
Eki 02, 2008
tarafından
Christian Heimes
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fixed a couple more C99 comments and one occurence of inline.
üst
e489db8f
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
22 additions
and
22 deletions
+22
-22
ffi.c
Modules/_ctypes/libffi/src/x86/ffi.c
+2
-2
signalmodule.c
Modules/signalmodule.c
+1
-1
tkappinit.c
Modules/tkappinit.c
+1
-1
unicodeobject.c
Objects/unicodeobject.c
+15
-15
_warnings.c
Python/_warnings.c
+3
-3
No files found.
Modules/_ctypes/libffi/src/x86/ffi.c
Dosyayı görüntüle @
32a66a04
...
@@ -388,10 +388,10 @@ ffi_prep_raw_closure_loc (ffi_raw_closure* closure,
...
@@ -388,10 +388,10 @@ ffi_prep_raw_closure_loc (ffi_raw_closure* closure,
return
FFI_BAD_ABI
;
return
FFI_BAD_ABI
;
}
}
/
/
we currently don't support certain kinds of arguments for raw
/
*
we currently don't support certain kinds of arguments for raw
// closures. This should be implemented by a separate assembly language
// closures. This should be implemented by a separate assembly language
// routine, since it would require argument processing, something we
// routine, since it would require argument processing, something we
// don't do now for performance.
// don't do now for performance.
*/
for
(
i
=
cif
->
nargs
-
1
;
i
>=
0
;
i
--
)
for
(
i
=
cif
->
nargs
-
1
;
i
>=
0
;
i
--
)
{
{
...
...
Modules/signalmodule.c
Dosyayı görüntüle @
32a66a04
...
@@ -107,7 +107,7 @@ timeval_from_double(double d, struct timeval *tv)
...
@@ -107,7 +107,7 @@ timeval_from_double(double d, struct timeval *tv)
tv
->
tv_usec
=
fmod
(
d
,
1
.
0
)
*
1000000
.
0
;
tv
->
tv_usec
=
fmod
(
d
,
1
.
0
)
*
1000000
.
0
;
}
}
static
inline
double
Py_LOCAL_INLINE
(
double
)
double_from_timeval
(
struct
timeval
*
tv
)
double_from_timeval
(
struct
timeval
*
tv
)
{
{
return
tv
->
tv_sec
+
(
double
)(
tv
->
tv_usec
/
1000000
.
0
);
return
tv
->
tv_sec
+
(
double
)(
tv
->
tv_usec
/
1000000
.
0
);
...
...
Modules/tkappinit.c
Dosyayı görüntüle @
32a66a04
...
@@ -71,7 +71,7 @@ Tcl_AppInit(Tcl_Interp *interp)
...
@@ -71,7 +71,7 @@ Tcl_AppInit(Tcl_Interp *interp)
#endif
#endif
#ifdef WITH_XXX
#ifdef WITH_XXX
/
/ Initialize modules that don't require Tk
/
* Initialize modules that don't require Tk */
#endif
#endif
_tkinter_skip_tk_init
=
Tcl_GetVar
(
interp
,
"_tkinter_skip_tk_init"
,
TCL_GLOBAL_ONLY
);
_tkinter_skip_tk_init
=
Tcl_GetVar
(
interp
,
"_tkinter_skip_tk_init"
,
TCL_GLOBAL_ONLY
);
...
...
Objects/unicodeobject.c
Dosyayı görüntüle @
32a66a04
...
@@ -115,19 +115,19 @@ static char unicode_default_encoding[100];
...
@@ -115,19 +115,19 @@ static char unicode_default_encoding[100];
/* Fast detection of the most frequent whitespace characters */
/* Fast detection of the most frequent whitespace characters */
const
unsigned
char
_Py_ascii_whitespace
[]
=
{
const
unsigned
char
_Py_ascii_whitespace
[]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
/
/ case 0x0009: /
* HORIZONTAL TABULATION */
/
* case 0x0009:
* HORIZONTAL TABULATION */
/
/ case 0x000A: /
* LINE FEED */
/
* case 0x000A:
* LINE FEED */
/
/ case 0x000B: /
* VERTICAL TABULATION */
/
* case 0x000B:
* VERTICAL TABULATION */
/
/ case 0x000C: /
* FORM FEED */
/
* case 0x000C:
* FORM FEED */
/
/ case 0x000D: /
* CARRIAGE RETURN */
/
* case 0x000D:
* CARRIAGE RETURN */
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
/
/ case 0x001C: /
* FILE SEPARATOR */
/
* case 0x001C:
* FILE SEPARATOR */
/
/ case 0x001D: /
* GROUP SEPARATOR */
/
* case 0x001D:
* GROUP SEPARATOR */
/
/ case 0x001E: /
* RECORD SEPARATOR */
/
* case 0x001E:
* RECORD SEPARATOR */
/
/ case 0x001F: /
* UNIT SEPARATOR */
/
* case 0x001F:
* UNIT SEPARATOR */
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
1
,
/
/ case 0x0020: /
* SPACE */
/
* case 0x0020:
* SPACE */
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
...
@@ -146,13 +146,13 @@ const unsigned char _Py_ascii_whitespace[] = {
...
@@ -146,13 +146,13 @@ const unsigned char _Py_ascii_whitespace[] = {
/* Same for linebreaks */
/* Same for linebreaks */
static
unsigned
char
ascii_linebreak
[]
=
{
static
unsigned
char
ascii_linebreak
[]
=
{
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
/
/ 0x000A, /
* LINE FEED */
/
* 0x000A,
* LINE FEED */
/
/ 0x000D, /
* CARRIAGE RETURN */
/
* 0x000D,
* CARRIAGE RETURN */
0
,
0
,
1
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
1
,
0
,
0
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
/
/ 0x001C, /
* FILE SEPARATOR */
/
* 0x001C,
* FILE SEPARATOR */
/
/ 0x001D, /
* GROUP SEPARATOR */
/
* 0x001D,
* GROUP SEPARATOR */
/
/ 0x001E, /
* RECORD SEPARATOR */
/
* 0x001E,
* RECORD SEPARATOR */
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
1
,
1
,
1
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
0
,
...
...
Python/_warnings.c
Dosyayı görüntüle @
32a66a04
...
@@ -377,7 +377,7 @@ warn_explicit(PyObject *category, PyObject *message,
...
@@ -377,7 +377,7 @@ warn_explicit(PyObject *category, PyObject *message,
}
}
}
}
if
(
rc
==
1
)
/
/
Already warned for this module. */
if
(
rc
==
1
)
/
*
Already warned for this module. */
goto
return_none
;
goto
return_none
;
if
(
rc
==
0
)
{
if
(
rc
==
0
)
{
PyObject
*
show_fxn
=
get_warnings_attr
(
"showwarning"
);
PyObject
*
show_fxn
=
get_warnings_attr
(
"showwarning"
);
...
@@ -800,8 +800,8 @@ static PyMethodDef warnings_functions[] = {
...
@@ -800,8 +800,8 @@ static PyMethodDef warnings_functions[] = {
warn_doc
},
warn_doc
},
{
"warn_explicit"
,
(
PyCFunction
)
warnings_warn_explicit
,
{
"warn_explicit"
,
(
PyCFunction
)
warnings_warn_explicit
,
METH_VARARGS
|
METH_KEYWORDS
,
warn_explicit_doc
},
METH_VARARGS
|
METH_KEYWORDS
,
warn_explicit_doc
},
/
/ XXX(brett.cannon): add showwarning?
/
* XXX(brett.cannon): add showwarning? */
/
/ XXX(brett.cannon): Reasonable to add formatwarning?
/
* XXX(brett.cannon): Reasonable to add formatwarning? */
{
NULL
,
NULL
}
/* sentinel */
{
NULL
,
NULL
}
/* sentinel */
};
};
...
...
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