Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Marshal the new stacksize item in code objects. | Guido van Rossum | 1997-01-17 | 1 | -1/+3 |
| | |||||
* | Working semaphore implementation by Sjoerd. | Guido van Rossum | 1997-01-17 | 1 | -3/+64 |
| | |||||
* | New MAGIC number (code objects have one more item when marshalled). | Guido van Rossum | 1997-01-17 | 1 | -1/+2 |
| | |||||
* | Use the stack size from the code object and the CO_MAXBLOCKS constant | Guido van Rossum | 1997-01-17 | 1 | -2/+10 |
| | | | | from compile.h. Remove all eval stack overflow checks. | ||||
* | Add co_stacksize field to codeobject structure, and stacksize argument | Guido van Rossum | 1997-01-17 | 1 | -62/+253 |
| | | | | | | | | | | | | to PyCode_New() argument list. Move MAXBLOCKS constant to conpile.h. Added accurate calculation of the actual stack size needed by the generated code. Also commented out all fprintf statements (except for a new one to diagnose stack underflow, and one in #ifdef'ed out code), and added some new TO DO suggestions (now that the stacksize is taken of the TO DO list). | ||||
* | Check for duplicate keyword arguments at compile time. | Guido van Rossum | 1997-01-06 | 1 | -12/+20 |
| | |||||
* | Make builtin_module_names a tuple instead of a list. | Guido van Rossum | 1997-01-06 | 1 | -0/+5 |
| | |||||
* | 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 |
| |