summaryrefslogtreecommitdiffstats
path: root/Lib/bdb.py
Commit message (Collapse)AuthorAgeFilesLines
* Mass patch by Ka-Ping Yee:Guido van Rossum2000-02-021-526/+526
| | | | | | | | | | | 1. Comments at the beginning of the module, before functions, and before classes have been turned into docstrings. 2. Tabs are normalized to four spaces. Also, removed the "remove" function from dircmp.py, which reimplements list.remove() (it must have been very old).
* Change two occurrences of type(x) <> types.CodeType intoGuido van Rossum2000-01-191-2/+2
| | | | | | isinstance(x, types.CodeType). Suggested by Finn Bock.
* canonic(): This used to be equivalent to str() but that caused tooBarry Warsaw1999-09-091-6/+9
| | | | | | | much breakage (esp. in JPython which holds absolute path names in co_filename already). This implementation uses os.path.abspath() as a slightly better way to canonicalize path names. It implements a cache.
* Embarrassing: remove a debug print statement from set_break() for theGuido van Rossum1999-01-291-1/+0
| | | | second time!
* Support a canonical() method, implementable by a derived class, to beGuido van Rossum1999-01-291-6/+20
| | | | | | | | applied to all filenames before they are compared, looked up in the breaks dictionary, etc. The default implementation does nothing -- it's implented as fast as possible via str(). A useful implementation would make everything a absolute, e.g. return os.path.normcase( os.path.abspath(filename)).
* Correct typo in new function get_breaks().Guido van Rossum1999-01-251-1/+1
|
* Change clear_break() to the old signature clear_break(file, line).Guido van Rossum1999-01-251-26/+40
| | | | | | | | Add new clear_bpbynumber() with single bpno argument. (Adapted from a patch by Richard Wolff.) Also some cleanup in error messages and moved some comments into a docstring.
* Bomb on deleting a temporary breakpoint: there's no methodGuido van Rossum1998-11-181-1/+1
| | | | do_delete(); do_clear() was meant. By Greg Ward.
* Don't set a local variable named __args__; this feature no longerGuido van Rossum1998-09-281-1/+1
| | | | works and Greg Ward just reported a problem it caused...
* Richard Wolff's changes:Guido van Rossum1998-09-111-23/+172
| | | | | | | | | bdb.py now has a class definition called Breakpoint along with associated methods. There's no reason why this class has to be there; if you prefer it elsewhere, 'tis easily done. (Minor reformatting by GvR; e.g. moved Breakpoint's doc string to proper point.)
* Use sys.exc_info() where needed.Guido van Rossum1997-09-291-2/+2
|
* Normalize whitespace.Guido van Rossum1997-07-111-4/+4
|
* Support for conditional breakpoints (Jim Fulton).Guido van Rossum1997-07-111-4/+16
|
* Allow code objects to be passed to run() and eval().Guido van Rossum1996-10-151-2/+7
|
* handle class exceptions; added runeval; made runctx obsoleteGuido van Rossum1995-02-271-7/+30
|
* fix formatting of stack entriesGuido van Rossum1995-02-031-2/+6
|
* improved prompt formatGuido van Rossum1994-11-101-2/+2
|
* Merge alpha100 branch back to main trunkGuido van Rossum1994-08-011-9/+38
|
* * Mass change: get rid of all init() methods, in favor of __init__()Guido van Rossum1993-12-171-3/+0
| | | | | | | constructors. There is no backward compatibility. Not everything has been tested. * aiff.{py,doc}: deleted in favor of aifc.py (which contains its docs as comments)
* pdb.py, bdb.py, cmd.py: use __init__() instead of init()Guido van Rossum1993-06-231-2/+4
|
* * Got entirely rid of path.py.Guido van Rossum1992-12-141-1/+2
| | | | | | | | * Many modules: fixes for new, stricter, argument passing rules (most changes were automatic ones -- not all of this is tested!). * gwin.py: now uses mainloop.py for its main loop and window admin. * mainloop.py: always call dispatch() with event as a tuple! * Fix bug in pdb's 'clear' command -- don't set the bpt but clear it!
* Added a _v21 def to FL.py and added two new input field typesGuido van Rossum1992-09-021-12/+25
| | | | | | 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).
* Different syntax: cannot mix except and finally any moreGuido van Rossum1992-04-031-3/+4
|
* use settrace() intrefaceGuido van Rossum1992-03-271-5/+3
|
* Added a method "format_stack_entry" to be used by derived classes.Guido van Rossum1992-01-271-15/+22
| | | | Forget about the temp file.
* Experimental version writes the command to a file.Guido van Rossum1992-01-241-3/+15
|
* Initial revisionGuido van Rossum1992-01-221-0/+275