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
174c4f89
Kaydet (Commit)
174c4f89
authored
Kas 16, 2011
tarafından
Ned Deily
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Issue #8793: Prevent IDLE crash in 2.7 when given strings with
invalid hex escape sequences.
üst
30402549
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
ScriptBinding.py
Lib/idlelib/ScriptBinding.py
+1
-1
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/idlelib/ScriptBinding.py
Dosyayı görüntüle @
174c4f89
...
@@ -101,7 +101,7 @@ class ScriptBinding:
...
@@ -101,7 +101,7 @@ class ScriptBinding:
try
:
try
:
# If successful, return the compiled code
# If successful, return the compiled code
return
compile
(
source
,
filename
,
"exec"
)
return
compile
(
source
,
filename
,
"exec"
)
except
(
SyntaxError
,
OverflowError
),
err
:
except
(
SyntaxError
,
OverflowError
,
ValueError
),
err
:
try
:
try
:
msg
,
(
errorfilename
,
lineno
,
offset
,
line
)
=
err
msg
,
(
errorfilename
,
lineno
,
offset
,
line
)
=
err
if
not
errorfilename
:
if
not
errorfilename
:
...
...
Misc/NEWS
Dosyayı görüntüle @
174c4f89
...
@@ -79,6 +79,9 @@ Core and Builtins
...
@@ -79,6 +79,9 @@ Core and Builtins
Library
Library
-------
-------
-
Issue
#
8793
:
Prevent
IDLE
crash
when
given
strings
with
invalid
hex
escape
sequences
.
-
Issues
#
1745761
,
#
755670
,
#
13357
,
#
12629
,
#
1200313
:
HTMLParser
now
correctly
-
Issues
#
1745761
,
#
755670
,
#
13357
,
#
12629
,
#
1200313
:
HTMLParser
now
correctly
handles
non
-
valid
attributes
,
including
adjacent
and
unquoted
attributes
.
handles
non
-
valid
attributes
,
including
adjacent
and
unquoted
attributes
.
...
...
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