Added a _v21 def to FL.py and added two new input field types

Added runcall(func, *args) interfaces to profile.py, bdb.py, pdb.py, wdb.py
Added new module bisect.py and used it in sched.py.
Mostly cosmetic changes to profile.py (changed output format).
This commit is contained in:
Guido van Rossum 1992-09-02 20:43:20 +00:00
parent 2179945eec
commit 4e16098ce7
9 changed files with 167 additions and 160 deletions

View file

@ -283,6 +283,11 @@ def runctx(statement, globals, locals):
try: x.runctx(statement, globals, locals)
finally: x.close()
def runcall(*args):
x = Wdb().init()
try: apply(Pdb().init().runcall, args)
finally: x.close()
TESTCMD = 'import x; x.main()'
def test():