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
2ef7e6c8
Kaydet (Commit)
2ef7e6c8
authored
Eki 24, 2004
tarafından
Raymond Hettinger
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
SF bug #1052503: pdb runcall should accept keyword arguments
üst
9047c8f7
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
6 additions
and
4 deletions
+6
-4
bdb.py
Lib/bdb.py
+2
-2
pdb.py
Lib/pdb.py
+2
-2
NEWS
Misc/NEWS
+2
-0
No files found.
Lib/bdb.py
Dosyayı görüntüle @
2ef7e6c8
...
@@ -391,13 +391,13 @@ class Bdb:
...
@@ -391,13 +391,13 @@ class Bdb:
# This method is more useful to debug a single function call.
# This method is more useful to debug a single function call.
def
runcall
(
self
,
func
,
*
args
):
def
runcall
(
self
,
func
,
*
args
,
**
kwds
):
self
.
reset
()
self
.
reset
()
sys
.
settrace
(
self
.
trace_dispatch
)
sys
.
settrace
(
self
.
trace_dispatch
)
res
=
None
res
=
None
try
:
try
:
try
:
try
:
res
=
func
(
*
args
)
res
=
func
(
*
args
,
**
kwds
)
except
BdbQuit
:
except
BdbQuit
:
pass
pass
finally
:
finally
:
...
...
Lib/pdb.py
Dosyayı görüntüle @
2ef7e6c8
...
@@ -993,8 +993,8 @@ def runctx(statement, globals, locals):
...
@@ -993,8 +993,8 @@ def runctx(statement, globals, locals):
# B/W compatibility
# B/W compatibility
run
(
statement
,
globals
,
locals
)
run
(
statement
,
globals
,
locals
)
def
runcall
(
*
args
):
def
runcall
(
*
args
,
**
kwds
):
return
Pdb
()
.
runcall
(
*
args
)
return
Pdb
()
.
runcall
(
*
args
,
**
kwds
)
def
set_trace
():
def
set_trace
():
Pdb
()
.
set_trace
()
Pdb
()
.
set_trace
()
...
...
Misc/NEWS
Dosyayı görüntüle @
2ef7e6c8
...
@@ -45,6 +45,8 @@ Extension Modules
...
@@ -45,6 +45,8 @@ Extension Modules
Library
Library
-------
-------
- Bug #1052503 pdb.runcall() was not passing along keyword arguments.
- Bug #902037: XML.sax.saxutils.prepare_input_source() now combines relative
- Bug #902037: XML.sax.saxutils.prepare_input_source() now combines relative
paths with a base path before checking os.path.isfile().
paths with a base path before checking os.path.isfile().
...
...
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