Files
cpython/Lib/test/crashers
Benjamin Peterson 1f2d56dfc2 Merged revisions 70707 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

................
  r70707 | benjamin.peterson | 2009-03-30 09:51:56 -0500 (Mon, 30 Mar 2009) | 58 lines

  Merged revisions 70578,70599,70641-70642,70650,70660-70661,70674,70691,70697-70698,70700,70704 via svnmerge from
  svn+ssh://pythondev@svn.python.org/python/trunk

  ........
    r70578 | benjamin.peterson | 2009-03-23 22:24:56 -0500 (Mon, 23 Mar 2009) | 1 line

    this is better written using assertRaises
  ........
    r70599 | benjamin.peterson | 2009-03-25 16:42:51 -0500 (Wed, 25 Mar 2009) | 1 line

    this can be slightly less ugly
  ........
    r70641 | guilherme.polo | 2009-03-27 16:43:08 -0500 (Fri, 27 Mar 2009) | 3 lines

    Adjusted _tkinter to compile without warnings when WITH_THREAD is not
    defined (part of issue #5035)
  ........
    r70642 | georg.brandl | 2009-03-27 19:48:48 -0500 (Fri, 27 Mar 2009) | 1 line

    Fix typo.
  ........
    r70650 | benjamin.peterson | 2009-03-28 14:16:10 -0500 (Sat, 28 Mar 2009) | 1 line

    give os.symlink and os.link() better parameter names #5564
  ........
    r70660 | georg.brandl | 2009-03-28 14:52:58 -0500 (Sat, 28 Mar 2009) | 1 line

    Switch to fixed Sphinx version.
  ........
    r70661 | georg.brandl | 2009-03-28 14:57:36 -0500 (Sat, 28 Mar 2009) | 2 lines

    Add section numbering to some of the larger subdocuments.
  ........
    r70674 | guilherme.polo | 2009-03-29 05:19:05 -0500 (Sun, 29 Mar 2009) | 1 line

    Typo fix.
  ........
    r70691 | raymond.hettinger | 2009-03-29 13:51:11 -0500 (Sun, 29 Mar 2009) | 1 line

    Make life easier for non-CPython implementations.
  ........
    r70697 | benjamin.peterson | 2009-03-29 16:22:35 -0500 (Sun, 29 Mar 2009) | 1 line

    this has been fixed since 2.6 (I love removing these)
  ........
    r70698 | benjamin.peterson | 2009-03-29 16:31:05 -0500 (Sun, 29 Mar 2009) | 1 line

    thanks to guido's bytecode verifier, this is fixed
  ........
    r70700 | benjamin.peterson | 2009-03-29 16:50:14 -0500 (Sun, 29 Mar 2009) | 1 line

    use the awesome new status iterator
  ........
    r70704 | benjamin.peterson | 2009-03-29 21:49:32 -0500 (Sun, 29 Mar 2009) | 1 line

    there's actually three methods here #5600
  ........
................
2009-03-30 14:55:02 +00:00
..
2009-01-28 21:06:01 +00:00

This directory only contains tests for outstanding bugs that cause
the interpreter to segfault.  Ideally this directory should always
be empty.  Sometimes it may not be easy to fix the underlying cause.

Each test should fail when run from the command line:

	./python Lib/test/crashers/weakref_in_del.py

Each test should have a link to the bug report:

	# http://python.org/sf/BUG#

Put as much info into a docstring or comments to help determine
the cause of the failure.  Particularly note if the cause is
system or environment dependent and what the variables are.

Once the crash is fixed, the test case should be moved into an appropriate
test (even if it was originally from the test suite).  This ensures the
regression doesn't happen again.  And if it does, it should be easier
to track down.