Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename roundup() to roundupsize(), as there's a macro roundup() in the | Guido van Rossum | 1997-08-25 | 1 | -2/+2 |
| | | | | | 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 from | Guido van Rossum | 1997-08-25 | 2 | -26/+52 |
| | | | | docstring conversion). | ||||
* | Arbitrary point checkpoint commit. Take no notice. | Guido van Rossum | 1997-08-25 | 4 | -6/+248 |
| | |||||
* | Examples of metaprogramming in pure Python. | Guido van Rossum | 1997-08-23 | 2 | -0/+291 |
| | |||||
* | Added a few more tests of exception class raising | Barry Warsaw | 1997-08-22 | 1 | -0/+8 |
| | |||||
* | generated output for new tests | Barry Warsaw | 1997-08-22 | 1 | -0/+2 |
| | |||||
* | Added tests of the new builtin functions issubclass() and isinstance() | Barry Warsaw | 1997-08-22 | 1 | -0/+36 |
| | |||||
* | cmp_exception gets promoted (essentially) to the C API function | Barry Warsaw | 1997-08-22 | 1 | -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 Warsaw | 1997-08-22 | 2 | -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 take | Barry Warsaw | 1997-08-22 | 1 | -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 Rossum | 1997-08-22 | 1 | -1/+1 |
| | |||||
* | Add unsupported variable EXE which can be set to .exe on systems where | Guido van Rossum | 1997-08-22 | 1 | -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 Rossum | 1997-08-22 | 5 | -11/+24 |
| | |||||
* | Oops, don't suppress echo of the rm command in l2hclean! | Fred Drake | 1997-08-22 | 1 | -1/+1 |
| | |||||
* | Simplify LaTeX2HTML targets && support re-use of output directories (which | Fred Drake | 1997-08-22 | 1 | -17/+10 |
| | | | | | | saves re-generation of images). Add l2hclean target. | ||||
* | Reverse the search order for the Don Beaudry hook so that the first | Guido van Rossum | 1997-08-22 | 1 | -4/+3 |
| | | | | class wins. Makes more sense. | ||||
* | Changed description of SchedParams() in the following way: | Fred Drake | 1997-08-22 | 2 | -4/+4 |
| | | | | | | | | | | | \bar{Besocial} --> \var{besocial} ^--- note case ----^ The fixed version matches the signature. Changed "\bar{Besocial} gives ..." to "The \var{besocial} flag gives ..." to keep from starting the sentence with a lowercase token. (The \bar{} --> \var{} change was required to keep LaTeX happy.) | ||||
* | Added missing "\end{funcdesc}" after FindFolder documentation. | Fred Drake | 1997-08-22 | 2 | -0/+2 |
| | |||||
* | Added new Py_IsInitalized() API function to test the 'initialized' flag. | Guido van Rossum | 1997-08-22 | 3 | -0/+11 |
| | |||||
* | Removed JF's dollar-Log-dollar RCS turd that caused compilation to | Barry Warsaw | 1997-08-21 | 1 | -52/+0 |
| | | | | | crash due to GvR's last check in message :-). Will try to convince JF to remove all this evilness. | ||||
* | Remove redundant decl for PyOS_InputHook. | Guido van Rossum | 1997-08-21 | 1 | -3/+0 |
| | |||||
* | Completely disable the declarations for malloc() and friends. Use | Guido van Rossum | 1997-08-21 | 1 | -2/+3 |
| | | | | | #ifdef though, so if you still need these for a really backwards compiler you know what to do. | ||||
* | Add warning about dumb SGI make. | Guido van Rossum | 1997-08-21 | 1 | -0/+6 |
| | |||||
* | Use lseek instead of ftell; compensate by adding BUFSIZE | Guido van Rossum | 1997-08-21 | 1 | -2/+6 |
| | |||||
* | Added /**/ around #end tags | Guido van Rossum | 1997-08-21 | 2 | -2/+5 |
| | |||||
* | Must remove conflicting files from archive | Guido van Rossum | 1997-08-21 | 1 | -4/+6 |
| | | | | | *before* adding signalmodule.o, because some ar programs are too smart for us... | ||||
* | mention cPickle and cStringIO | Guido van Rossum | 1997-08-21 | 2 | -0/+8 |
| | |||||
* | the usual | Guido van Rossum | 1997-08-21 | 1 | -191/+198 |
| | |||||
* | Fix some badly botched prototypes for PyRun* c.s. | Guido van Rossum | 1997-08-21 | 2 | -6/+6 |
| | |||||
* | Added reop | Guido van Rossum | 1997-08-21 | 1 | -0/+2 |
| | |||||
* | Added missing newline to warning msg | Guido van Rossum | 1997-08-21 | 1 | -1/+1 |
| | |||||
* | Richard Jones: I think we can be confident in using 'CC="-Aa | Guido van Rossum | 1997-08-21 | 1 | -0/+7 |
| | | | | -D_HPUX_SOURCE"' on HP 9.x and 10.x platforms. | ||||
* | Got rid of HP-UX comments (which seem to be out of date -- one should | Guido van Rossum | 1997-08-20 | 1 | -9/+8 |
| | | | | | | use -Ae). Added Cray T3E comments. | ||||
* | Globally renamed join() to joinpath() to avoid compilation error on Cray. | Guido van Rossum | 1997-08-20 | 1 | -22/+22 |
| | |||||
* | Renamed strndup to pystrndup, to avoid conflicting prototype | Guido van Rossum | 1997-08-20 | 1 | -5/+9 |
| | | | | in GNU libc on some platforms. | ||||
* | Interpret three slashes in file: URL as local file (for Netscape on | Guido van Rossum | 1997-08-20 | 1 | -4/+4 |
| | | | | Windows/Mac). | ||||
* | When we have signalmodule.o, remove intrcheck.o as well as sigcheck.o. | Guido van Rossum | 1997-08-20 | 1 | -3/+4 |
| | |||||
* | Use a counter instead of a Boolean to check for initialized; n calls | Guido van Rossum | 1997-08-20 | 2 | -5/+7 |
| | | | | to Py_Initialize will be undone by n calls to Py_Uninitialize. | ||||
* | Make sure the objects returned by __getinitargs__() are kept alive (in | Guido van Rossum | 1997-08-20 | 1 | -0/+18 |
| | | | | | | the memo) to avoid a certain kind of nasty crash. (Not easily reproducable because it requires a later call to __getinitargs__() to return a tuple that happens to be allocated at the same address.) | ||||
* | Use 'buildno1' instead of '@buildno' for temp file since DJGPP's bash | Guido van Rossum | 1997-08-20 | 1 | -2/+2 |
| | | | | doesn't seem to grok @buildno. | ||||
* | Need to define AR since it is used, and not all Makes define it by default. | Guido van Rossum | 1997-08-19 | 1 | -0/+1 |
| | |||||
* | Removed support_print docs. | Jack Jansen | 1997-08-19 | 1 | -2/+0 |
| | |||||
* | Docs on new tcl/tk, new build tree layout | Jack Jansen | 1997-08-19 | 1 | -55/+26 |
| | |||||
* | Very sketchy preliminary docs on new applescripting functionality. | Jack Jansen | 1997-08-19 | 1 | -32/+53 |
| | |||||
* | Added reop | Jack Jansen | 1997-08-19 | 1 | -0/+2 |
| | |||||
* | MkPluginAliases now knows about fat PythonCore (and all resource files | Jack Jansen | 1997-08-19 | 8 | -163/+164 |
| | | | | got binhexed again) | ||||
* | PythonCore is now a fat shared library, the plugin modules aren't fat, | Jack Jansen | 1997-08-19 | 21 | -4829/+4847 |
| | | | | | | | | unfortunately, this turned out to be too difficult. Plugins.prj now builds all plugin modules, and all the interdependencies between the projects are correct. One exception: plugins don't attempt to build PythonCore (PythonFAT and PythonApplet do). | ||||
* | Moved assert.h to ../Parser directory | Guido van Rossum | 1997-08-19 | 1 | -49/+0 |
| | |||||
* | Alas, the thread support for Tk didn't work. Withdraw it, until I | Guido van Rossum | 1997-08-19 | 1 | -0/+4 |
| | | | | figure out how to do this right. | ||||
* | Made lookdict nearly twice as fast, resulting in a 5% overall | Guido van Rossum | 1997-08-18 | 1 | -11/+13 |
| | | | | improvement of pystone. Vladimir Marangozov. |