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
8119c13f
Kaydet (Commit)
8119c13f
authored
Ock 29, 2014
tarafından
Terry Jan Reedy
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Idlelib: silence two buildbot Deprecation Warnings with better code.
üst
9ca520a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
8 deletions
+6
-8
Debugger.py
Lib/idlelib/Debugger.py
+2
-2
SearchEngine.py
Lib/idlelib/SearchEngine.py
+4
-6
No files found.
Lib/idlelib/Debugger.py
Dosyayı görüntüle @
8119c13f
...
...
@@ -253,8 +253,8 @@ class Debugger:
if
self
.
vsource
.
get
():
self
.
sync_source_line
()
def
show_frame
(
self
,
(
frame
,
lineno
)
):
self
.
frame
=
frame
def
show_frame
(
self
,
stackitem
):
self
.
frame
=
stackitem
[
0
]
# lineno is stackitem[1]
self
.
show_variables
()
localsviewer
=
None
...
...
Lib/idlelib/SearchEngine.py
Dosyayı görüntüle @
8119c13f
...
...
@@ -83,11 +83,9 @@ class SearchEngine:
try
:
prog
=
re
.
compile
(
pat
,
flags
)
except
re
.
error
as
what
:
try
:
msg
,
col
=
what
except
:
msg
=
str
(
what
)
col
=
-
1
args
=
what
.
args
msg
=
args
[
0
]
col
=
arg
[
1
]
if
len
(
args
)
>=
2
else
-
1
self
.
report_error
(
pat
,
msg
,
col
)
return
None
return
prog
...
...
@@ -231,6 +229,6 @@ def get_line_col(index):
return
line
,
col
if
__name__
==
"__main__"
:
from
test
import
support
;
support
.
use_resources
=
[
'gui'
]
from
test
import
test_support
;
test_
support
.
use_resources
=
[
'gui'
]
import
unittest
unittest
.
main
(
'idlelib.idle_test.test_searchengine'
,
verbosity
=
2
,
exit
=
False
)
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