Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Added strptime, if it exists. Modified after a patch by Jesse Hallio. | Guido van Rossum | 1998-06-09 | 1 | -10/+53 |
| | |||||
* | Sorry, the initializer for ob_type must really be NULL, | Guido van Rossum | 1998-05-29 | 1 | -1/+1 |
| | | | | else the damn thing won't compile on Windows :-( | ||||
* | On Windows, need #include <windows.h>; and it's MS_WINDOWS, not MS_WIN32. | Guido van Rossum | 1998-05-29 | 1 | -2/+6 |
| | |||||
* | Changes to make it possible to write multi-threaded programs using | Guido van Rossum | 1998-05-28 | 1 | -152/+390 |
| | | | | | | | | | | Tkinter. This adds a separate lock -- read the comments. (This was also needed for Mark Hammond's attempts to make PythonWin Tkinter-friendly.) The changes have affected the EventHook slightly, too; and I've done some more cleanup of the code that deals with the different versions of Tcl_CreateFileHandler(). | ||||
* | Some systems (e.g. Linux) use enums for some symbols (like IPPROTO_IP) | Guido van Rossum | 1998-05-28 | 1 | -0/+11 |
| | | | | | | so that our #ifdef test has the wrong effect. Substitute hardcoded values for some important symbols (but not for the whole range -- some are pretty obscure so it's not worth it). | ||||
* | get_long(): Use PyErr_ExceptionMatches(...) instead of PyErr_Occurred(...). | Fred Drake | 1998-05-28 | 1 | -1/+1 |
| | |||||
* | t_bootstrap(): Use PyErr_ExceptionMatches(...) instead of PyErr_Occurred(...). | Fred Drake | 1998-05-28 | 1 | -1/+1 |
| | |||||
* | Use PyErr_ExceptionMatches(...) instead of PyErr_Occurred() == ... in two | Fred Drake | 1998-05-28 | 1 | -2/+4 |
| | | | | places. | ||||
* | Use a different implementation of EventHook(). The new version | Guido van Rossum | 1998-05-22 | 1 | -37/+74 |
| | | | | | | | | | | registers an input file handler for stdin with Tcl and handles Tcl events until something is available on stdin; it then deletes the handler and returns from EventHook(). This works with or without GNU readline, and doesn't busy-wait. It still doesn't work for Mac or Windows :-( | ||||
* | Add an alias (and preferred name) "contains" for "sequenceIncludes". | Guido van Rossum | 1998-05-22 | 1 | -47/+34 |
| | | | | | | | | Rationalized the doc strings. Also simplify the module initialization -- we don't need a __version__ which is set to "$Rev" :-) and we don't need a fatal error when the initialization fails. | ||||
* | I think there was a tiny bug in new_function() -- the 'defaults' | Guido van Rossum | 1998-05-22 | 1 | -1/+1 |
| | | | | | argument was initialized to Py_None, but later checked for NULL. Consistently use Py_None. | ||||
* | PySequence_In() -> PySequence_Contains(). | Guido van Rossum | 1998-05-22 | 1 | -1/+1 |
| | |||||
* | Make sure that no use of a function pointer gotten from a | Guido van Rossum | 1998-05-22 | 1 | -3/+5 |
| | | | | | tp_as_sequence or tp_as_mapping structure is made without checking it for NULL first. | ||||
* | Correct bug doc string (discovered by Berthold Hoellmann): | Guido van Rossum | 1998-05-20 | 1 | -1/+1 |
| | | | | get_line_buffer() does not take an optional argument. | ||||
* | When a .o file is an absolute pathname, assume it's a file for which | Guido van Rossum | 1998-05-14 | 1 | -0/+1 |
| | | | | we have no .c source. | ||||
* | strop_replace(): balk if the pattern string is empty. | Guido van Rossum | 1998-05-14 | 1 | -0/+4 |
| | |||||
* | whichmodule(): remove redundant PyErr_Clear(); add explicit setting | Guido van Rossum | 1998-05-14 | 1 | -4/+3 |
| | | | | of error when sys.modules isn't there. | ||||
* | Don't delete glmodule.c on 'make clobber' (it's a checked in file!). | Guido van Rossum | 1998-05-14 | 1 | -1/+1 |
| | |||||
* | Replace all calls to fprintf(stderr, ...) with calls to PySys_WriteStderr(...). | Guido van Rossum | 1998-05-12 | 1 | -7/+7 |
| | |||||
* | Trivial little change: timer tokens shouldn't have a Print() function, | Guido van Rossum | 1998-05-12 | 1 | -8/+7 |
| | | | | they should have a Repr() function. | ||||
* | parser_compare_nodes(): Corrected a minor type error; eliminate one GCC | Fred Drake | 1998-05-11 | 1 | -1/+1 |
| | | | | warning (at least under Linux). | ||||
* | Fix by Sean Reifschneider: | Guido van Rossum | 1998-05-08 | 1 | -25/+38 |
| | | | | | | | - When facility not specified to syslog() method, use default from openlog() (This is how it was claimed to work in the documentation) - Potential resource leak of o_ident, now cleaned up in closelog() - Minor comment accuracy fix. | ||||
* | Added URLs for zlib's home page and the Windows DLL's home page . | Guido van Rossum | 1998-05-08 | 1 | -0/+2 |
| | |||||
* | AMK's revised version of the previous patch. | Guido van Rossum | 1998-05-07 | 3 | -11/+29 |
| | |||||
* | Use (void) to throw away a function result, not (void *) ! | Guido van Rossum | 1998-05-01 | 1 | -1/+1 |
| | |||||
* | When following symlinks to the real executable, use a loop so a | Guido van Rossum | 1998-04-29 | 1 | -1/+2 |
| | | | | | symlink to a symlink can work. (Jack) | ||||
* | Still somewhat experimental speedup. This appears to speed up the | Guido van Rossum | 1998-04-29 | 1 | -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 returns | Guido van Rossum | 1998-04-29 | 1 | -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 Drake | 1998-04-29 | 1 | -54/+80 |
| | | | | Fixed a memory leak in an error handler. | ||||
* | On the Mac a call to TkMacInitMenus is needed. Also, we pass | Guido van Rossum | 1998-04-28 | 1 | -2/+31 |
| | | | | | appropriate events to Sioux so the console window remains functional. (Jack) | ||||
* | Add a declaration for strdup() for the Mac. | Guido van Rossum | 1998-04-28 | 1 | -0/+3 |
| | | | | (Jack) | ||||
* | Generate the clear() method manually (calling __GLclear(), another | Guido van Rossum | 1998-04-28 | 1 | -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 Rossum | 1998-04-28 | 1 | -4/+7 |
| | | | | (Jack) | ||||
* | Instead of calling mktime(), which has all sorts of unwanted side | Guido van Rossum | 1998-04-27 | 1 | -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 Jorgensen | Guido van Rossum | 1998-04-23 | 3 | -69/+105 |
| | |||||
* | Tiny patch for zlib 1.1.2 | Guido van Rossum | 1998-04-23 | 1 | -0/+1 |
| | |||||
* | In method & function tables, added a cast for the function pointers to keep | Fred Drake | 1998-04-21 | 1 | -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 Rossum | 1998-04-20 | 1 | -0/+2 |
| | |||||
* | Typo in usage message. | Guido van Rossum | 1998-04-13 | 1 | -1/+1 |
| | |||||
* | The documentation threatened it would happen -- the functions that should | Fred Drake | 1998-04-13 | 1 | -35/+97 |
| | | | | have been methods now are! Still available as functions for compatibility. | ||||
* | Don't allow unescaped newlines in doc strings. | Guido van Rossum | 1998-04-13 | 1 | -2/+1 |
| | |||||
* | Added support for pickling ast objects. | Fred Drake | 1998-04-13 | 1 | -14/+65 |
| | |||||
* | Module docstring indicated seek() isn't implemented, but it is. | Fred Drake | 1998-04-11 | 1 | -1/+1 |
| | |||||
* | Make new gcc -Wall happy | Guido van Rossum | 1998-04-10 | 6 | -14/+29 |
| | |||||
* | Address warnings issued by the MSVC++ compiler | Guido van Rossum | 1998-04-10 | 2 | -3/+2 |
| | |||||
* | Delete reference to reopmodule.c. Add comment about soundex' obsolescence. | Guido van Rossum | 1998-04-10 | 1 | -2/+1 |
| | |||||
* | Delete this obsolete module. | Guido van Rossum | 1998-04-10 | 1 | -1053/+0 |
| | |||||
* | Add -t option to set the Py_TabcheckFlag flag. | Guido van Rossum | 1998-04-10 | 1 | -5/+10 |
| | |||||
* | Support raise with no parameters. | Fred Drake | 1998-04-10 | 1 | -3/+4 |
| | |||||
* | remove C++ entries of the form Class::method | Guido van Rossum | 1998-04-09 | 1 | -2/+6 |
| |