Commit Graph

5622 Commits

Author SHA1 Message Date
Guido van Rossum 05ba2ab720 Fix ratecv test (Sjoerd). 1997-05-21 14:27:20 +00:00
Guido van Rossum adb3a9db57 Initial revision 1997-05-21 07:24:50 +00:00
Guido van Rossum 49bff65deb Include config.h so it can define const away for K&R. 1997-05-20 22:40:26 +00:00
Guido van Rossum 7929c6fe95 Make delimiter and separator static for K&R C. 1997-05-20 22:38:21 +00:00
Guido van Rossum f9cba090f9 Don't use function prototypes in function definition headers. 1997-05-20 22:23:34 +00:00
Guido van Rossum 2f75b29630 Indent the #error directives so a classic K&R cpp doesn't see them. 1997-05-20 22:18:48 +00:00
Guido van Rossum a9040ec5d9 Renamed a local variable from 'PyCFunction' (which is also a typedef
in methodobject.h) to 'func'.  /bin/cc on SunOS 4.x didn't grok this.
1997-05-20 22:09:08 +00:00
Guido van Rossum 59943ba718 Added Py_PROTO macros for SunOS 4.x /bin/cc. 1997-05-20 22:07:46 +00:00
Guido van Rossum 462d6e6484 More robust way of choosing a non-existant uid (faster, too).
(Correct version -- the previous checkin was a keyboard slip.)
1997-05-20 19:32:22 +00:00
Guido van Rossum 6308d510e9 More robust way of choosing a non-existant uid (faster, too). 1997-05-20 19:31:25 +00:00
Guido van Rossum 037b2205e8 Moved PyObject_{Get,Set}Attr to object.c.
Fixed two 'return NULL' that should be 'return -1'.
1997-05-20 18:35:19 +00:00
Guido van Rossum 98ff96adba Moved PyObject_{Get,Set}Attr here (from dictobject) and add PyObject_HasAttr. 1997-05-20 18:34:44 +00:00
Guido van Rossum 967839473a Got rid of c_error in favor of errno (and EDOM/ERANGE).
Assume that errno usage is thread-safe -- most vendors do this by
making in a macro that refers to a per-thread storage area.
1997-05-20 18:21:34 +00:00
Guido van Rossum 72be30690f Added some minimal comments and tweaked lay-out a bit. 1997-05-20 18:03:22 +00:00
Guido van Rossum df4c308f5a Plug leak of stack frame object in exception handling code.
Also delay DECREF calls until after the structures have been updated
(for reentrancy awareness).
1997-05-20 17:06:11 +00:00
Guido van Rossum 32f92caa98 Handling of pathnames pointing to files on toplevel folder of disk was
incorrect (Jack)
1997-05-20 16:00:07 +00:00
Guido van Rossum b24c9ea514 fixed ratecv to continue working if product of rates is bigger than 32 bits
(Sjoerd)
1997-05-20 15:59:35 +00:00
Guido van Rossum 511f16357c Removed MetroWerks workaround, replaced by defines in mymath.h (Jack) 1997-05-20 15:59:04 +00:00
Guido van Rossum 19a6c8acb8 workaround for Mac MSL header definitions of TRUE and FALSE (Jack) 1997-05-20 15:58:36 +00:00
Guido van Rossum c23ef0a6e8 Workaround for bug in Metrowerks MSL headers on 68K Macs (Jack) 1997-05-20 15:58:15 +00:00
Guido van Rossum df0d00e29b Logic for enabling mac-specific signal handling fixed (Jack) 1997-05-20 15:57:49 +00:00
Guido van Rossum 1254d79dfa Use #ifdef in stead of #if (Jack) 1997-05-20 15:57:25 +00:00
Guido van Rossum e34b7de399 Updated Python version no to 1.5.
Noted that we have used VC 4.2 and that 5.x should be able to convert it.
1997-05-19 20:01:57 +00:00
Guido van Rossum 6181e00667 Added AMK's SocketServer docs. 1997-05-19 19:55:16 +00:00
Guido van Rossum fe4dfc7ce3 Add platform to welcome message. 1997-05-19 18:33:01 +00:00
Guido van Rossum 650b3aad55 Unlink before rename (for NT). 1997-05-19 15:20:49 +00:00
Guido van Rossum 1aa7e3a177 Jim Ahlstrom's contributions for DOS, OS/2, WIN3.1. 1997-05-19 14:16:21 +00:00
Guido van Rossum 5a37d7d150 Renamed strndup to my_strndup to avoid conflict witth GNU libc. 1997-05-16 16:36:52 +00:00
Guido van Rossum 082d28912f Added CRLF for Notepad. 1997-05-16 16:24:09 +00:00
Guido van Rossum 1a747f894a Address the following problem on DOS and Win 3.1, reported by Jim
Ahlstrom:

