- 26 Agu, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 25 Agu, 1997 9 kayıt (commit)
-
-
Barry Warsaw yazdı
evaluating its arguments twice.
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
UNPACK_LIST byte codes and added a third code path that allows generalized sequence unpacking. Now both syntaxes: a, b, c = seq [a, b, c] = seq can be used to unpack any sequence with the exact right number of items. unpack_sequence(): out-lined implementation of generalized sequence unpacking. tuple and list unpacking are still inlined.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
former lets you give an instance a set of new instance vars. The latter lets you give it a new class. Both are typechecked and disallowed in restricted mode. For classes, the check for read-only special attributes is tightened so that only assignments to __dict__, __bases__, __name__, __getattr__, __setattr__, and __delattr__ (these could be made to work as well, but I don't know if that's useful -- let's see first whether mucking with instances will help).
-
Guido van Rossum yazdı
sys/types.h header on many systems that may get pulled in (through WANT_SIGFPE_HANDLER which pulls in signal.h).
-
Guido van Rossum yazdı
docstring conversion).
-
Guido van Rossum yazdı
-
- 23 Agu, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
-
- 22 Agu, 1997 15 kayıt (commit)
-
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
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.
-
Barry Warsaw yazdı
- 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.
-
Barry Warsaw yazdı
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.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
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.
-
Guido van Rossum yazdı
-
Fred Drake yazdı
-
Fred Drake yazdı
saves re-generation of images). Add l2hclean target.
-
Guido van Rossum yazdı
class wins. Makes more sense.
-
Fred Drake yazdı
\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.)
-
Fred Drake yazdı
-
Guido van Rossum yazdı
-
- 21 Agu, 1997 13 kayıt (commit)
-
-
Barry Warsaw yazdı
crash due to GvR's last check in message :-). Will try to convince JF to remove all this evilness.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
#ifdef though, so if you still need these for a really backwards compiler you know what to do.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
*before* adding signalmodule.o, because some ar programs are too smart for us...
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-D_HPUX_SOURCE"' on HP 9.x and 10.x platforms.
-
- 20 Agu, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
use -Ae). Added Cray T3E comments.
-