| Commit message (Collapse) | Author | Age | Files | Lines | ||
|---|---|---|---|---|---|---|
| ... | ||||||
| * | Keep MS compiler happy: use (int)strlen() when comparing; make sure | Guido van Rossum | 1997-05-06 | 1 | -2/+8 | |
| | | | | | not to use kill(). | |||||
| * | Used operators from abstract.h where possible (arithmetic operators, | Guido van Rossum | 1997-05-06 | 1 | -420/+30 | |
| | | | | | | | get/set/del item). This removes a pile of duplication. There's no abstract operator for 'not' but I removed the function call for it anyway -- it's a little faster in-line. | |||||
| * | Checkin of Jack's buffer mods. | Guido van Rossum | 1997-05-05 | 1 | -25/+89 | |
| | | | | | Not really checked, but didn't fail any tests either... | |||||
| * | Fix old typo PyArgs_VaParse -> PyArg_VaParse. | Guido van Rossum | 1997-05-05 | 1 | -2/+2 | |
| | | | | | (Redoing the checking without merging in Jack's buffer mods.) | |||||
| * | Massive changes for separate thread state management. | Guido van Rossum | 1997-05-05 | 8 | -231/+630 | |
| | | | | | | All per-thread globals are moved into a struct which is manipulated separately. | |||||
| * | Only use PyCode_Addr2Line to get tb_lineno when Py_OptimizeFlag is set. | Guido van Rossum | 1997-05-05 | 1 | -2/+3 | |
| | | ||||||
| * | Remove 2 out of 3 __FreeBSD__ tests. | Guido van Rossum | 1997-05-05 | 1 | -2/+2 | |
| | | | | | | These are no longer needed as of FreeBSD 2.0.5, according to Thomas Gellekum <tg@ihf.rwth-aachen.de>. | |||||
| * | Add detach call so threads are GC'ed. | Guido van Rossum | 1997-04-30 | 1 | -0/+2 | |
| | | ||||||
| * | Avoid some potential (though unlikely) sprintf buffer overflows. | Guido van Rossum | 1997-04-30 | 1 | -3/+6 | |
| | | ||||||
| * | Avoid sprintf buffer overflow if more than 9999 arguments. | Guido van Rossum | 1997-04-30 | 1 | -1/+1 | |
| | | ||||||
| * | Ugly hack for SGI IRIX 6.2. Apparently _POSIX_THREADS is defined even | Guido van Rossum | 1997-04-29 | 1 | -0/+6 | |
| | | | | | | when the pthread package is not installed. configure knows better, so #undef _POSIX_THREADS when pthread.h does not exist. | |||||
| * | Oops, forgot one: inittab. | Guido van Rossum | 1997-04-29 | 1 | -2/+2 | |
| | | ||||||
| * | Oops, forgot one: inittab. | Guido van Rossum | 1997-04-29 | 1 | -7/+7 | |
| | | ||||||
| * | Quickly renamed the remaining files -- this directory is done. | Guido van Rossum | 1997-04-29 | 10 | -1748/+1834 | |
| | | ||||||
| * | Quickly renamed. | Guido van Rossum | 1997-04-29 | 2 | -200/+204 | |
| | | ||||||
| * | Quickly renamed. Also removed the long comment explaining why this is | Guido van Rossum | 1997-04-29 | 1 | -90/+56 | |
| | | | | | better than the old error API. | |||||
| * | Quickly renamed. | Guido van Rossum | 1997-04-29 | 1 | -799/+798 | |
| | | ||||||
| * | Moved to ../Modules. | Guido van Rossum | 1997-04-29 | 1 | -384/+0 | |
| | | ||||||
| * | Removed cgensupport.[co] (to ../Modules). | Guido van Rossum | 1997-04-29 | 1 | -2/+1 | |
| | | ||||||
| * | Expand one level of symbolic link in sys.argv[0] before inserting its | Guido van Rossum | 1997-04-25 | 1 | -8/+41 | |
| | | | | | | | | | | | | | | | dirname in sys.path. This means that you can create a symbolic link foo in /usr/local/bin pointing to /usr/yourname/src/foo/foo.py, and then invoking foo will insert /usr/yourname/src/foo in sys.path, not /usr/local/bin. This makes it easier to have multifile programs (before, the program would have to do an os.readlink(sys.argv[0]) itself and insert the resulting directory in sys.path -- Grail does this). Note that the expansion is only used for sys.path; sys.argv[0] is still the original, unadorned filename (/usr/local/bin/foo in the example). | |||||
| * | OK, ready to make 'assert' a keyword (instead of '__assert__'). | Guido van Rossum | 1997-04-16 | 1 | -1/+1 | |
| | | ||||||
| * | Keep Microsoft VC happy. | Guido van Rossum | 1997-04-11 | 1 | -0/+2 | |
| | | ||||||
| * | Keep gcc -Wall and Microsoft VC happy. | Guido van Rossum | 1997-04-11 | 5 | -21/+24 | |
| | | ||||||
| * | (Jack:) On the Mac, don't automatically enable dynamic loading. | Guido van Rossum | 1997-04-11 | 1 | -8/+0 | |
| | | ||||||
| * | (Jack:) Don't define TRUE and FALSE if already defined. | Guido van Rossum | 1997-04-11 | 1 | -1/+4 | |
| | | ||||||
| * | (Jack:) On the Mac, use standard strerror() if using MSL C-library. | Guido van Rossum | 1997-04-11 | 1 | -0/+2 | |
| | | ||||||
| * | Tweaks to keep the Microsoft compiler quier. | Guido van Rossum | 1997-04-09 | 4 | -8/+16 | |
| | | ||||||
| * | Support for alternative string quotes (a"xx", b"xx", c"xx", ...). | Guido van Rossum | 1997-04-06 | 1 | -3/+6 | |
| | | | | | In interactive mode, do generate code for single-string statements. | |||||
| * | Allow passing a .pyo file. | Guido van Rossum | 1997-04-02 | 1 | -5/+8 | |
| | | | | | Print correct name in fatal error from PyErr_Print. | |||||
| * | Added assert statement. | Guido van Rossum | 1997-04-02 | 1 | -0/+45 | |
| | | ||||||
| * | Added assert grammar. | Guido van Rossum | 1997-04-02 | 1 | -494/+522 | |
| | | ||||||
| * | 1. Add string conversions to int(), long(), float(). (Not to complex()!) | Guido van Rossum | 1997-03-31 | 1 | -7/+127 | |
| | | | | | | | | | | | 2. Fix two bugs in complex(): - Memory leak when using complex(classinstance) -- r was never DECREF'ed. - Conversion of the second argument, if not complex, was done using the type vector of the 1st. | |||||
| * | New form of PyFPE_END_PROTECT macro. | Guido van Rossum | 1997-03-14 | 3 | -6/+6 | |
| | | ||||||
| * | Fix dumb bug calling parsestrplus with wrong node as argument. | Guido van Rossum | 1997-03-11 | 1 | -1/+3 | |
| | | | | | | Add prototypes for parsestr() and parsestrplus() (unrelated, but seemed to make sense.) | |||||
| * | Define __debug__ as 0 if -O is given, 1 otherwise. Also test for | Guido van Rossum | 1997-03-11 | 1 | -0/+4 | |
| | | | | | errors in initializing the dictionary. | |||||
| * | Added support for ``if __debug__:'' -- if -O is given, this form is | Guido van Rossum | 1997-03-11 | 1 | -2/+90 | |
| | | | | | | | | | | | | recognized by the code generator and code generation for the test and the subsequent suite is suppressed. One must write *exactly* ``if __debug__:'' or ``elif __debug__:'' -- no parentheses or operators must be present, or the optimization is not carried through. Whitespace doesn't matter. Other uses of __debug__ will find __debug__ defined as 0 or 1 in the __builtin__ module. | |||||
| * | When -O is given, use ".pyo" instead of ".pyc". | Guido van Rossum | 1997-03-11 | 1 | -1/+9 | |
| | | ||||||
| * | Clarify error message for unexpected keyword parameter. | Guido van Rossum | 1997-03-10 | 1 | -1/+4 | |
| | | ||||||
| * | Greatly renamed. Not a very thorough job -- I'm going to restructure | Guido van Rossum | 1997-03-05 | 1 | -210/+211 | |
| | | | | | it anyway. | |||||
| * | Add global Py_OptimizeFlag. SET_LINENO is omitted again unless this is | Guido van Rossum | 1997-03-03 | 1 | -4/+7 | |
| | | | | | nonzero. | |||||
| * | Changes for Lee Busby's SIGFPE patch set. | Guido van Rossum | 1997-02-14 | 5 | -4/+38 | |
| | | | | | | New file pyfpe.c and exception FloatingPointError. Surround some f.p. operations with PyFPE macro brackets. | |||||
| * | Keep gcc -Wall happy. | Guido van Rossum | 1997-02-14 | 1 | -1/+1 | |
| | | ||||||
| * | Oops, remove an unused variable from PyErr_Format(). | Guido van Rossum | 1997-02-14 | 1 | -1/+0 | |
| | | ||||||
| * | Added new global flag variable Py_InteractiveFlag and new function | Guido van Rossum | 1997-02-14 | 1 | -1/+22 | |
| | | | | | | | | Py_FdIsInteractive(). The flag is supposed to be set by the -i command line option. The function is supposed to be called instead of isatty(). This is used for Lee Busby's wish #1, to have an option that pretends stdin is interactive even when it really isn't. | |||||
| * | Added convenience function PyErr_Format(exception, formatstring, ...) -> NULL. | Guido van Rossum | 1997-02-14 | 1 | -0/+27 | |
| | | ||||||
| * | *Don't* kill all local variables on function exit. This will be done | Guido van Rossum | 1997-02-14 | 1 | -12/+0 | |
| | | | | | | | | | by the frameobject dealloc when it is time for the locals to go. When there's still a traceback object referencing this stack frame, we don't want the local variables to disappear yet. (Hmm... Shouldn't they be copied to the f_locals dictionary?) | |||||
| * | Added intern() function. | Guido van Rossum | 1997-02-14 | 1 | -0/+14 | |
| | | ||||||
| * | Two small changes: | Guido van Rossum | 1997-01-27 | 1 | -5/+3 | |
| | | | | | | | | | | - Use co->... instead of f->f_code->...; save an extra lookup of what we already have in a local variable). - Remove test for nlocals > 0 before setting fastlocals to f->f_localsplus; 0 is a rare case and the assignment is safe even then. | |||||
| * | Plug a leak with calling something other than a function or method is | Guido van Rossum | 1997-01-27 | 1 | -4/+3 | |
| | | | | | | | | called with keyword arguments -- the keyword and value were leaked. This affected for instance with a __call__() method. Bug reported and fix supplied by Jim Fulton. | |||||
| * | Patches for (two forms of) optional dynamic execution profiling -- | Guido van Rossum | 1997-01-24 | 1 | -0/+68 | |
| | | | | | | | i.e., counting opcode frequencies, or (with DXPAIRS defined) opcode pair frequencies. Define DYNAMIC_EXECUTION_PROFILE on the command line (for this file and for sysmodule.c) to enable. | |||||
