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
5e376a78
Kaydet (Commit)
5e376a78
authored
Agu 03, 2013
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #18647: Temporary disable the "nothing to repeat" check to make buildbots happy.
üst
3610286f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
sre_compile.py
Lib/sre_compile.py
+2
-2
No files found.
Lib/sre_compile.py
Dosyayı görüntüle @
5e376a78
...
@@ -358,8 +358,8 @@ def _optimize_unicode(charset, fixup):
...
@@ -358,8 +358,8 @@ def _optimize_unicode(charset, fixup):
def
_simple
(
av
):
def
_simple
(
av
):
# check if av is a "simple" operator
# check if av is a "simple" operator
lo
,
hi
=
av
[
2
]
.
getwidth
()
lo
,
hi
=
av
[
2
]
.
getwidth
()
if
lo
==
0
and
hi
==
MAXREPEAT
:
#
if lo == 0 and hi == MAXREPEAT:
raise
error
(
"nothing to repeat"
)
#
raise error("nothing to repeat")
return
lo
==
hi
==
1
and
av
[
2
][
0
][
0
]
!=
SUBPATTERN
return
lo
==
hi
==
1
and
av
[
2
][
0
][
0
]
!=
SUBPATTERN
def
_compile_info
(
code
,
pattern
,
flags
):
def
_compile_info
(
code
,
pattern
,
flags
):
...
...
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