summaryrefslogtreecommitdiffstats
path: root/m4/ax_prog_java_works.m4
diff options
context:
space:
mode:
Diffstat (limited to 'm4/ax_prog_java_works.m4')
0 files changed, 0 insertions, 0 deletions
commitgraph'>| | | | | sys/types.h header on many systems that may get pulled in (through WANT_SIGFPE_HANDLER which pulls in signal.h). * Removed some colons that shouldn't be there (probably leftovers fromGuido van Rossum1997-08-252-26/+52 | | | | docstring conversion). * Arbitrary point checkpoint commit. Take no notice.Guido van Rossum1997-08-254-6/+248 | * Examples of metaprogramming in pure Python.Guido van Rossum1997-08-232-0/+291 | * Added a few more tests of exception class raisingBarry Warsaw1997-08-221-0/+8 | * generated output for new testsBarry Warsaw1997-08-221-0/+2 | * Added tests of the new builtin functions issubclass() and isinstance()Barry Warsaw1997-08-221-0/+36 | * cmp_exception gets promoted (essentially) to the C API functionBarry Warsaw1997-08-221-59/+10 | | | | | | | | | | | PyErr_GivenExceptionMatches(). set_exc_info(): make sure to normalize exceptions. do_raise(): Use PyErr_NormalizeException() if type is a class. loop_subscript(): Use PyErr_ExceptionMatches() instead of raw pointer compare for PyExc_IndexError. * Three new C API functions:Barry Warsaw1997-08-222-0/+111 | | | | | | | | | | | | | | | | | | | | | | | | | | - int PyErr_GivenExceptionMatches(obj1, obj2) Returns 1 if obj1 and obj2 are the same object, or if obj1 is an instance of type obj2, or of a class derived from obj2 - int PyErr_ExceptionMatches(obj) Higher level wrapper around PyErr_GivenExceptionMatches() which uses PyErr_Occurred() as obj1. This will be the more commonly called function. - void PyErr_NormalizeException(typeptr, valptr, tbptr) Normalizes exceptions, and places the normalized values in the arguments. If type is not a class, this does nothing. If type is a class, then it makes sure that value is an instance of the class by: 1. if instance is of the type, or a class derived from type, it does nothing. 2. otherwise it instantiates the class, using the value as an argument. If value is None, it uses an empty arg tuple, and if the value is a tuple, it uses just that. * Two new built-in functions: issubclass() and isinstance(). Both takeBarry Warsaw1997-08-221-5/+59 | | | | | | | | | | | | classes as their second arguments. The former takes a class as the first argument and returns true iff first is second, or is a subclass of second. The latter takes any object as the first argument and returns true iff first is an instance of the second, or any subclass of second. Also, change all occurances of pointer compares against PyExc_IndexError with PyErr_ExceptionMatches() calls. * Correct off-by-two-pixels error.Guido van Rossum1997-08-221-1/+1 | * Add unsupported variable EXE which can be set to .exe on systems whereGuido van Rossum1997-08-221-1/+4 | | | | | | the executable must have that suffix. Note that there is no corresponding support in the top-level Makefile because I'm not sure that the install targets there make sense under these circumstances. * Added configuration tests for presence of alarm(), pause(), and getpwent()Guido van Rossum1997-08-22