Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rebuilt everything with Guido's new sources, added a few modules here | Jack Jansen | 1997-02-20 | 28 | -9902/+10328 |
| | | | | and there, etc. These projects are still CW10. | ||||
* | Added calldll module | Jack Jansen | 1997-02-20 | 1 | -0/+1 |
| | |||||
* | - Put USE_MAC_DYNAMIC_LOADING beack here in stead of auto-enabling it | Jack Jansen | 1997-02-20 | 3 | -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 second | Jack Jansen | 1997-02-20 | 1 | -0/+9 |
| | |||||
* | Comments around identifier after #endif | Jack Jansen | 1997-02-20 | 1 | -1/+1 |
| | |||||
* | Added operator, errno and soundex modules. | Jack Jansen | 1997-02-20 | 1 | -1/+7 |
| | |||||
* | Redid arg/return handling (still not as I would like it to be, though). | Jack Jansen | 1997-02-20 | 1 | -76/+263 |
| | |||||
* | Remove some bogus code that would cause a NameError if a -r option was passed. | Guido van Rossum | 1997-02-19 | 1 | -5/+0 |
| | |||||
* | Remove %n and %t from the list of standard expectations. | Guido van Rossum | 1997-02-19 | 1 | -2/+0 |
| | |||||
* | join(): Wax the incorrect leading comment | Barry Warsaw | 1997-02-18 | 2 | -8/+0 |
| | |||||
* | Document the new join() semantics. | Barry Warsaw | 1997-02-18 | 2 | -32/+12 |
| | |||||
* | Restructured quite a bit, hopefully Lee Busby will find this useful. | Guido van Rossum | 1997-02-18 | 1 | -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 components | Barry Warsaw | 1997-02-18 | 3 | -26/+42 |
| | |||||
* | Added a paragraph to describe clear_cache(), and why it's necessary. | Barry Warsaw | 1997-02-18 | 2 | -0/+14 |
| | |||||
* | Document the new get_syntax() function. | Barry Warsaw | 1997-02-18 | 2 | -0/+8 |
| | |||||
* | Store the current regex syntax along with the regular expression | Barry Warsaw | 1997-02-18 | 1 | -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 Warsaw | 1997-02-18 | 1 | -0/+12 |
| | |||||
* | Put back #! /usr/local/bin/python. For cgi scripts, /usr/bin/env is | Guido van Rossum | 1997-02-18 | 1 | -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 now | Guido van Rossum | 1997-02-17 | 1 | -19/+10 |
| | | | | works unless you don't have putenv. | ||||
* | Two changes: | Guido van Rossum | 1997-02-17 | 1 | -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 Python | Jack Jansen | 1997-02-17 | 1 | -0/+903 |
| | |||||
* | Initial stab at calling C routines from python dynamically | Jack Jansen | 1997-02-17 | 2 | -0/+214 |
| | |||||
* | Require _tkinter -- don't attempt to import tkinter when _tkinter does | Guido van Rossum | 1997-02-15 | 2 | -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 Rossum | 1997-02-14 | 1 | -0/+7 |
| | |||||
* | Changes for Lee Busby's SIGFPE patch set. | Guido van Rossum | 1997-02-14 | 2 | -0/+6 |
| | | | | New symbol WANT_SIGFPE_HANDLER. | ||||
* | Changes for Lee Busby's SIGFPE patch set. | Guido van Rossum | 1997-02-14 | 8 | -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 Rossum | 1997-02-14 | 5 | -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 Rossum | 1997-02-14 | 3 | -10/+63 |
| | | | | Surround various f.p. operations with PyFPE_{START,END}_PROTECT macros. | ||||
* | Changes for Lee Busby's SIGFPE patch set. | Guido van Rossum | 1997-02-14 | 4 | -0/+168 |
| | | | | New file pyfpe.h, new exception FloatingPointError. | ||||
* | Fix the comments for bitwise and/or. | Guido van Rossum | 1997-02-14 | 1 | -6/+6 |
| | |||||
* | Keep gcc -Wall happy. | Guido van Rossum | 1997-02-14 | 2 | -3/+3 |
| | |||||
* | Added decl for Py_AddPendingCall and include mymalloc.h, all to keep | Guido van Rossum | 1997-02-14 | 1 | -0/+4 |
| | | | | lint happy. | ||||
* | Add parentheses around && within || as gcc -Wall advises. | 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 decl for Py_FdIsInteractive. | Guido van Rossum | 1997-02-14 | 1 | -0/+2 |
| | |||||
* | Added decl for Py_InteractiveFlag. | Guido van Rossum | 1997-02-14 | 1 | -0/+1 |
| | |||||
* | My version of Lee Busby's patches to make '-i' pretend stdin is a tty | Guido van Rossum | 1997-02-14 | 1 | -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 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 PyArg_ParseTupleAndKeywords, PyErr_Format. | Guido van Rossum | 1997-02-14 | 1 | -0/+2 |
| | |||||
* | Added prototype for PyErr_Format(exception, formatstring, ...) -> NULL. | Guido van Rossum | 1997-02-14 | 1 | -0/+1 |
| | |||||
* | Added convenience function PyErr_Format(exception, formatstring, ...) -> NULL. | Guido van Rossum | 1997-02-14 | 1 | -0/+27 |
| | |||||
* | Added .cxx and .cpp to extensions recognized as source files. | Guido van Rossum | 1997-02-14 | 1 | -0/+2 |
| | |||||
* | Added PyArg_ParseTupleAndKeywords() prototype. | Guido van Rossum | 1997-02-14 | 1 | -0/+2 |
| | |||||
* | djgpp support. | Guido van Rossum | 1997-02-14 | 1 | -1/+1 |
| | |||||
* | djgpp fix (SIGMAX). | Guido van Rossum | 1997-02-14 | 1 | -0/+4 |
| | |||||
* | Issue a more meaningful error if strftime keeps returning a NULL pointer. | Guido van Rossum | 1997-02-14 | 1 | -2/+5 |
| | | | | Run the loop up to and including 8k. | ||||
* | *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?) | ||||
* | Slight tweak: in string_hash(), if the hash hasn't been computed yet, | Guido van Rossum | 1997-02-14 | 1 | -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 here | Guido van Rossum | 1997-02-14 | 1 | -1/+11 |
| | | | | | | from ceval.c). Wrapped a long line. | ||||
* | Gave the Listbox selection methods their correct (longer) names. | Guido van Rossum | 1997-02-14 | 2 | -4/+8 |
| | | | | Removed select_adjust -- Tk no longer supports this. |