Guido van Rossum
b6190d35fc
Defined array.array_type, the type object.
1997-05-22 14:56:36 +00:00
Guido van Rossum
e9eec54798
Fix typo in error checking spotted by Just...
1997-05-22 14:02:25 +00:00
Guido van Rossum
74427e51d7
Separate prologue/epilogue functions.
...
Get the current version on edit and reject commits based on an old
version.
1997-05-21 23:43:39 +00:00
Guido van Rossum
4c45422b13
Oops, left an 'n = n+1' in but n was undefined.
1997-05-21 22:42:23 +00:00
Guido van Rossum
f701bf1098
Add "Log info" to view rcs log.
...
Speed up __getattr__ by storing the value as self.<key>.
1997-05-21 22:25:56 +00:00
Guido van Rossum
d7bfa80c63
Lots of new features:
...
- got rid of the separate search page
- added an index (lists the questions with links to the answers)
- add a mechanism to add new entries
- add a way to list most recently edited entries first
1997-05-21 21:31:39 +00:00
Guido van Rossum
3c3354c0e7
Crude but functional, except for adding new entries.
1997-05-21 16:52:18 +00:00
Guido van Rossum
d6a111e2dd
Fix for boundary case (Jack)
1997-05-21 14:59:17 +00:00
Guido van Rossum
7806c16650
generated from latest doc files
1997-05-21 14:48:15 +00:00
Guido van Rossum
2335c5eaec
Added description of socket_type.
1997-05-21 14:41:42 +00:00
Guido van Rossum
f8580215c1
Add test for presence of socket_type.
1997-05-21 14:38:57 +00:00
Guido van Rossum
3b4b6fc602
Add socket.socket_type, as discussed on c.l.p.
1997-05-21 14:37:37 +00:00
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