Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix due to Bill Noon for problem discovered by Ken Manheimer: packing | Guido van Rossum | 1997-11-04 | 1 | -2/+2 |
| | | | | 0.0 as float or double would yield the representation for 1.0! | ||||
* | Move the Py_{{BEGIN,END}_ALLOW,BLOCK}_THREADS macros in time_sleep() | Guido van Rossum | 1997-11-03 | 1 | -7/+15 |
| | | | | | | to inside floatsleep(). This is necessary because floatsleep() does the error handling and it must have grabbed the interpreter lock and thread state before it can do so. | ||||
* | Change the signal finialization so that it also resets the signal | Guido van Rossum | 1997-11-03 | 1 | -1/+7 |
| | | | | | handlers. After this has been called, our signal handlers are no longer active! | ||||
* | Add cast to realloc/malloc call to shut up AIX compiler. (Vladimir Marangozov) | Guido van Rossum | 1997-10-31 | 1 | -2/+2 |
| | |||||
* | Take out the setlocale() call. It affects atof() and will break | Guido van Rossum | 1997-10-31 | 1 | -8/+0 |
| | | | | floating point literals. Need to do this differently... | ||||
* | Add #include "mytime.h", needed for SunOS 4.1 (Matthias Klose). | Guido van Rossum | 1997-10-31 | 1 | -0/+1 |
| | |||||
* | Forgot to add .cxx and .cpp to the second case statement. | Guido van Rossum | 1997-10-21 | 1 | -0/+2 |
| | | | | Thanks to Daniel Larsson. | ||||
* | Some patches to Lee Busby's fpectl mods that accidentally didn't make it | Guido van Rossum | 1997-10-20 | 1 | -3/+2 |
| | | | | into 1.5a4. | ||||
* | Add getintarg(), getlongarg(), getstrarg() to macros since these no | Guido van Rossum | 1997-10-20 | 1 | -0/+3 |
| | | | | longer exist in the general headers. | ||||
* | Add proper (getattrfunc) cast in Pcre_Type. | Guido van Rossum | 1997-10-20 | 1 | -1/+1 |
| | |||||
* | Change sharedmodules to lib-dynload. | Guido van Rossum | 1997-10-20 | 2 | -7/+7 |
| | | | | ### If you still have sharedmodules in your Modules/Setup file, remove it! ### | ||||
* | Darn. When thread support is disabled, the BEGIN/END macros don't | Guido van Rossum | 1997-10-10 | 2 | -4/+8 |
| | | | | | | save and restore the tstate, but explicitly calling PyEval_SaveThread() does reset it! While I think about how to fix this for real, here's a fix that avoids getting a fatal error. | ||||
* | Don Beaudry's changes to support SGI_ABI on Irix 6.x. | Guido van Rossum | 1997-10-09 | 1 | -0/+2 |
| | |||||
* | Remove requirement for strdup() since it causes so many troubles for too many | Fred Drake | 1997-10-09 | 1 | -4/+4 |
| | | | | platforms. Argh! | ||||
* | Add call to setlocale(LC_ALL, ""). | Guido van Rossum | 1997-10-08 | 1 | -1/+8 |
| | |||||
* | Put back the extern declaration for strdup(), between #ifndef MS_WINDOWS. | Guido van Rossum | 1997-10-08 | 1 | -0/+3 |
| | | | | | This should make everybody happy, especially since we don't say what the argument type is (there is disagreement on that, too :-( ). | ||||
* | timezone support for macintosh (Jack) | Guido van Rossum | 1997-10-08 | 1 | -0/+36 |
| | |||||
* | Include macbuildno.h here (mac only) (Jack) | Guido van Rossum | 1997-10-08 | 1 | -0/+4 |
| | |||||
* | lots of "goto error" replaced by "return" (Jack) | Guido van Rossum | 1997-10-08 | 1 | -264/+264 |
| | |||||
* | Converted to new exception style (Jack) | Guido van Rossum | 1997-10-08 | 1 | -6/+2 |
| | |||||
* | Mac does support createfilehandler now (Jack) | Guido van Rossum | 1997-10-08 | 1 | -1/+1 |
| | |||||
* | Checking in AMK's latest installement. | Guido van Rossum | 1997-10-08 | 2 | -130/+68 |
| | | | | (Two small changes to shup up gcc added.) | ||||
* | initparser(): Use PyErr_NewException() to create the exception. | Fred Drake | 1997-10-07 | 1 | -1/+1 |
| | |||||
* | Fix EventHook (the trick to make widgets appear when using GNU | Guido van Rossum | 1997-10-07 | 1 | -3/+19 |
| | | | | | readline) to create and use a new thread state object -- otherwise it would dump core! | ||||
* | Add the Setup line for the pcre module. | Guido van Rossum | 1997-10-07 | 1 | -1/+2 |
| | |||||
* | Add get_line_buffer() and insert_text(), suggested by Michael McLay. | Guido van Rossum | 1997-10-07 | 1 | -0/+40 |
| | |||||
* | New "re" regular expression support. | Guido van Rossum | 1997-10-06 | 4 | -0/+5135 |
| | | | | | This code is written by Philip Hazel and Andrew Kuchling. It requires a new "re.py" module, too. | ||||
* | Oops, forgot one. | Guido van Rossum | 1997-10-01 | 1 | -1/+1 |
| | |||||
* | Apply two changes, systematically: | Guido van Rossum | 1997-10-01 | 27 | -166/+78 |
| | | | | | | | | | | | | | | | | | (1) Use PyErr_NewException("module.class", NULL, NULL) to create the exception object. (2) Remove all calls to Py_FatalError(); instead, return or ignore the errors -- the import code now checks PyErr_Occurred() after calling a module's init function, so it's no longer a fatal error for the initialization to fail. Also did some small cleanups, e.g. removed unnecessary test for "already initialized" from initfpectl(), and unified initposix()/initnt(). I haven't checked this very thoroughly, so while the changes are pretty trivial -- beware of untested code! | ||||
* | Removed extern declaration of strdup(). Doesn't appear to be important and | Fred Drake | 1997-09-30 | 1 | -10/+0 |
| | | | | causes ugly noises under Windows. | ||||
* | Add an optional hack for threads in Tkinter. | Guido van Rossum | 1997-09-28 | 3 | -2/+1005 |
| | | | | | | | | | | | | | | | | This one works! However it requires using a modified version of tclNotify.c (provided), which requires access to the Tcl source to compile it. In order to enable this hack, add the following to the Setup line for _tkinter: tclNotify.c -DHAVE_PYTCL_WAITUNTILEVENT -I$(TCL)/generic where TCL points to the source tree of Tcl 8.0. Other versions of Tcl are not supported. The tclNotify.c file is copyrighted by Sun Microsystems; the licensing terms are in the file license.terms. According to this file, no further permission to distribute this is required, provided the file license.terms is included. Hence, I am checking that in, too. | ||||
* | Add plat- prefix to MACHDEPPATH, now that it's been removed from MACHDEP. | Guido van Rossum | 1997-09-28 | 1 | -1/+1 |
| | |||||
* | Changes submitted by Marc-Andre Lemburg to add two tables: errorcode | Guido van Rossum | 1997-09-28 | 1 | -368/+622 |
| | | | | | | maps errno numbers to errno names (e.g. EINTR), and errorcode maps them to message strings. (The latter is redundant because the new call posix.strerror() now does the same, but alla...) | ||||
* | In whichmodule(), use __module__ if set. | Guido van Rossum | 1997-09-28 | 1 | -0/+4 |
| | |||||
* | Set the completer's word break characters appropriate for Python. | Guido van Rossum | 1997-09-26 | 1 | -0/+4 |
| | |||||
* | Reordered and reformatted, and added some cool new features: | Guido van Rossum | 1997-09-26 | 1 | -62/+183 |
| | | | | | | | | | | set_completer(function) parse_and_bind(string) read_init_file(filename) The first is the most exciting feature: with an appropriate Python completer function, it can do dynamic completion based on the contents of your namespace! | ||||
* | Fix by Sjoerd: don't want to resize to zero length. | Guido van Rossum | 1997-09-22 | 1 | -2/+7 |
| | |||||
* | Move the "import readline" to an earlier place so it is also done when | Guido van Rossum | 1997-09-16 | 1 | -8/+10 |
| | | | | | "-i" is given. (Yes, I know, giving in to Marc Lemburg who wanted this :-) | ||||
* | Add strerror() interface. | Guido van Rossum | 1997-09-15 | 1 | -2/+30 |
| | |||||
* | Export names for the types defined by this module: TkappType and TkttType. | Guido van Rossum | 1997-09-13 | 1 | -0/+3 |
| | |||||
* | Indent the #error so that a strict K&R cpp doesn't complain. | Guido van Rossum | 1997-09-08 | 1 | -1/+1 |
| | |||||
* | Change the names of the subdirectories tkinter and stdwin to | Guido van Rossum | 1997-09-08 | 1 | -2/+2 |
| | | | | | | lib-tk and lib-stdwin. (BTW this was also done in the previous checkin of (toplevel)/Makefile.in, though not noted in the checkin message.) | ||||
* | Reverse the order in which Setup and Setup.local are passed to the | Guido van Rossum | 1997-09-07 | 1 | -1/+1 |
| | | | | | | makesetup script. (Sorry Sjoerd -- I know you proposed this a while ago and I didn't think it would work then. I looked again and it does work.) | ||||
* | Contribution by Hannu Krosing (with some changes). | Guido van Rossum | 1997-09-05 | 1 | -0/+38 |
| | | | | | | | Added 'p' format character for Pascal string (i.e. leading length byte). This uses the count prefix line 's' does, except that the count includes the length byte; i.e. '10p' takes 10 bytes packed but has space for a length byte and 9 data bytes. | ||||
* | Don't use ANSI string literal concatenation (everything is K&R compatible). | Guido van Rossum | 1997-09-05 | 1 | -4/+4 |
| | |||||
* | Get rid of most silly #include and #ifdefs near the top; these are all | Guido van Rossum | 1997-09-05 | 1 | -55/+59 |
| | | | | | | obsolete now it includes Python.h. Make all functions K&R compatible (Sue Williams). | ||||
* | Several changes: | Jeremy Hylton | 1997-09-04 | 1 | -125/+188 |
| | | | | | | | | | | | | | | | | | 1. Fix bug in (de)compression objects. The final string resize used zst.total_out to determine the length of the string, but the (de)compression object will output data a little bit at a time, which means total_out is not the string size. Fix: save original value of total_out at the start of the call. 2. Be sure to Py_DECREF the result value if you exit with an exception. 3. Use PyInt_FromLong instead of Py_BuildValue 4. include more constants from the zlib header file 5. Use PyErr_Format instead of using a local buffer and sprintf. | ||||
* | Added first line to set Emacs makefile mode (pretty colors :-) | Barry Warsaw | 1997-09-04 | 1 | -0/+1 |
| | |||||
* | #Plug small memory leaks in constructors. | Guido van Rossum | 1997-09-03 | 3 | -6/+15 |
| | |||||
* | Plug small leaks: the [de]compress object itself was never freed. | Guido van Rossum | 1997-09-03 | 1 | -0/+2 |
| |