5661 Commits

Author SHA1 Message Date
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'. v1.5a2 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
Guido van Rossum
201afe56d3 Add -Olimit 1500 to OPT if CC supports it. 1997-05-14 21:14:44 +00:00
Guido van Rossum
2b4d2800af Suppress fork part of socket test when we can't fork. 1997-05-14 21:12:51 +00:00
Guido van Rossum
9348bf8388 Updated, mappingobject -> dictobject plus some other minor things. 1997-05-14 20:47:15 +00:00
Guido van Rossum
1cbdfb9187 Add sections for PIL (Fred Lundh). 1997-05-14 19:22:11 +00:00
Guido van Rossum
4a0694d235 Fix sys.platform test -- on Win, it is 'win32', not 'win'. 1997-05-14 19:06:36 +00:00
Guido van Rossum
0ba7e5958c More rational implementation of get_qualified_path() -- search along
sys.path instead of assuming __file__ works.
1997-05-14 18:57:21 +00:00
Guido van Rossum
e61093c218 Fix reversed test for failure in PySequence_List() and PySequence_Tuple().
This broke cPickle.
1997-05-14 18:43:29 +00:00
Guido van Rossum
fcc7704ee9 Typo! \\lib\\<path> should be .\\lib\\<path> 1997-05-14 18:32:32 +00:00
Guido van Rossum
fc4f503762 Fix showstopping bug (^ wouldn't match after \n). Jeffrey Ollie. 1997-05-14 18:27:51 +00:00
Guido van Rossum
34570d7669 A new set of symbols. Hopefully this will be sufficient, I have no
idea how this is used, really.
1997-05-14 17:59:37 +00:00
Guido van Rossum
af5dfb4ceb One last rename glitch: import_modules -> _PyImport_Modules. 1997-05-14 17:36:12 +00:00