Arraymodule.c has static functions H_getitem and h_getitem, and a
few others which differ only in case.  These are a problem on
Windows 3.1, since a case-sensitive link causes Winsock to fail
(hey, it's not my fault).  Please convert H_etc to HH_etc etc.
1997-05-16 16:21:38 +00:00
Guido van Rossum 29168ce1ed Added CRLF for Notepad. 1997-05-16 16:17:20 +00:00
Guido van Rossum 3cca24570e Got rid of all the last_name_* bogosities. I don't think the
complexity saved much any more.  A simple benchmark (grail) showed
that there were 3 times as many misses as hits, and the same number of
times again the code was bypassed altogether due to the existence of
setattro/getattro.
1997-05-16 14:23:33 +00:00
Guido van Rossum 3f11da0aaf Changes to make these tests work on the Mac. 1997-05-16 13:51:48 +00:00
Guido van Rossum 9522274205 Increase the child's sleep time to 5 for slow machines. 1997-05-16 13:40:41 +00:00
Guido van Rossum e6fcd33179 Correct comment; -c is off by default. 1997-05-15 21:51:16 +00:00
Guido van Rossum 9231c8f176 Made a start with api.tex, the Python-C API Reference Manual.
Removed extref.tex (which provided the starting point).
Also removed qua.tex, which is out of date and no longer needed.
1997-05-15 21:43:21 +00:00
Guido van Rossum d0c87ee6c4 Oops, another forgotten renaming: varobject -> PyVarObject. 1997-05-15 21:31:03 +00:00
Guido van Rossum fe28fa05e9 Remove the last three uses of PyArg_GetInt() from the source. 1997-05-15 19:09:26 +00:00
Barry Warsaw 4c4d5ce78a Catch nis.error and raise TestFailed instead. This catches the
problem where Python is configured with the nismodule but NIS isn't
installed, or the map names don't correspond to those hardcoded in
nismodule.c (which is bogus in and of itself).
1997-05-15 18:27:49 +00:00
Guido van Rossum 1ade44cb0c Open the output files with 'wb', not 'w'. 1997-05-15 18:25:29 +00:00
Guido van Rossum fdf58fe59a Added BabylMailbox class by Fred Lundh (untested). 1997-05-15 14:33:09 +00:00
cvs2svn 71606f8dd9 This commit was manufactured by cvs2svn to create tag 'r15a2'. 1997-05-15 12:24:53 +00:00
Guido van Rossum c8fba8ee14 Add pthred-std define for Linux. 1997-05-15 12:24:53 +00:00
Jack Jansen 8766dfd9e8 Regenreated for MSL 1997-05-15 11:18:32 +00:00
Jack Jansen b83b46d2c6 MSL errno.h has moved some errors around, and doesn't document
them in comments, so we do that ourselves.
1997-05-15 11:18:13 +00:00
Guido van Rossum 4346716962 Bump level to 1.5a2. 1997-05-14 21:41:46 +00:00
Guido van Rossum 6ae5d3dcdc Update description of "make test" to new test harness.
Change DEC OSF/1 to DEC Unix.
Add note about AIX bug in 4.2.1.
1997-05-14 21:39:05 +00:00
Guido van Rossum 4dfd458611 Fix typo in error reporting. 1997-05-14 21:38:03 +00:00
Guido van Rossum c1c96d1b5c Fix hex tests for 64-bit machines. 1997-05-14 21:37:23 +00:00
Guido van Rossum 8cd70c3555 Instructions updated for 1.5. Added the important note to set the
run-library to multithreaded dll.
1997-05-14 21:35:02 +00:00