summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Emptied (in expectation of a laundry list of what's new in 1.5).Guido van Rossum1997-07-191-766/+0
|
* Added note about libpython1.5.a.Guido van Rossum1997-07-191-0/+3
|
* Some new names.Guido van Rossum1997-07-191-0/+5
|
* Add the option to pass an open file object to GzipFile. This obviatesGuido van Rossum1997-07-191-55/+44
| | | | the need for the StringIO subclass.
* Document new 'quote' flag to cgi.escape().Guido van Rossum1997-07-192-6/+10
|
* Add optional 'quote' flag argument to escape(); if true, translate '"'Guido van Rossum1997-07-191-1/+3
| | | | to '"'.
* New dialog routines (Fred Lundh)Guido van Rossum1997-07-198-0/+722
|
* Use dictionary's update() method in _cnfmerge().Guido van Rossum1997-07-192-4/+12
|
* Removed Py_SuppressPrintingFlag flag; added newGuido van Rossum1997-07-191-1/+3
| | | | PyEval_{Acquire,Release}Thread() calls.
* Removed remaining support for Tk versions below 4.0.Guido van Rossum1997-07-191-28/+7
|
* Moved PyEval_{Acquire,Release}Thread() to within the same #ifdefGuido van Rossum1997-07-191-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 Rossum1997-07-191-5/+5
|
* Removed a bunch of extern declarations of functions that are nowGuido van Rossum1997-07-192-13/+0
| | | | properly declared in Python.h.
* Added declarations for Py_{Set,Get}ProgramName() and a bunch of otherGuido van Rossum1997-07-191-0/+17
| | | | Py_Get*() functions.
* Added decl for PyInt_GetMax().Guido van Rossum1997-07-191-0/+1
|
* Make it return a _const_ char*.Guido van Rossum1997-07-193-5/+2
|
* New build procedure.Guido van Rossum1997-07-194-58/+66
|
* New build procedure, using a single library libpython$(VERSION) atGuido van Rossum1997-07-191-13/+21
| | | | | | | | this level. The old libraries Modules/libModules.a etc. don't exist any more. The libainstall target is updated to match.
* The usualGuido van Rossum1997-07-191-212/+213
|
* Set $VERSION here (fixed to 1.5).Guido van Rossum1997-07-191-2/+4
| | | | Remove some unneeded AC_SUBST() calls.
* Moved PyEval_InitThreads to inside WITH_THREAD, where it belongs.Guido van Rossum1997-07-191-1/+1
|
* Got rid of "suppres printing" flag.Guido van Rossum1997-07-191-1/+0
|
* This is now the "real" main program -- it calls Py_Main(argc, argv)Guido van Rossum1997-07-191-0/+10
| | | | which is in the library and does all the work.
* Tracking changes to Py_Main():Guido van Rossum1997-07-191-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(), soGuido van Rossum1997-07-191-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 - waitGuido van Rossum1997-07-191-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 Rossum1997-07-191-28/+0
|
* Include pystate.h earlier so it can be referenced by ceval.h.Guido van Rossum1997-07-181-2/+2
|
* Use the new functions PyEval_AcquireThread() andGuido van Rossum1997-07-181-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 aGuido van Rossum1997-07-182-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 Rossum1997-07-181-2/+2
|
* The usualGuido van Rossum1997-07-181-195/+201
|
* Set OPT to -g -O2 (or -O2 when -g not supported) when using gcc.Guido van Rossum1997-07-181-1/+7
|
* added code.py; codehack.py is obsoleteGuido van Rossum1997-07-187-5/+81
|
* Added label{module-spam}Guido van Rossum1997-07-185-3/+11
|
* Remove pprint from the list of undocumented modules.Fred Drake1997-07-182-8/+0
|
* Add entry for the pprint module.Fred Drake1997-07-182-0/+2
|
* Add libpprint.tex to the lib.dvi dependencies.Fred Drake1997-07-181-1/+2
|
* Slight mods to make the module conform to the documentation.Fred Drake1997-07-181-14/+63
|
* Documentation for the pprint module.Fred Drake1997-07-182-0/+304
|
* Checking in new module code.py -- utilities dealing with code objects.Guido van Rossum1997-07-181-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 Rossum1997-07-182-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 Rossum1997-07-181-2/+1
|
* Use sys.exc_info() instead of sys.exc_{type,value,traceback}.Guido van Rossum1997-07-181-9/+9
| | | | Also corrected a typo in format_stack (t should've been f).
* Some new tests by JeffreyGuido van Rossum1997-07-181-11/+72
|
* Jeffrey's latest -- reorder my chages somewhat,Guido van Rossum1997-07-181-95/+71
| | | | removed some of his own cruft. Added \g<...> references in replacement text.
* Huge speedup by inlining some common integer operations:Guido van Rossum1997-07-171-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 Rossum1997-07-173-0/+54
|
* Add 'return' keyword before error calls.Guido van Rossum1997-07-171-8/+8
|
* Jeffrey's latestsGuido van Rossum1997-07-173-32/+165
|