Guido van Rossum
4a4880966b
Correct *another* mistake (initmath() always fell through to fatal error).
...
Watch it, Barry! :-)
1996-12-18 14:14:33 +00:00
Guido van Rossum
4c4cbf397b
Correct 1-char typo / syntax error.
1996-12-18 14:12:22 +00:00
Guido van Rossum
c88c9cb23f
Corrected two errors introduced by the renaming (and the subsequent
...
style corrections, I presume), found by Jack. Added warning that this
has not been tested (Jack could only compile and link it).
1996-12-17 20:43:55 +00:00
Roger E. Masse
b15bef85a7
Renamed in a grand-ee-ous way!
1996-12-17 19:55:33 +00:00
Roger E. Masse
4ca4b07516
Opps, left in a /*#include "modsupport.h"*/
1996-12-17 17:46:28 +00:00
Roger E. Masse
919213a098
Grandly renamed.
1996-12-17 17:42:22 +00:00
Guido van Rossum
4004e21484
Another fix for Split() -- don't refuse {"} but turn it into ".
...
This is needed because if a configure option has " as its value,
it will be rendered as {"}; after stripping one level of quoting it's
just ", on which splitlist will barf.
1996-12-17 01:25:36 +00:00
Guido van Rossum
0f868375ff
Check errors returned by recursive call to Split().
1996-12-17 01:02:18 +00:00
Barry Warsaw
fc93f75da7
Better error checking in initmath().
1996-12-17 00:47:03 +00:00
Barry Warsaw
d0c1042ff2
Renamed.
1996-12-17 00:05:22 +00:00
Barry Warsaw
10f124c951
Updated to standard Python C coding style, and fixed a few error
...
checking nits.
1996-12-17 00:01:40 +00:00
Barry Warsaw
14ed5fb1ec
initsignal(): Added SIGXCPU and SIGXFSZ. Left in the definitions for
...
SIGCPU and SIGFSZ but we're (Jeremy and I) are actually unsure whether
these were typos or if there are systems that use these alternate
names. We've checked Solaris, SunOS, and IRIX; they contain only the
SIGX* names.
1996-12-16 20:24:22 +00:00
Barry Warsaw
529fcfe31f
list2set(): correct return value (an int, not a PyObject*).
1996-12-16 18:15:34 +00:00
Roger E. Masse
81a6fe9b98
Removed a #inlclude <errno.h> since it's implied with "Python.h"
1996-12-13 23:29:09 +00:00
Barry Warsaw
24c4b3d4e8
list2set(): PyList_GetItem could fail.
1996-12-13 23:22:42 +00:00
Roger E. Masse
0e12032748
Renamed.
1996-12-13 20:33:44 +00:00
Guido van Rossum
4e7f62229e
Get rid of it -- use bsddb!
1996-12-13 16:24:06 +00:00
Roger E. Masse
bd4b961a0d
Opps, fixed a couple of newly introduced wrapping problems.
1996-12-13 15:59:22 +00:00
Roger E. Masse
e7ee8c3753
Reindented via GvR recomendation ala Bwarsaw cppy-style.el
1996-12-13 15:55:22 +00:00
Guido van Rossum
fbcfd52a9a
Added the example "thin ice" from the extensions manual.
1996-12-13 02:57:25 +00:00
Barry Warsaw
f630f6b93d
Renamed, and scrutinized for missed potential error conditions.
...
Alas, I don't have an Indigo, so I could not even compile this.
1996-12-13 01:24:29 +00:00
Barry Warsaw
8496d39478
Renamed, however there is no test case. I did test some of the module
...
out manually, and it does compile, but I'm not sure how to write a
useful portable test case. Maybe later...
1996-12-13 00:11:04 +00:00
Barry Warsaw
30695fa3cd
Renamed.
1996-12-12 23:32:31 +00:00
Barry Warsaw
c2feec3378
Renamed, but *not* tested or compiled. I don't even have the STDWIN
...
library.
1996-12-12 22:48:20 +00:00
Barry Warsaw
c1cb360683
Reworked to eliminate all potential memory problems, including
...
deletion of object from list argument during callout to fileno().
1996-12-12 22:16:21 +00:00
Barry Warsaw
e4ac0aa618
Several changes... Guido *please* take a look!
...
1. Renamed
2. Several coding styles were being used here, owing to the multiple
contributors. I tried to convert everything to standard "python"
coding style for indentation, paren and brace placement, etc.
3. There were several potential error conditions that were never being
checked, and where I saw them, I added checks of return values,
etc. I'm pretty sure I got them all.
4. There were some old-style (pre PyArg_ParseTuple) argument
extraction and these were converted to use PyArg_ParseTuple.
All changes compile and run with the new test_select.py module, at
least on my Solaris/Sparc box.
1996-12-12 00:04:35 +00:00
Barry Warsaw
7bd9fbdea2
Grandly renamed.
...
Note that since I have no idea how to test this, I didn't write a test
case. It does seem to at least compile on my system though.
1996-12-11 21:33:16 +00:00
Barry Warsaw
50c5cf132a
Renamed.
1996-12-11 16:54:40 +00:00
Barry Warsaw
1abda0fb12
cat and puste errors
1996-12-11 01:00:46 +00:00
Barry Warsaw
3696c524a4
nis_maplist(): Use check of yp_get_default_domain() return value
...
that's used in other parts of this module.
nis_maps(): use PyArg_NoArgs().
1996-12-11 00:29:14 +00:00
Barry Warsaw
adbf4e66df
Renamed, and bug fixed:
...
Two interesting problems in nis_maplist(). First, it is possible that
clnt_create() will return NULL. This was being caught, but no Python
error was being set. I use clnt_spcreateerror() to generate the value
of the exception.
But why would clnt_create() fail? It's because no server was being
found. And why was this? It was because nis_maplist() tried only to
get the NIS master for the first map in the aliases list, which is
passwd.byname, and guess what? That's the one NIS map CNRI does *not*
export! So the yp_master() call was failing to return a valid
server. I now cycle through all the map aliases until I find a valid
master. If not, a different exception is set.
I'm not sure this is the completely correct way to do all this, but
short of rewriting the entire nismodule.c (to expose the proper API to
Python), it should do the trick.
1996-12-11 00:15:58 +00:00
Barry Warsaw
53699e9ec1
Renamed.
...
Note that there is no test suite for this module, and I don't plan to
write one just now.
1996-12-10 23:23:01 +00:00
Barry Warsaw
a6b7c7146c
Renamed.
1996-12-10 16:25:56 +00:00
Guido van Rossum
caf783793d
Added remaining declarations needed/used in glmodule.c; keeps gcc -Wall happy.
1996-12-10 15:41:19 +00:00
Guido van Rossum
36dd0d27c4
Fix operator priority bug found thanks to gcc -Wall.
1996-12-10 15:23:00 +00:00
Guido van Rossum
e29ed8fa7c
Make gcc -Wall happy; remove dummy variable (can't see where it's needed).
1996-12-10 15:21:30 +00:00
Guido van Rossum
fb4130d1f1
Added extern decl for gethostname() to keep gcc -Wall happy.
1996-12-10 15:17:08 +00:00
Guido van Rossum
55db515a51
Great renaming.
...
Also got rid of the dummy variable, which was last needed in IRIX 4.x.
1996-12-10 00:32:31 +00:00
Guido van Rossum
09f99dfdba
Removed redundant inclusion of <errno.h> (sorry, Roj!).
1996-12-10 00:12:14 +00:00
Roger E. Masse
b0dfe969d9
renamed in a grand fashion.
1996-12-10 00:07:00 +00:00
Barry Warsaw
abb7efeb7c
Renamed a few symbols that were found in comments.
1996-12-09 23:22:35 +00:00
Barry Warsaw
3bdf746c5c
Renamed, ungrandly. We don't have the GNU MP library here so we can't
...
really test this module, or even compile it without a lot of work.
I'll make a note of it that this has not been tested!
1996-12-09 23:16:31 +00:00
Roger E. Masse
56c345b235
renamed grandly.
1996-12-09 23:14:26 +00:00
Roger E. Masse
24070ca391
Renamed Grandly
1996-12-09 22:59:53 +00:00
Barry Warsaw
8b43b19ec9
Renamed
1996-12-09 22:32:36 +00:00
Roger E. Masse
5817f8f717
Removed some unneeded header files and reedited with a fixed-width font
...
from emacs as per recomendation from GvR
1996-12-09 22:24:19 +00:00
Roger E. Masse
2919eaaf08
Renamed Grandly (I think).
1996-12-09 20:10:36 +00:00
Guido van Rossum
ece35bc22f
Changes to keep gcc -Wall happy.
1996-12-09 18:52:11 +00:00
Guido van Rossum
7ce52be627
Added `void' to declaration of initgl(), to keep gcc -Wall happy.
1996-12-09 18:51:51 +00:00
Guido van Rossum
665f9198fe
Added a bunch of extern void decls, to keep gcc -Wall happy.
1996-12-09 18:49:42 +00:00