summaryrefslogtreecommitdiffstats
path: root/Modules
Commit message (Collapse)AuthorAgeFilesLines
* Updated to standard Python C coding style, and fixed a few errorBarry Warsaw1996-12-171-110/+116
| | | | checking nits.
* initsignal(): Added SIGXCPU and SIGXFSZ. Left in the definitions forBarry Warsaw1996-12-161-0/+8
| | | | | | | 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.
* list2set(): correct return value (an int, not a PyObject*).Barry Warsaw1996-12-161-1/+1
|
* Removed a #inlclude <errno.h> since it's implied with "Python.h"Roger E. Masse1996-12-131-2/+0
|
* list2set(): PyList_GetItem could fail.Barry Warsaw1996-12-131-1/+3
|
* Renamed.Roger E. Masse1996-12-131-73/+75
|
* Get rid of it -- use bsddb!Guido van Rossum1996-12-131-387/+0
|
* Opps, fixed a couple of newly introduced wrapping problems.Roger E. Masse1996-12-131-3/+4
|
* Reindented via GvR recomendation ala Bwarsaw cppy-style.elRoger E. Masse1996-12-131-69/+69
|
* Added the example "thin ice" from the extensions manual.Guido van Rossum1996-12-131-0/+24
|
* Renamed, and scrutinized for missed potential error conditions.Barry Warsaw1996-12-131-341/+411
| | | | Alas, I don't have an Indigo, so I could not even compile this.
* Renamed, however there is no test case. I did test some of the moduleBarry Warsaw1996-12-131-194/+200
| | | | | out manually, and it does compile, but I'm not sure how to write a useful portable test case. Maybe later...
* Renamed.Barry Warsaw1996-12-121-82/+88
|
* Renamed, but *not* tested or compiled. I don't even have the STDWINBarry Warsaw1996-12-121-786/+791
| | | | library.
* Reworked to eliminate all potential memory problems, includingBarry Warsaw1996-12-121-74/+111
| | | | deletion of object from list argument during callout to fileno().
* Several changes... Guido *please* take a look!Barry Warsaw1996-12-121-163/+201
| | | | | | | | | | | | | | | | | | 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.
* Grandly renamed.Barry Warsaw1996-12-111-50/+52
| | | | | 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.
* Renamed.Barry Warsaw1996-12-111-23/+29
|
* cat and puste errorsBarry Warsaw1996-12-111-2/+5
|
* nis_maplist(): Use check of yp_get_default_domain() return valueBarry Warsaw1996-12-111-1/+5
| | | | | | that's used in other parts of this module. nis_maps(): use PyArg_NoArgs().
* Renamed, and bug fixed:Barry Warsaw1996-12-111-111/+123
| | | | | | | | | | | | | | | | | | | 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.
* Renamed.Barry Warsaw1996-12-101-504/+503
| | | | | Note that there is no test suite for this module, and I don't plan to write one just now.
* Renamed.Barry Warsaw1996-12-101-81/+84
|
* Added remaining declarations needed/used in glmodule.c; keeps gcc -Wall happy.Guido van Rossum1996-12-101-5/+28
|
* Fix operator priority bug found thanks to gcc -Wall.Guido van Rossum1996-12-101-1/+1
|
* Make gcc -Wall happy; remove dummy variable (can't see where it's needed).Guido van Rossum1996-12-101-2/+8
|
* Added extern decl for gethostname() to keep gcc -Wall happy.Guido van Rossum1996-12-101-0/+4
|
* Great renaming.Guido van Rossum1996-12-101-23/+17
| | | | Also got rid of the dummy variable, which was last needed in IRIX 4.x.
* Removed redundant inclusion of <errno.h> (sorry, Roj!).Guido van Rossum1996-12-101-2/+0
|
* renamed in a grand fashion.Roger E. Masse1996-12-101-74/+76
|
* Renamed a few symbols that were found in comments.Barry Warsaw1996-12-091-6/+6
|
* Renamed, ungrandly. We don't have the GNU MP library here so we can'tBarry Warsaw1996-12-091-278/+291
| | | | | | 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!
* renamed grandly.Roger E. Masse1996-12-091-7/+7
|
* Renamed GrandlyRoger E. Masse1996-12-091-19/+19
|
* RenamedBarry Warsaw1996-12-092-90/+87
|
* Removed some unneeded header files and reedited with a fixed-width fontRoger E. Masse1996-12-091-14/+19
| | | | from emacs as per recomendation from GvR
* Renamed Grandly (I think).Roger E. Masse1996-12-091-265/+270
|
* Changes to keep gcc -Wall happy.Guido van Rossum1996-12-091-3/+13
|
* Added `void' to declaration of initgl(), to keep gcc -Wall happy.Guido van Rossum1996-12-091-0/+1
|
* Added a bunch of extern void decls, to keep gcc -Wall happy.Guido van Rossum1996-12-091-0/+7
|
* Include <sys/ioctl.h>, to keep gcc -Wall happy.Guido van Rossum1996-12-091-0/+1
|
* Make dummy int public (with _Py_ prefix), to keep gcc -Wall happy.Guido van Rossum1996-12-091-1/+2
|
* Add ``extern void bzero();'' for SGI, to keep gcc -Wall happy.Guido van Rossum1996-12-091-0/+5
|
* Include unistd.h to keep gcc -Wall happy.Guido van Rossum1996-12-091-0/+3
|
* Added ``extern int get_default_domain();'' for SGI, to keep gcc -Wall happy.Guido van Rossum1996-12-091-0/+5
|
* Added #ifdef around ``extern int ftime();'' for MS WINDOWS (which hasGuido van Rossum1996-12-091-2/+4
| | | | | a conflicting definition somewhere). Resolved line wrap for error message in ins().
* Greatly renamed.Barry Warsaw1996-12-091-178/+181
|
* ins(): missed a renaming in a string: dictinsert =>Barry Warsaw1996-12-091-1/+1
| | | | | | PyDict_SetItemString. GvR: note the long line > 80 chars. Wrapping suggestions?
* Greatly renamed.Barry Warsaw1996-12-061-86/+88
|
* Add extern decl of ftime() to make gcc -Wall happy.Guido van Rossum1996-12-061-0/+1
|