summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Rebuilt everything with Guido's new sources, added a few modules hereJack Jansen1997-02-2028-9902/+10328
| | | | and there, etc. These projects are still CW10.
* Added calldll moduleJack Jansen1997-02-201-0/+1
|
* - Put USE_MAC_DYNAMIC_LOADING beack here in stead of auto-enabling itJack Jansen1997-02-203-0/+13
| | | | | | in importdl.c (I had just one crash too many with a static python importing a dynamic module) - On powerpc, enable USE_CACHE_ALIGNED with a linesize of 32 bytes.
* Only go into eventloop/interrupt check 10 times per secondJack Jansen1997-02-201-0/+9
|
* Comments around identifier after #endifJack Jansen1997-02-201-1/+1
|
* Added operator, errno and soundex modules.Jack Jansen1997-02-201-1/+7
|
* Redid arg/return handling (still not as I would like it to be, though).Jack Jansen1997-02-201-76/+263
|
* Remove some bogus code that would cause a NameError if a -r option was passed.Guido van Rossum1997-02-191-5/+0
|
* Remove %n and %t from the list of standard expectations.Guido van Rossum1997-02-191-2/+0
|
* join(): Wax the incorrect leading commentBarry Warsaw1997-02-182-8/+0
|
* Document the new join() semantics.Barry Warsaw1997-02-182-32/+12
|
* Restructured quite a bit, hopefully Lee Busby will find this useful.Guido van Rossum1997-02-181-50/+82
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also grandly renamed. Here's the new interface: When WITH_READLINE is defined, two functions are defined: - PyOS_GnuReadline (what used to be my_readline() with WITH_READLINE) - PyOS_ReadlineInit (for Dave Ascher) Always, these functions are defined: - PyOS_StdioReadline (what used to be my_readline() without WITH_READLINE) - PyOS_Readline (the interface used by tokenizer.c and [raw_]input(). There's a global function pointer PyOS_ReadlineFunctionPointer, initialized to NULL. When PyOS_Readline finds this to be NULL, it sets it to either PyOS_GnuReadline or PyOS_StdioReadline depending on which one makes more sense (i.e. it uses GNU only if it is defined *and* stdin is indeed a tty device). An embedding program that has its own wishes can set the function pointer to a function of its own design. It should take a char* prompt argument (which may be NULL) and return a string *ending in a \n character* -- or "" for EOF or NULL for a user interrupt. --Guido van Rossum (home page: http://www.python.org/~guido/)
* join(): join one or more path componentsBarry Warsaw1997-02-183-26/+42
|
* Added a paragraph to describe clear_cache(), and why it's necessary.Barry Warsaw1997-02-182-0/+14
|
* Document the new get_syntax() function.Barry Warsaw1997-02-182-0/+8
|
* Store the current regex syntax along with the regular expressionBarry Warsaw1997-02-181-10/+15
| | | | | | | string as the key to the cache. This means that changing the syntax will return the correct compiled pattern. clear_cache(): New function.
* regex_get_syntax(): New module function exported to Python.Barry Warsaw1997-02-181-0/+12
|
* 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.