- 13 Dec, 1996 1 commit
-
-
Barry Warsaw authored
out manually, and it does compile, but I'm not sure how to write a useful portable test case. Maybe later...
-
- 12 Dec, 1996 16 commits
-
-
Guido van Rossum authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
library.
-
Barry Warsaw authored
tests.
-
Barry Warsaw authored
found.
-
Barry Warsaw authored
deletion of object from list argument during callout to fileno().
-
Guido van Rossum authored
builtin_module_names are always tuples.
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
-
Guido van Rossum authored
Added hint about using clock() for benchmarks etc. Removed non-portable strftime directives and field width, and added a warning about non-standard features.
-
Guido van Rossum authored
-
Guido van Rossum authored
Tk 4.2. The new winfo options supported are: mananger, pointerx, pointerxy, pointery, server, viewable, visualid, visualsavailable. Also fixed bugs in winfo_colormapfull() and winfo_containing().
-
Barry Warsaw authored
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.
-
- 11 Dec, 1996 18 commits
-
-
Barry Warsaw authored
-
Guido van Rossum authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
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.
-
Guido van Rossum authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Guido van Rossum authored
-
Barry Warsaw authored
all because it can take a really long time.
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
that's used in other parts of this module. nis_maps(): use PyArg_NoArgs().
-
Barry Warsaw authored
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.
-
- 10 Dec, 1996 5 commits
-
-
Guido van Rossum authored
object pointers. Should be a bit faster than the C library's qsort(), and doesn't have the prohibition on recursion that Solaris qsort() has in the threaded version of their C library. Thanks to discussions with Tim Peters.
-
Barry Warsaw authored
Note that there is no test suite for this module, and I don't plan to write one just now.
-
Barry Warsaw authored
-
Barry Warsaw authored
-
Barry Warsaw authored
(i.e. this restores the old functionality). Note that if a test couldn't be imported, it is just ignored (and no warning is printed).
-