summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* AMK's revised version of the previous patch.Guido van Rossum1998-05-073-11/+29
|
* Use (void) to throw away a function result, not (void *) !Guido van Rossum1998-05-011-1/+1
|
* When following symlinks to the real executable, use a loop so aGuido van Rossum1998-04-291-1/+2
| | | | | symlink to a symlink can work. (Jack)
* Still somewhat experimental speedup. This appears to speed up theGuido van Rossum1998-04-291-9/+110
| | | | | | | | | | | | | | most common interface to Tcl, the call() method, by maybe 20-25%. The speedup code avoids the construction of a Tcl command string from the argument list -- the Tcl argument list is immediately parsed back by Tcl_Eval() into a list that is *guaranteed* (by Tcl_Merge()) to be exactly the same list, so instead we look up the command info and call the command function directly. If the lookup fails, we fall back to the old method (Tcl_Merge() + Tcl_Eval()) so we don't need to worry about special cases like undefined commands or the occasional command ("after") that sets the info.proc pointer to NULL -- let TclEval() deal with these.
* Add a new method of interpreter objects, interpaddr(). This returnsGuido van Rossum1998-04-291-0/+13
| | | | | | | | the address of the Tcl interpreter object, as an integer. Not very useful for the Python programmer, but this can be called by another C extension that needs to make calls into the Tcl/Tk C API and needs to get the address of the Tcl interpreter object. A simple cast of the return value to (Tcl_Interp *) will do the trick now.
* Made lint a bit happier.Fred Drake1998-04-291-54/+80
| | | | Fixed a memory leak in an error handler.
* On the Mac a call to TkMacInitMenus is needed. Also, we passGuido van Rossum1998-04-281-2/+31
| | | | | appropriate events to Sioux so the console window remains functional. (Jack)
* Add a declaration for strdup() for the Mac.Guido van Rossum1998-04-281-0/+3
| | | | (Jack)
* Generate the clear() method manually (calling __GLclear(), anotherGuido van Rossum1998-04-281-1/+12
| | | | | name for clear()). This fixes the name clash with curses. (Jack)
* Type casts, and added a strdup() declaration for the Mac.Guido van Rossum1998-04-281-4/+7
| | | | (Jack)
* Instead of calling mktime(), which has all sorts of unwanted sideGuido van Rossum1998-04-271-6/+2
| | | | | effects, simply zero out the struct tm buffer before using it; this should take care of the BSD folks' concern just as well.
* Purported fixes for 64-bit platforms with help from John JorgensenGuido van Rossum1998-04-233-69/+105
|
* Tiny patch for zlib 1.1.2Guido van Rossum1998-04-231-0/+1
|
* In method & function tables, added a cast for the function pointers to keepFred Drake1998-04-211-16/+21
| | | | | | | | compilers happy. initparser(): Remove unused variable. gcc -Wall is now happy.
* Add #ifdefs so Tcl_Finalize isn't referenced when it's not defined.Guido van Rossum1998-04-201-0/+2
|
* Typo in usage message.Guido van Rossum1998-04-131-1/+1
|
* The documentation threatened it would happen -- the functions that shouldFred Drake1998-04-131-35/+97
| | | | have been methods now are! Still available as functions for compatibility.
* Don't allow unescaped newlines in doc strings.Guido van Rossum1998-04-131-2/+1
|
* Added support for pickling ast objects.Fred Drake1998-04-131-14/+65
|
* Module docstring indicated seek() isn't implemented, but it is.Fred Drake1998-04-111-1/+1
|
* Make new gcc -Wall happyGuido van Rossum1998-04-106-14/+29
|
* Address warnings issued by the MSVC++ compilerGuido van Rossum1998-04-102-3/+2
|
* Delete reference to reopmodule.c. Add comment about soundex' obsolescence.Guido van Rossum1998-04-101-2/+1
|
* Delete this obsolete module.Guido van Rossum1998-04-101-1053/+0
|
* Add -t option to set the Py_TabcheckFlag flag.Guido van Rossum1998-04-101-5/+10
|
* Support raise with no parameters.Fred Drake1998-04-101-3/+4
|
* remove C++ entries of the form Class::methodGuido van Rossum1998-04-091-2/+6
|
* Threading speedup patches by Christopher Lindblad <cjl@infoseek.com>.Guido van Rossum1998-04-092-24/+192
|
* Add not_ and __not__.Guido van Rossum1998-04-091-0/+2
|
* AMK's latestGuido van Rossum1998-04-034-90/+168
|
* Use %.17f to format floats/doublesGuido van Rossum1998-04-031-1/+1
|
* Export MPZType -- the type of mpz objects....Fred Drake1998-04-031-1/+9
|
* Check for boundary errors in [r]find -- find("x", "", 2) should return -1.Guido van Rossum1998-03-241-2/+2
|
* patch for re.sub bug, by AMK.Guido van Rossum1998-03-103-6/+7
|
* Check for HAVE_MKTIME (if you don't have it, some tests will fail, butGuido van Rossum1998-03-061-0/+9
| | | | at least the build will now succeed). For Sony NEWS-OS, BSD 4.3 based.
* Don't use setvbuf unless HAVE_SETVBUF is defined.Guido van Rossum1998-03-061-4/+12
|
* Clear class_map in constructor so that when it later detects an errorGuido van Rossum1998-03-061-1/+2
| | | | and the destructor is called early, it doesn't DECREF garbage.
* Raise ValueError: "unconvertible time" when ctime() returns NULL,Guido van Rossum1998-03-031-0/+4
| | | | instead of dumping core.
* Doc strings added by Mitch Chapman.Guido van Rossum1998-03-031-7/+67
|
* Doc strings added by Mitch Chapman.Guido van Rossum1998-03-031-4/+32
|
* Doc strings added by Mitch Chapman.Guido van Rossum1998-03-031-19/+107
| | | | Also got rid of some inconsistent change log comments near the top.
* Looks like mention of http://quest.jpl.nasa.gov/zlib/ got added butKen Manheimer1998-03-031-1/+1
| | | | not checked in, so i'm doing it.
* A bug in PCRE could cause core dumps in patterns such asGuido van Rossum1998-02-201-2/+7
| | | | '((a)*)*'. Andrew Kuchling posted a fix to the string-sig.
* Delete the 'exit' command from the Tcl interpreter -- it would allowGuido van Rossum1998-02-191-0/+3
| | | | | users to exit Python without the normal precautions. (The can do this using os._exit() anyway, but at least that's documented.)
* Forgot to return NULL in joinfields() when a type error was detectedGuido van Rossum1998-02-061-1/+3
| | | | in one of the sequence items.
* Updated URL for zlib.Guido van Rossum1998-02-061-1/+2
|
* Register Tcl_Finalize as a Python exit handler.Guido van Rossum1998-02-061-1/+4
|
* Don't store the exception info from an unhandled exception in a threadGuido van Rossum1998-02-061-1/+1
| | | | | in sys.last_*; it prevents proper calling of destructors of local variables.
* - Use Py_GetPythonHome() instead of getenv("PYTHONHOME").Guido van Rossum1998-02-061-2/+4
| | | | - Don't print error messages when Py_FrozenFlag is set.
* Renamed Jim's PyErr_[JF]Format() to cPickle_ErrFormat(). It's not aGuido van Rossum1998-01-191-11/+10
| | | | standard Python API function so it should not have a Py prefix.