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
f558778f
Kaydet (Commit)
f558778f
authored
Kas 15, 2013
tarafından
Victor Stinner
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Fix compiler warning (especially on Windows 64-bit): don't truncate Py_ssize_t
to int
üst
1109b54e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
_sre.c
Modules/_sre.c
+4
-4
No files found.
Modules/_sre.c
Dosyayı görüntüle @
f558778f
...
@@ -269,7 +269,7 @@ data_stack_grow(SRE_STATE* state, Py_ssize_t size)
...
@@ -269,7 +269,7 @@ data_stack_grow(SRE_STATE* state, Py_ssize_t size)
/* factories and destructors */
/* factories and destructors */
/* see sre.h for object declarations */
/* see sre.h for object declarations */
static
PyObject
*
pattern_new_match
(
PatternObject
*
,
SRE_STATE
*
,
in
t
);
static
PyObject
*
pattern_new_match
(
PatternObject
*
,
SRE_STATE
*
,
Py_ssize_
t
);
static
PyObject
*
pattern_scanner
(
PatternObject
*
,
PyObject
*
,
PyObject
*
kw
);
static
PyObject
*
pattern_scanner
(
PatternObject
*
,
PyObject
*
,
PyObject
*
kw
);
static
PyObject
*
static
PyObject
*
...
@@ -468,7 +468,7 @@ state_getslice(SRE_STATE* state, Py_ssize_t index, PyObject* string, int empty)
...
@@ -468,7 +468,7 @@ state_getslice(SRE_STATE* state, Py_ssize_t index, PyObject* string, int empty)
}
}
static
void
static
void
pattern_error
(
in
t
status
)
pattern_error
(
Py_ssize_
t
status
)
{
{
switch
(
status
)
{
switch
(
status
)
{
case
SRE_ERROR_RECURSION_LIMIT
:
case
SRE_ERROR_RECURSION_LIMIT
:
...
@@ -562,7 +562,7 @@ static PyObject*
...
@@ -562,7 +562,7 @@ static PyObject*
pattern_search
(
PatternObject
*
self
,
PyObject
*
args
,
PyObject
*
kw
)
pattern_search
(
PatternObject
*
self
,
PyObject
*
args
,
PyObject
*
kw
)
{
{
SRE_STATE
state
;
SRE_STATE
state
;
in
t
status
;
Py_ssize_
t
status
;
PyObject
*
string
;
PyObject
*
string
;
Py_ssize_t
start
=
0
;
Py_ssize_t
start
=
0
;
...
@@ -2322,7 +2322,7 @@ static PyTypeObject Match_Type = {
...
@@ -2322,7 +2322,7 @@ static PyTypeObject Match_Type = {
};
};
static
PyObject
*
static
PyObject
*
pattern_new_match
(
PatternObject
*
pattern
,
SRE_STATE
*
state
,
in
t
status
)
pattern_new_match
(
PatternObject
*
pattern
,
SRE_STATE
*
state
,
Py_ssize_
t
status
)
{
{
/* create match object (from state object) */
/* create match object (from state object) */
...
...
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