summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* - Changed GestaltEqu.h to Gestalt.hJack Jansen1997-02-2417-205/+114
| | | | | | | | - Changed FragLoader.h to CodeFragments.h - Removed Desk.h - Regenerated bgen modules from new universal headers - Changed some of the s# in PyArg_ParseTuple to m# (unfortunately: this should have been a different commit)
* Re-generated from new (CW11) universal headersJack Jansen1997-02-245-50/+215
|
* (python-font-lock-keywords): Use new convention for installing in modeBarry Warsaw1997-02-241-2/+3
|
* Removing this -- complex numbers are now builtin,Guido van Rossum1997-02-231-275/+0
| | | | and there is already a similar demo in Demo/classes/Complex.py.
* Change all three fopen calls to use binary mode.Guido van Rossum1997-02-211-3/+3
|
* Lee's next version. Careful: this now dumps core for me on SGI IRIX 5.3.Guido van Rossum1997-02-211-118/+76
| | | | Lee is wondering whether to withdraw his patchs. Sigh.
* Removed nonstandard strftime formats (strftime is tested moreGuido van Rossum1997-02-201-2/+2
| | | | extensively in test_strftime.py anyway).
* 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
|