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
adfbb8e8
Kaydet (Commit)
adfbb8e8
authored
Ock 11, 2013
tarafından
Ezio Melotti
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
#13899: merge with 3.2.
üst
dc1fa80b
fe8e6e74
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
1 deletion
+10
-1
sre_parse.py
Lib/sre_parse.py
+1
-1
test_re.py
Lib/test/test_re.py
+6
-0
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/sre_parse.py
Dosyayı görüntüle @
adfbb8e8
...
...
@@ -245,7 +245,7 @@ def _class_escape(source, escape):
if
code
:
return
code
code
=
CATEGORIES
.
get
(
escape
)
if
code
:
if
code
and
code
[
0
]
==
IN
:
return
code
try
:
c
=
escape
[
1
:
2
]
...
...
Lib/test/test_re.py
Dosyayı görüntüle @
adfbb8e8
...
...
@@ -949,6 +949,12 @@ class ReTests(unittest.TestCase):
# Test behaviour when not given a string or pattern as parameter
self
.
assertRaises
(
TypeError
,
re
.
compile
,
0
)
def
test_bug_13899
(
self
):
# Issue #13899: re pattern r"[\A]" should work like "A" but matches
# nothing. Ditto B and Z.
self
.
assertEqual
(
re
.
findall
(
r'[\A\B\b\C\Z]'
,
'AB
\b
CZ'
),
[
'A'
,
'B'
,
'
\b
'
,
'C'
,
'Z'
])
@bigmemtest
(
size
=
_2G
,
memuse
=
1
)
def
test_large_search
(
self
,
size
):
# Issue #10182: indices were 32-bit-truncated.
...
...
Misc/NEWS
Dosyayı görüntüle @
adfbb8e8
...
...
@@ -144,6 +144,9 @@ Library
-
Issue
#
16900
:
Issue
a
ResourceWarning
when
an
ssl
socket
is
left
unclosed
.
-
Issue
#
13899
:
\
A
,
\
Z
,
and
\
B
now
correctly
match
the
A
,
Z
,
and
B
literals
when
used
inside
character
classes
(
e
.
g
.
'[\A]'
).
Patch
by
Matthew
Barnett
.
-
Issue
#
15545
:
Fix
regression
in
sqlite3
's iterdump method where it was
failing if the connection used a row factory (such as sqlite3.Row) that
produced unsortable objects. (Regression was introduced by fix for 9750).
...
...
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