| Commit message (Collapse) | Author | Age | Files | Lines | |
|---|---|---|---|---|---|
| * | Fix memory leak found by valgrind. | Neal Norwitz | 2006-06-02 | 1 | -2/+4 |
| | | |||||
| * | Convert docstrings to comments so regrtest -v prints method names | Neal Norwitz | 2006-06-02 | 1 | -7/+7 |
| | | |||||
| * | Some code style tweaks, and remove apply. | Georg Brandl | 2006-06-01 | 1 | -63/+67 |
| | | |||||
| * | Whitespace normalization. | Tim Peters | 2006-05-30 | 1 | -4/+4 |
| | | |||||
| * | Convert test_exceptions to unittest. | Georg Brandl | 2006-05-30 | 1 | -297/+287 |
| | | |||||
| * | Do the check for no keyword arguments in __init__ so that | Georg Brandl | 2006-05-30 | 1 | -1/+1 |
| | | | | | subclasses of Exception can be supplied keyword args | ||||
| * | Disallow keyword args for exceptions. | Georg Brandl | 2006-05-30 | 1 | -0/+7 |
| | | |||||
| * | Add a test case for exception pickling. args is never NULL. | Georg Brandl | 2006-05-30 | 1 | -0/+13 |
| | | |||||
| * | Conversion of exceptions over from faked-up classes to new-style C types. | Richard Jones | 2006-05-27 | 1 | -8/+85 |
| | | |||||
| * | PEP 352 implementation. Creates a new base class, BaseException, which has an | Brett Cannon | 2006-03-01 | 1 | -4/+1 |
| | | | | | | | | | | added message attribute compared to the previous version of Exception. It is also a new-style class, making all exceptions now new-style. KeyboardInterrupt and SystemExit inherit from BaseException directly. String exceptions now raise DeprecationWarning. Applies patch 1104669, and closes bugs 1012952 and 518846. | ||||
| * | Stop producing or using OverflowWarning. PEP 237 thought this would | Tim Peters | 2004-08-25 | 1 | -7/+8 |
| | | | | | | | | happen in 2.3, but nobody noticed it still was getting generated (the warning was disabled by default). OverflowWarning and PyExc_OverflowWarning should be removed for 2.5, and left notes all over saying so. | ||||
| * | Patch #734231: Update RiscOS support. In particular, correct | Martin v. Löwis | 2003-05-10 | 1 | -3/+3 |
| | | | | | riscospath.extsep, and use os.extsep throughout. | ||||
| * | Complete the absolute import patch for the test suite. All relative | Barry Warsaw | 2002-07-30 | 1 | -1/+1 |
| | | | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed. | ||||
| * | Tighten up some warning filters, and break some dependencies on the | Tim Peters | 2002-04-16 | 1 | -2/+6 |
| | | | | | order in which the tests are normally run. | ||||
| * | Enable support for jython: | Finn Bock | 2001-12-08 | 1 | -4/+11 |
| | | | | | | | | | | 1. Acknowledge the welknown difference that jython allows continue in the finally clause. 2. Avoid using _testcapi when running with jython. This closes patch "[ #490417 ] Jython and test_exceptions" | ||||
| * | Add tests for new PyErr_NormalizeException() behavior | Jeremy Hylton | 2001-09-26 | 1 | -0/+35 |
| | | | | | | | | | | | | | Add raise_exception() to the _testcapi module. It isn't a test, but the C API exists only to support test_exceptions. raise_exception() takes two arguments -- an exception class and an integer specifying how many arguments it should be called with. test_exceptions uses BadException() to test the interpreter's behavior when there is a problem instantiating the exception. test_capi1() calls it with too many arguments. test_capi2() causes an exception to be raised in the Python code of the constructor. | ||||
| * | Turn OverflowWarning into an error locally, in order to make the | Guido van Rossum | 2001-08-23 | 1 | -0/+3 |
| | | | | | OverflowError test succeed. | ||||
| * | reload(exceptions) should not raise an ImportError, but should act | Barry Warsaw | 2001-08-13 | 1 | -0/+8 |
| | | | | | just like reload(sys). Test that this is so. Closes SF bug #422004. | ||||
| * | Allow 'continue' inside 'try' clause | Jeremy Hylton | 2001-02-01 | 1 | -19/+2 |
| | | | | | SF patch 102989 by Thomas Wouters | ||||
| * | Use 4-space indents. | Fred Drake | 2000-10-23 | 1 | -8/+8 |
| | | |||||
| * | Add test cases to make sure we get the right SyntaxError message for | Fred Drake | 2000-09-08 | 1 | -0/+49 |
| | | | | | various illegal uses of "continue". | ||||
| * | Applying patch #100994 to allow JPython to use more of the standard | Barry Warsaw | 2000-09-01 | 1 | -1/+1 |
| | | | | | | | | | | | | | | Python test suite. Specifically, - import time instead of strop in test_b1 - test for ClassType of exceptions using isinstance instead of equality in test_exceptions - remove __builtins__ from dir() output in test_pkg test_pkg output needs to be regenerated. | ||||
| * | Create two new exceptions: IndentationError and TabError. These are | Fred Drake | 2000-07-11 | 1 | -0/+8 |
| | | | | | | | | used for indentation related errors. This patch includes Ping's improvements for indentation-related error messages. Closes SourceForge patches #100734 and #100856. | ||||
| * | add minimal test of exception use. verify that each exception can be | Jeremy Hylton | 2000-06-20 | 1 | -0/+12 |
| | | | | | raised, caught, and converted to a string. | ||||
| * | Added a test to catch the base class. | Barry Warsaw | 2000-05-25 | 1 | -0/+4 |
| | | |||||
| * | Mass check-in after untabifying all files that need it. | Guido van Rossum | 1998-03-26 | 1 | -10/+10 |
| | | |||||
| * | Expanded r() function to handle class exceptions. | Barry Warsaw | 1997-08-29 | 1 | -1/+6 |
| | | |||||
| * | exec() -> exec | Guido van Rossum | 1995-08-11 | 1 | -1/+1 |
| | | |||||
| * | Unmerged except and finally clauses | Guido van Rossum | 1992-05-06 | 1 | -4/+5 |
| | | |||||
| * | Initial revision | Guido van Rossum | 1992-01-27 | 1 | -0/+91 |
