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
b6bfce6c
Kaydet (Commit)
b6bfce6c
authored
Mar 06, 2016
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #26475: Fixed debugging output for regular expressions with the (?x) flag.
üst
a0d416f0
a01a144a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
sre_parse.py
Lib/sre_parse.py
+3
-3
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/sre_parse.py
Dosyayı görüntüle @
b6bfce6c
...
...
@@ -833,14 +833,14 @@ def parse(str, flags=0, pattern=None):
assert
source
.
next
==
")"
raise
source
.
error
(
"unbalanced parenthesis"
)
if
flags
&
SRE_FLAG_DEBUG
:
p
.
dump
()
if
not
(
flags
&
SRE_FLAG_VERBOSE
)
and
p
.
pattern
.
flags
&
SRE_FLAG_VERBOSE
:
# the VERBOSE flag was switched on inside the pattern. to be
# on the safe side, we'll parse the whole thing again...
return
parse
(
str
,
p
.
pattern
.
flags
)
if
flags
&
SRE_FLAG_DEBUG
:
p
.
dump
()
return
p
def
parse_template
(
source
,
pattern
):
...
...
Misc/NEWS
Dosyayı görüntüle @
b6bfce6c
...
...
@@ -201,6 +201,9 @@ Core and Builtins
Library
-------
-
Issue
#
26475
:
Fixed
debugging
output
for
regular
expressions
with
the
(?
x
)
flag
.
-
Issue
#
26482
:
Allowed
pickling
recursive
dequeues
.
-
Issue
#
26335
:
Make
mmap
.
write
()
return
the
number
of
bytes
written
like
...
...
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