summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_trace.py
Commit message (Collapse)AuthorAgeFilesLines
* Generate line number table entries for except handlers.Jeremy Hylton2006-04-041-25/+37
| | | | Re-enable all the tests in test_trace.py except one. Still not sure that these tests test what they used to test, but they pass. One failing test seems to be caused by undocumented line number table behavior in Python 2.4.
* Disable some tests in anticipation of merging ast-branch to the headJeremy Hylton2005-10-201-16/+21
|
* Port from the Python 2.4 branch, patches for SF bug # 900092,Barry Warsaw2005-08-151-0/+1
| | | | hotshot.stats.load.
* The fix in ceval.c 2.386 allows iteration-by-iteration line tracing even inArmin Rigo2004-03-221-0/+23
| | | | single-line loops.
* Fix (really) for tight loop line eventsNicholas Bastin2004-03-221-1/+2
|
* Test for tight loop line event fix, SF bug #765624Nicholas Bastin2004-03-221-0/+25
|
* Test for lack of implicit return line eventNicholas Bastin2004-03-221-9/+27
|
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-3/+5
| | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
* Armin Rigo's fix & test forMichael W. Hudson2003-04-291-0/+21
| | | | | | [ 729622 ] line tracing hook errors with massaging from me to integrate test into test suite.
* This is Richie Hindle's patchMichael W. Hudson2002-12-171-0/+289
| | | | | | | | [ 643835 ] Set Next Statement for Python debuggers with a few tweaks by me: adding an unsigned or two, mentioning that not all jumps are allowed in the doc for pdb, adding a NEWS item and a note to whatsnew, and AuCTeX doing something cosmetic to libpdb.tex.
* Whitespace normalization.Tim Peters2002-11-091-9/+9
|
* This is Richie Hindle's patch:Michael W. Hudson2002-11-081-6/+31
| | | | | | | [ 631276 ] Exceptions raised by line trace function It conflicted with the patches from Armin I just checked it, so I had to so some bits by hand.
* Fix for the recursion_level bug Armin Rigo reported in sfMichael W. Hudson2002-10-021-0/+20
| | | | | | | patch #617312, both on the trunk and the 22-maint branch. Also added a test case, and ported the test_trace I wrote for HEAD to 2.2.2 (with all those horrible extra 'line' events ;-).
* A slight change to SET_LINENO-less tracing.Michael W. Hudson2002-09-111-1/+1
| | | | | This makes things a touch more like 2.2. Read the comments in Python/ceval.c for more details.
* Bunch more tests.Michael W. Hudson2002-09-111-9/+83
|
* Further SET_LINENO reomval fixes. See comments in patch #587933.Michael W. Hudson2002-08-301-0/+110
Use a slightly different strategy to determine when not to call the line trace function. This removes the need for the RETURN_NONE opcode, so that's gone again. Update docs and comments to match. Thanks to Neal and Armin! Also add a test suite. This should have come with the original patch...