Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename DEBUG macro to Py_DEBUG | Guido van Rossum | 1996-12-30 | 3 | -9/+9 |
| | |||||
* | Moved the raise logic out of the main interpreter loop to a separate function. | Guido van Rossum | 1996-12-10 | 1 | -60/+127 |
| | | | | | | | | | | | | | | | 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. | ||||
* | Better way to handle 64-bit ints, keeping gcc -Wall happy. | Guido van Rossum | 1996-12-10 | 1 | -30/+18 |
| | | | | Tested with AMK's help. | ||||
* | Add unistd.h to make gcc -Wall happy. | Guido van Rossum | 1996-12-10 | 1 | -0/+4 |
| | |||||
* | Add const to error and newstring functions | Guido van Rossum | 1996-12-10 | 1 | -1/+1 |
| | |||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1996-12-05 | 6 | -28/+38 |
| | |||||
* | Support __complex__ method on instances, for complex() conversion. | Guido van Rossum | 1996-12-05 | 1 | -1/+23 |
| | | | | Keep gcc -Wall happy. | ||||
* | Change the Don Beaudry hack into the Don B + Jim F hack; now, if *any* | Guido van Rossum | 1996-12-05 | 1 | -28/+26 |
| | | | | | | base class is special it gets invoked. Make gcc -Wall happy. | ||||
* | Some extra flags that an HPUX user wants me to add. | Guido van Rossum | 1996-12-05 | 1 | -2/+2 |
| | |||||
* | Tentative changes to make this work better on 64-bit machines. | Guido van Rossum | 1996-12-05 | 1 | -3/+66 |
| | | | | | A plain int that doesn't fit in 32 bits will be marshalled using a new type. 32 bits machines can't handle this and will issue a warning. | ||||
* | New permission notice, includes CNRI. | Guido van Rossum | 1996-10-25 | 38 | -495/+761 |
| | |||||
* | Forget about Ellipses b/w compatibility. | Guido van Rossum | 1996-10-16 | 1 | -2/+0 |
| | |||||
* | Ellipses -> Ellipsis rename (the dictionary really says that it should | Guido van Rossum | 1996-10-11 | 3 | -8/+10 |
| | | | | | | | | be Ellipsis!). Bumped the API version because a linker-visible symbol is affected. Old C code will still compile -- there's a b/w compat macro. Similarly, old Python code will still run, builtin exports both Ellipses and Ellipsis. | ||||
* | Sjoerd's thread changes (including down_sema typo fix). | Guido van Rossum | 1996-10-08 | 8 | -18/+47 |
| | | | | Note: waitflag not supported on NT. | ||||
* | Added line number to most compile-time error messages. | Guido van Rossum | 1996-09-17 | 1 | -88/+90 |
| | |||||
* | Rationalized MS ifdefs | Guido van Rossum | 1996-09-11 | 3 | -18/+10 |
| | |||||
* | Changes to setpythonpath(): | Guido van Rossum | 1996-09-10 | 1 | -4/+23 |
| | | | | | Test for / as well as for SEP for MS filenames. Drop trailing separator from sys.path[0] for MS and Unix filenames. | ||||
* | Stupid bug: complex(x,y) would yield x+xj | Guido van Rossum | 1996-09-07 | 1 | -1/+1 |
| | |||||
* | *** empty log message *** | Guido van Rossum | 1996-08-29 | 1 | -0/+26 |
| | |||||
* | Needed more includes... | Guido van Rossum | 1996-08-29 | 1 | -6/+3 |
| | |||||
* | *** empty log message *** | Guido van Rossum | 1996-08-29 | 1 | -0/+22 |
| | |||||
* | typo (#indef -> #undef) | Guido van Rossum | 1996-08-26 | 1 | -1/+1 |
| | |||||
* | Afterthough: leave both leading underscores in, | Guido van Rossum | 1996-08-24 | 1 | -5/+5 |
| | | | | so __spam becomes _ClassName__spam. | ||||
* | Oops need to mangle global statement separately | Guido van Rossum | 1996-08-24 | 1 | -0/+7 |
| | |||||
* | Name mangling, what the heck! | Guido van Rossum | 1996-08-24 | 1 | -3/+80 |
| | |||||
* | Use MS_DLL_ID as sys.winver | Guido van Rossum | 1996-08-23 | 1 | -2/+2 |
| | |||||
* | PYTHONWIN -> MS_COREDLL | Guido van Rossum | 1996-08-22 | 1 | -1/+1 |
| | |||||
* | Add needed #include <ctype.h> | Guido van Rossum | 1996-08-21 | 1 | -0/+2 |
| | |||||
* | Add explicit #undef _POSIX_THREADS for use on Solaris 2.5 (Sjoerd). | Guido van Rossum | 1996-08-21 | 1 | -0/+1 |
| | |||||
* | Don't require <dlfcn.h> -- rely on existence of dlopen(). | Guido van Rossum | 1996-08-20 | 1 | -1/+3 |
| | |||||
* | Always include config.h | Guido van Rossum | 1996-08-19 | 6 | -12/+0 |
| | |||||
* | Many little fixes: | Guido van Rossum | 1996-08-19 | 1 | -3/+19 |
| | | | | | | | | - support for SCO_SV dynamic loading - on Mac, auto-detect dynamic loading by __CFM68K__ or _powerc) - on Mac, long shared library extension is .cfm68k.slb or .ppc.slb - on hp, don't redefine hpux if already defined - add __file__ property to successfully loaded module | ||||
* | getprogramname -> Py_GetProgramName. | Guido van Rossum | 1996-08-19 | 1 | -2/+2 |
| | |||||
* | Raise TypeError, not KeyError, on unknown keyword argument. | Guido van Rossum | 1996-08-19 | 1 | -2/+1 |
| | |||||
* | Added *PyMarshal_WriteObjectToString() (moved the relevant code there | Guido van Rossum | 1996-08-19 | 1 | -18/+25 |
| | | | | from marshal_loads()). | ||||
* | Support for keyword arguments (PyArg_ParseTupleAndKeywords) donated by | Guido van Rossum | 1996-08-19 | 1 | -3/+383 |
| | | | | | | | Geoff Philbrick <philbric@delphi.hks.com> (slightly changed by me). Also a little change to make the file acceptable to K&R C compilers (HPUX, SunOS 4.x). | ||||
* | Don't test here for negative number to float power; that belongs in | Guido van Rossum | 1996-08-16 | 1 | -9/+0 |
| | | | | floatobject.c. | ||||
* | Don't die in resizestring() on filter(<func>, ""). | Guido van Rossum | 1996-08-16 | 1 | -1/+1 |
| | |||||
* | Disable support for access statement | Guido van Rossum | 1996-08-12 | 3 | -589/+567 |
| | |||||
* | Insert "./" in front of pathname when it contains no '/' (if USE_SHLIB) | Guido van Rossum | 1996-08-09 | 1 | -0/+6 |
| | |||||
* | Changes necessary for AIX. | Guido van Rossum | 1996-08-08 | 1 | -0/+15 |
| | |||||
* | Added casts from unsigned char to char when calling rds_object() on | Guido van Rossum | 1996-08-08 | 1 | -2/+2 |
| | | | | frozen code. | ||||
* | Removed unused var; added error check for ``lambda: x=1''. | Guido van Rossum | 1996-08-08 | 1 | -1/+5 |
| | |||||
* | Include mymath.h instead of declaring prototypes for math functions. | Guido van Rossum | 1996-08-08 | 1 | -5/+13 |
| | | | | Fix leak and unchecked error in complex(). | ||||
* | Put definition of _REENTRANT in config.h | Guido van Rossum | 1996-08-01 | 1 | -4/+0 |
| | |||||
* | Changes for AIX sharedlibs. | Guido van Rossum | 1996-07-31 | 1 | -14/+120 |
| | |||||
* | If NO_DYNAMIC_LINK is defined, load_dynamic_module() will always fail. | Guido van Rossum | 1996-07-31 | 1 | -0/+4 |
| | |||||
* | Added _REENTRANT definition | Guido van Rossum | 1996-07-31 | 1 | -0/+4 |
| | |||||
* | Always insert script directory in front of sys.path -- if there's no | Guido van Rossum | 1996-07-30 | 1 | -17/+17 |
| | | | | | sys.argv, insert "". Note that "." is removed as a default component of the path (see changes to getpath.c and Setup.in). | ||||
* | Better error message if stride used on normal sequence object | Guido van Rossum | 1996-07-30 | 1 | -2/+10 |
| |