Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Emptied (in expectation of a laundry list of what's new in 1.5). | Guido van Rossum | 1997-07-19 | 1 | -766/+0 |
| | |||||
* | Added note about libpython1.5.a. | Guido van Rossum | 1997-07-19 | 1 | -0/+3 |
| | |||||
* | Some new names. | Guido van Rossum | 1997-07-19 | 1 | -0/+5 |
| | |||||
* | Add the option to pass an open file object to GzipFile. This obviates | Guido van Rossum | 1997-07-19 | 1 | -55/+44 |
| | | | | the need for the StringIO subclass. | ||||
* | Document new 'quote' flag to cgi.escape(). | Guido van Rossum | 1997-07-19 | 2 | -6/+10 |
| | |||||
* | Add optional 'quote' flag argument to escape(); if true, translate '"' | Guido van Rossum | 1997-07-19 | 1 | -1/+3 |
| | | | | to '"'. | ||||
* | New dialog routines (Fred Lundh) | Guido van Rossum | 1997-07-19 | 8 | -0/+722 |
| | |||||
* | Use dictionary's update() method in _cnfmerge(). | Guido van Rossum | 1997-07-19 | 2 | -4/+12 |
| | |||||
* | Removed Py_SuppressPrintingFlag flag; added new | Guido van Rossum | 1997-07-19 | 1 | -1/+3 |
| | | | | PyEval_{Acquire,Release}Thread() calls. | ||||
* | Removed remaining support for Tk versions below 4.0. | Guido van Rossum | 1997-07-19 | 1 | -28/+7 |
| | |||||
* | Moved PyEval_{Acquire,Release}Thread() to within the same #ifdef | Guido van Rossum | 1997-07-19 | 1 | -21/+23 |
| | | | | | | WITH_THREAD as PyEval_InitThreads(). Removed use of Py_SuppressPrintingFlag. | ||||
* | Adapted to new build procedure (hopefully correct -- can't test it!). | Guido van Rossum | 1997-07-19 | 1 | -5/+5 |
| | |||||
* | Removed a bunch of extern declarations of functions that are now | Guido van Rossum | 1997-07-19 | 2 | -13/+0 |
| | | | | properly declared in Python.h. | ||||
* | Added declarations for Py_{Set,Get}ProgramName() and a bunch of other | Guido van Rossum | 1997-07-19 | 1 | -0/+17 |
| | | | | Py_Get*() functions. | ||||
* | Added decl for PyInt_GetMax(). | Guido van Rossum | 1997-07-19 | 1 | -0/+1 |
| | |||||
* | Make it return a _const_ char*. | Guido van Rossum | 1997-07-19 | 3 | -5/+2 |
| | |||||
* | New build procedure. | Guido van Rossum | 1997-07-19 | 4 | -58/+66 |
| | |||||
* | New build procedure, using a single library libpython$(VERSION) at | Guido van Rossum | 1997-07-19 | 1 | -13/+21 |
| | | | | | | | | this level. The old libraries Modules/libModules.a etc. don't exist any more. The libainstall target is updated to match. | ||||
* | The usual | Guido van Rossum | 1997-07-19 | 1 | -212/+213 |
| | |||||
* | Set $VERSION here (fixed to 1.5). | Guido van Rossum | 1997-07-19 | 1 | -2/+4 |
| | | | | Remove some unneeded AC_SUBST() calls. | ||||
* | Moved PyEval_InitThreads to inside WITH_THREAD, where it belongs. | Guido van Rossum | 1997-07-19 | 1 | -1/+1 |
| | |||||
* | Got rid of "suppres printing" flag. | Guido van Rossum | 1997-07-19 | 1 | -1/+0 |
| | |||||
* | This is now the "real" main program -- it calls Py_Main(argc, argv) | Guido van Rossum | 1997-07-19 | 1 | -0/+10 |
| | | | | which is in the library and does all the work. | ||||
* | Tracking changes to Py_Main(): | Guido van Rossum | 1997-07-19 | 1 | -18/+4 |
| | | | | | | | | - Got rid of inspection of some environment variables. - Got rid of Py_GetProgramName() and related logic. - Print the version header *after* successful initialization. | ||||
* | This is no longer the real main program; it now defines Py_Main(), so | Guido van Rossum | 1997-07-19 | 1 | -30/+7 |
| | | | | | | | | | | | | | | | | it can be placed in the library. Other, related changes: - Moved the inspection of some environment variables to Py_Initialize(). - Got rid of -s option. - Moved Py_GetProgramName() and related logic to pythonrun.c; call Py_SetProgramName() instead. - Print the version header *after* successful initialization. | ||||
* | Moved some stuff here from main.c (part of a big restructuring - wait | Guido van Rossum | 1997-07-19 | 1 | -1/+26 |
| | | | | | | | | | | | | | for more!). - The global flags that can be set from environment variables are now set in Py_Initialize (except the silly Py_SuppressPrint, which no longer exists). This saves duplicate code in frozenmain.c and main.c. - Py_GetProgramName() is now here; added Py_SetProgramName(). An embedding program should no longer provide Py_GetProgramName(), instead it should call Py_SetProgramName() *before* calling Py_Initialize(). | ||||
* | Remove confusing usage comments at end. | Guido van Rossum | 1997-07-19 | 1 | -28/+0 |
| | |||||
* | Include pystate.h earlier so it can be referenced by ceval.h. | Guido van Rossum | 1997-07-18 | 1 | -2/+2 |
| | |||||
* | Use the new functions PyEval_AcquireThread() and | Guido van Rossum | 1997-07-18 | 1 | -5/+3 |
| | | | | | | | PyEval_ReleaseThread() (in ceval.c) to set/reset the current thread, and at the same time acquire/release the interpreter lock. Much saner. | ||||
* | PyEval_SaveThread() and PyEval_RestoreThread() now return/take a | Guido van Rossum | 1997-07-18 | 2 | -9/+34 |
| | | | | | | | | | | | | | | | | PyThreadState pointer instead of a (frame) PyObject pointer. This makes much more sense. It is backward incompatible, but that's no problem, because (a) the heaviest users are the Py_{BEGIN,END}_ ALLOW_THREADS macros here, which have been fixed too; (b) there are very few direct users; (c) those who use it are there will probably appreciate the change. Also, added new functions PyEval_AcquireThread() and PyEval_ReleaseThread() which allows the threads created by the thread module as well threads created by others (!) to set/reset the current thread, and at the same time acquire/release the interpreter lock. Much saner. | ||||
* | Nit: round delays to 0.1 second. | Guido van Rossum | 1997-07-18 | 1 | -2/+2 |
| | |||||
* | The usual | Guido van Rossum | 1997-07-18 | 1 | -195/+201 |
| | |||||
* | Set OPT to -g -O2 (or -O2 when -g not supported) when using gcc. | Guido van Rossum | 1997-07-18 | 1 | -1/+7 |
| | |||||
* | added code.py; codehack.py is obsolete | Guido van Rossum | 1997-07-18 | 7 | -5/+81 |
| | |||||
* | Added label{module-spam} | Guido van Rossum | 1997-07-18 | 5 | -3/+11 |
| | |||||
* | Remove pprint from the list of undocumented modules. | Fred Drake | 1997-07-18 | 2 | -8/+0 |
| | |||||
* | Add entry for the pprint module. | Fred Drake | 1997-07-18 | 2 | -0/+2 |
| | |||||
* | Add libpprint.tex to the lib.dvi dependencies. | Fred Drake | 1997-07-18 | 1 | -1/+2 |
| | |||||
* | Slight mods to make the module conform to the documentation. | Fred Drake | 1997-07-18 | 1 | -14/+63 |
| | |||||
* | Documentation for the pprint module. | Fred Drake | 1997-07-18 | 2 | -0/+304 |
| | |||||
* | Checking in new module code.py -- utilities dealing with code objects. | Guido van Rossum | 1997-07-18 | 1 | -0/+52 |
| | | | | | | | Currently, contains one function: compile_command(), which helps determining whether a source string is complete, incomplete or in error. This is useful when writing your own version of the Python read-eval-print loop. | ||||
* | This module is now completely obsolete. | Guido van Rossum | 1997-07-18 | 2 | -0/+28 |
| | | | | | Noted this in the XXX comments. Also, changed all three functions to use the attributes if they exist. | ||||
* | No longer need to use codehack -- use co.co_firstlineno instead. | Guido van Rossum | 1997-07-18 | 1 | -2/+1 |
| | |||||
* | Use sys.exc_info() instead of sys.exc_{type,value,traceback}. | Guido van Rossum | 1997-07-18 | 1 | -9/+9 |
| | | | | Also corrected a typo in format_stack (t should've been f). | ||||
* | Some new tests by Jeffrey | Guido van Rossum | 1997-07-18 | 1 | -11/+72 |
| | |||||
* | Jeffrey's latest -- reorder my chages somewhat, | Guido van Rossum | 1997-07-18 | 1 | -95/+71 |
| | | | | removed some of his own cruft. Added \g<...> references in replacement text. | ||||
* | Huge speedup by inlining some common integer operations: | Guido van Rossum | 1997-07-17 | 1 | -5/+75 |
| | | | | | | | int+int, int-int, int <compareop> int, and list[int]. (Unfortunately, int*int is way too much code to inline.) Also corrected a NULL that should have been a zero. | ||||
* | Patches by AMK to check that the db is still open. | Guido van Rossum | 1997-07-17 | 3 | -0/+54 |
| | |||||
* | Add 'return' keyword before error calls. | Guido van Rossum | 1997-07-17 | 1 | -8/+8 |
| | |||||
* | Jeffrey's latests | Guido van Rossum | 1997-07-17 | 3 | -32/+165 |
| |