summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Put back #! /usr/local/bin/python. For cgi scripts, /usr/bin/env isGuido van Rossum1997-02-181-1/+1
| | | | | unlikely to find a python binary, as /usr/local/bin is usually not on the default search path.
* Change the question about os.environ changes not working -- it nowGuido van Rossum1997-02-171-19/+10
| | | | works unless you don't have putenv.
* Two changes:Guido van Rossum1997-02-171-0/+10
| | | | | - add awarning about reconfiguring after Slackware96 fix - add reference to Jim F's ExtensionClass module
* An initial stab at calling random C routines from PythonJack Jansen1997-02-171-0/+903
|
* Initial stab at calling C routines from python dynamicallyJack Jansen1997-02-172-0/+214
|
* Require _tkinter -- don't attempt to import tkinter when _tkinter doesGuido van Rossum1997-02-152-50/+20
| | | | | | | | | not exist. All 8 uses of tkinter are replaced with _tkinter. Still create a variable tkinter though, because that is used by other modules importing Tkinter (e.g. tkinter.createfilehandler()). Also added a comment to the 'import _tkinter' line saying that if this fails, Python is not configured correctly.
* Add fpectl and fpetest modules.Guido van Rossum1997-02-141-0/+7
|
* Changes for Lee Busby's SIGFPE patch set.Guido van Rossum1997-02-142-0/+6
| | | | New symbol WANT_SIGFPE_HANDLER.
* Changes for Lee Busby's SIGFPE patch set.Guido van Rossum1997-02-148-1/+492
| | | | | Two new modules fpectl and fpetest. Surround various and sundry f.p. operations with PyFPE_*_PROTECT macros.
* Changes for Lee Busby's SIGFPE patch set.Guido van Rossum1997-02-145-4/+38
| | | | | New file pyfpe.c and exception FloatingPointError. Surround some f.p. operations with PyFPE macro brackets.
* Changes for Lee Busby's SIGFPE patch set.Guido van Rossum1997-02-143-10/+63
| | | | Surround various f.p. operations with PyFPE_{START,END}_PROTECT macros.
* Changes for Lee Busby's SIGFPE patch set.Guido van Rossum1997-02-144-0/+168
| | | | New file pyfpe.h, new exception FloatingPointError.
* Fix the comments for bitwise and/or.Guido van Rossum1997-02-141-6/+6
|
* Keep gcc -Wall happy.Guido van Rossum1997-02-142-3/+3
|
* Added decl for Py_AddPendingCall and include mymalloc.h, all to keepGuido van Rossum1997-02-141-0/+4
| | | | lint happy.
* Add parentheses around && within || as gcc -Wall advises.Guido van Rossum1997-02-141-1/+1
|
* Oops, remove an unused variable from PyErr_Format().Guido van Rossum1997-02-141-1/+0
|
* Added decl for Py_FdIsInteractive.Guido van Rossum1997-02-141-0/+2
|
* Added decl for Py_InteractiveFlag.Guido van Rossum1997-02-141-0/+1
|
* My version of Lee Busby's patches to make '-i' pretend stdin is a ttyGuido van Rossum1997-02-141-22/+35
| | | | | | | | | | | | | | | even if it isn't. Changes: - set the global flag Py_InteractiveFlag when -i is given - call Py_FdIsInteractive() instead of isatty() - make stdin unbuffered, too, when using -u - make stdin and stdout line buffered, when stdin is interactive and not -u Note that setting the environment variable PYTHONINSPECT does not have these extra effects of -i. (Should it?) Unlike Lee's changes, I don't set change the prompt to go to stderr when -i is given.
* Added new global flag variable Py_InteractiveFlag and new functionGuido van Rossum1997-02-141-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 PyArg_ParseTupleAndKeywords, PyErr_Format.Guido van Rossum1997-02-141-0/+2
|
* Added prototype for PyErr_Format(exception, formatstring, ...) -> NULL.Guido van Rossum1997-02-141-0/+1
|
* Added convenience function PyErr_Format(exception, formatstring, ...) -> NULL.Guido van Rossum1997-02-141-0/+27
|
* Added .cxx and .cpp to extensions recognized as source files.Guido van Rossum1997-02-141-0/+2
|
* Added PyArg_ParseTupleAndKeywords() prototype.Guido van Rossum1997-02-141-0/+2
|
* djgpp support.Guido van Rossum1997-02-141-1/+1
|
* djgpp fix (SIGMAX).Guido van Rossum1997-02-141-0/+4
|
* Issue a more meaningful error if strftime keeps returning a NULL pointer.Guido van Rossum1997-02-141-2/+5
| | | | Run the loop up to and including 8k.
* *Don't* kill all local variables on function exit. This will be doneGuido van Rossum1997-02-141-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?)
* Slight tweak: in string_hash(), if the hash hasn't been computed yet,Guido van Rossum1997-02-141-0/+5
| | | | | and if there's a pointer to an interned version of the string, use its hash and store its hash in this object, rather than recomputing it.
* Kill all local variables when the frame is deallocated (moved hereGuido van Rossum1997-02-141-1/+11
| | | | | | from ceval.c). Wrapped a long line.
* Gave the Listbox selection methods their correct (longer) names.Guido van Rossum1997-02-142-4/+8
| | | | Removed select_adjust -- Tk no longer supports this.
* Changes by Sjoerd (reformatted).Guido van Rossum1997-02-141-95/+106
| | | | | | | add(): better handling of overflow (substitute maxval instead of throwing away higher order bits). ratecv(): some bugfixes, Sjoerd says.
* Added doco for ratecv.Guido van Rossum1997-02-142-0/+22
|
* Added test for ratecv (from Sjoerd, reformatted).Guido van Rossum1997-02-141-0/+9
|
* Added intern() function.Guido van Rossum1997-02-141-0/+14
|
* Put support for a cnf dictionary back in, since it is still supportedGuido van Rossum1997-02-122-2/+6
| | | | | by all true Tkinter widgets. (Not that I *like* this module -- it stinks, but until I have something better, I can't nuke it.)
* Merged in Jack's fixes. This brings some lines beyond 79 chars again;Guido van Rossum1997-02-111-17/+32
| | | | | | | | | I'll clean that up later. Also corrected a mistake introduced by the previous reformatting: an 'else' belonging to a 'for' was accidentally reindented to belong to the 'if' inside the 'for'. Note that the module uses inconsistent indentation -- most code is indented with 8 spaces, but some of the reformatted code uses 4 spaces. I'll fix this later in the promised cleanup pass.
* Put a new, more useful, set of references in the leading comment.Guido van Rossum1997-02-101-6/+13
|
* Correct typo in PyArg_ParseTuple example.Guido van Rossum1997-02-102-10/+18
| | | | Add reference to DLD 3.3 at http://www-swiss.ai.mit.edu/~jaffer/DLD.html.
* The USE_CACHE_ALIGNING define now has a value: the number of *words*Jack Jansen1997-02-031-4/+11
| | | | in a cacheline.
* Restructured Checker class to get rid of 'ext' table.Guido van Rossum1997-02-022-177/+165
| | | | | | | | | | | | | | | | | | | Links are now either in 'todo' or 'done', and ext links are hadled more like local links except that no further links are gathered (and sometimes they aren't checked, e.g. for mailto and news URLs). The -x option reverses its meaning: it disables checking of ext links (they are moved to 'done' without checking). A new 'errors' table collects pages with bad links as we go -- redundant, but useful for the GUI version which needs to report this as we go. Some new methods, including reset(). New checkpoint format. Adapted the GUI to the changes in the Checker class. Added Quit and "Start over" buttons, and a checkbox to disable checking external links. The details window now also shows bad links emanating from the selected page. Miscellaneous small chages.
* Optionally (on USE_CACHE_ALIGN) extend overhead structure to alignJack Jansen1997-02-011-0/+7
| | | | returned addresses on 16-byte cacheline boundary.
* Add root URL entry box, separate start/stop/step buttons.Guido van Rossum1997-02-011-54/+131
| | | | If the users selects an item in 'To check', start checking there.
* Process <img> and <frame> tags. Don't bother skipping second href.Guido van Rossum1997-02-011-3/+12
|
* Check in another copy of tktools.py...Guido van Rossum1997-01-311-0/+367
|
* Tk interface to webchecker. Not fully featured yet, but usable.Guido van Rossum1997-01-311-0/+329
|
* Spin off checking of external page in a subroutine.Guido van Rossum1997-01-311-17/+20
| | | | | Increase MAXPAGE to 150K. Add back printing of __doc__ for usage message.
* Added/updated copyright noticesJack Jansen1997-01-3139-4651/+5572
| | | | (and the &*^$%@ resource files got binhexed again, sigh)