- 10 Dec, 1996 27 commits
-
-
Barry Warsaw authored
Note that there is no test suite for this module, and I don't plan to write one just now.
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
(i.e. this restores the old functionality). Note that if a test couldn't be imported, it is just ignored (and no warning is printed).
-
Barry Warsaw authored
(testall.out): obsolete. see individual test output files in the Output directory. (testall.py): now contains only the list of all tests (autotest.py): The new testing harness. Supports -g option to generate output files instead of verifying; -w option to warn about non-tested optional modules; additional command line arguments to generate or test individual tests (useful for generating output file of new tests).
-
Guido van Rossum authored
The raise logic has one additional feature: if you raise <class>, <value> where <value> is not an instance, it will construct an instance using <value> as argument. If <value> is None, <class> is instantiated without arguments. If <value> is a tuple, it is used as the argument list. This feature is intended to make it easier to upgrade code from using string exceptions to using class exceptions; without this feature, you'd have to change every raise statement from ``raise X'' to ``raise X()'' and from ``raise X, y'' to ``raise X(y)''. The latter is still the recommended form (because it has no ambiguities about the number of arguments), but this change makes the transition less painful.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Barry Warsaw authored
-
Barry Warsaw authored
I'm really not sure what the proper inputs are. I do flex the function call though by passing in arguments of the proper type. I don't try to exec the code object that gets returned!
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Tested with AMK's help.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Also got rid of the dummy variable, which was last needed in IRIX 4.x.
-
Guido van Rossum authored
-
Roger E. Masse authored
-
Roger E. Masse authored
updated testall.out
-
Barry Warsaw authored
-
- 09 Dec, 1996 13 commits
-
-
Barry Warsaw authored
-
Barry Warsaw authored
really test this module, or even compile it without a lot of work. I'll make a note of it that this has not been tested!
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Barry Warsaw authored
hang on the right side, if they are on a separate line, indent them under the keyword.
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Roger E. Masse authored
-
Barry Warsaw authored
simple tests. (testall.py, testall.out): Added MD5 testsuite
-
Barry Warsaw authored
-
Roger E. Masse authored
from emacs as per recomendation from GvR
-
Barry Warsaw authored
possible.
-