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
64df4a1c
Kaydet (Commit)
64df4a1c
authored
Ara 27, 2012
tarafından
Serhiy Storchaka
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #16504: Catch SyntaxErrors raised by tokenizer in IDLE.
Patch by Roger Serwy.
üst
e261055e
07e0e06f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
EditorWindow.py
Lib/idlelib/EditorWindow.py
+1
-1
NEWS
Misc/NEWS
+3
-0
No files found.
Lib/idlelib/EditorWindow.py
Dosyayı görüntüle @
64df4a1c
...
...
@@ -1621,7 +1621,7 @@ class IndentSearcher(object):
tokens
=
_tokenize
.
generate_tokens
(
self
.
readline
)
for
token
in
tokens
:
self
.
tokeneater
(
*
token
)
except
_tokenize
.
TokenError
:
except
(
_tokenize
.
TokenError
,
SyntaxError
)
:
# since we cut off the tokenizer early, we can trigger
# spurious errors
pass
...
...
Misc/NEWS
Dosyayı görüntüle @
64df4a1c
...
...
@@ -117,6 +117,9 @@ Core and Builtins
Library
-------
- Issue #16504: IDLE now catches SyntaxErrors raised by tokenizer. Patch by
Roger Serwy.
- Issue #16618: Make glob.glob match consistently across strings and bytes
regarding leading dots. Patch by Serhiy Storchaka.
...
...
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