- 18 Şub, 1997 8 kayıt (commit)
-
-
Barry Warsaw yazdı
-
Guido van Rossum yazdı
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/)
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
-
Barry Warsaw yazdı
string as the key to the cache. This means that changing the syntax will return the correct compiled pattern. clear_cache(): New function.
-
Barry Warsaw yazdı
-
Guido van Rossum yazdı
unlikely to find a python binary, as /usr/local/bin is usually not on the default search path.
-
- 17 Şub, 1997 4 kayıt (commit)
-
-
Guido van Rossum yazdı
works unless you don't have putenv.
-
Guido van Rossum yazdı
- add awarning about reconfiguring after Slackware96 fix - add reference to Jim F's ExtensionClass module
-
Jack Jansen yazdı
-
Jack Jansen yazdı
-
- 15 Şub, 1997 1 kayıt (commit)
-
-
Guido van Rossum yazdı
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.
-
- 14 Şub, 1997 27 kayıt (commit)
-
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
New symbol WANT_SIGFPE_HANDLER.
-
Guido van Rossum yazdı
Two new modules fpectl and fpetest. Surround various and sundry f.p. operations with PyFPE_*_PROTECT macros.
-
Guido van Rossum yazdı
New file pyfpe.c and exception FloatingPointError. Surround some f.p. operations with PyFPE macro brackets.
-
Guido van Rossum yazdı
Surround various f.p. operations with PyFPE_{START,END}_PROTECT macros.
-
Guido van Rossum yazdı
New file pyfpe.h, new exception FloatingPointError.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
lint happy.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
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.
-
Guido van Rossum yazdı
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.
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
-
Guido van Rossum yazdı
Run the loop up to and including 8k.
-
Guido van Rossum yazdı
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?)
-
Guido van Rossum yazdı
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.
-
Guido van Rossum yazdı
from ceval.c). Wrapped a long line.
-
Guido van Rossum yazdı
Removed select_adjust -- Tk no longer supports this.
-