Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | minor formatting nit | Barry Warsaw | 1996-12-11 | 1 | -1/+2 |
| | |||||
* | Grandly renamed. | Barry Warsaw | 1996-12-11 | 1 | -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. | ||||
* | Be more careful with the shuffling of stdout. | Guido van Rossum | 1996-12-11 | 1 | -6/+7 |
| | |||||
* | Renamed. | Barry Warsaw | 1996-12-11 | 1 | -23/+29 |
| | |||||
* | Output of the nis and pwd module tests | Barry Warsaw | 1996-12-11 | 2 | -0/+2 |
| | |||||
* | Test of the pwd module | Barry Warsaw | 1996-12-11 | 1 | -0/+70 |
| | |||||
* | Added test_pwd | Barry Warsaw | 1996-12-11 | 1 | -0/+1 |
| | |||||
* | Rewrite without using try-except to break out of two loops. | Guido van Rossum | 1996-12-11 | 1 | -17/+18 |
| | |||||
* | Just test one key/value pair for one NIS map. I.e. don't test them | Barry Warsaw | 1996-12-11 | 1 | -11/+17 |
| | | | | all because it can take a really long time. | ||||
* | test of the nis module | Barry Warsaw | 1996-12-11 | 1 | -0/+19 |
| | |||||
* | added test_nis | Barry Warsaw | 1996-12-11 | 1 | -0/+1 |
| | |||||
* | cat and puste errors | Barry Warsaw | 1996-12-11 | 1 | -2/+5 |
| | |||||
* | nis_maplist(): Use check of yp_get_default_domain() return value | Barry Warsaw | 1996-12-11 | 1 | -1/+5 |
| | | | | | | that's used in other parts of this module. nis_maps(): use PyArg_NoArgs(). | ||||
* | Renamed, and bug fixed: | Barry Warsaw | 1996-12-11 | 1 | -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. | ||||
* | Added new quicksort implementation, tailored to sorting arrays of | Guido van Rossum | 1996-12-10 | 1 | -0/+227 |
| | | | | | | | | 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. | ||||
* | Renamed. | Barry Warsaw | 1996-12-10 | 1 | -504/+503 |
| | | | | | Note that there is no test suite for this module, and I don't plan to write one just now. | ||||
* | Test output files in their new location | Barry Warsaw | 1996-12-10 | 15 | -0/+183 |
| | |||||
* | Directory for test output files: Output => output | Barry Warsaw | 1996-12-10 | 1 | -2/+2 |
| | |||||
* | When run as a script, runs each test and sends results to stdout | Barry Warsaw | 1996-12-10 | 1 | -0/+17 |
| | | | | | | | (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). | ||||
* | New regression testing harness. | Barry Warsaw | 1996-12-10 | 3 | -242/+130 |
| | | | | | | | | | | | | | (testall.out): obsolete. see individual test output files in the Output directory. (testall.py): now contains only the list of all tests (autotest.py): The new testing harness. Supports -g option to generate output files instead of verifying; -w option to warn about non-tested optional modules; additional command line arguments to generate or test individual tests (useful for generating output file of new tests). | ||||
* | Moved the raise logic out of the main interpreter loop to a separate function. | Guido van Rossum | 1996-12-10 | 1 | -60/+127 |
| | | | | | | | | | | | | | | | The raise logic has one additional feature: if you raise <class>, <value> where <value> is not an instance, it will construct an instance using <value> as argument. If <value> is None, <class> is instantiated without arguments. If <value> is a tuple, it is used as the argument list. This feature is intended to make it easier to upgrade code from using string exceptions to using class exceptions; without this feature, you'd have to change every raise statement from ``raise X'' to ``raise X()'' and from ``raise X, y'' to ``raise X(y)''. The latter is still the recommended form (because it has no ambiguities about the number of arguments), but this change makes the transition less painful. | ||||
* | The usual | Guido van Rossum | 1996-12-10 | 1 | -2/+2 |
| | |||||
* | Added -lld to AIX LINKFORSHARED. Monty Stein. | Guido van Rossum | 1996-12-10 | 1 | -1/+1 |
| | |||||
* | Added a provide so the corresponding require will succeed. | Barry Warsaw | 1996-12-10 | 1 | -0/+3 |
| | |||||
* | A test of the `new' module. The new.code() test is fairly bogus since | Barry Warsaw | 1996-12-10 | 1 | -0/+44 |
| | | | | | | I'm really not sure what the proper inputs are. I do flex the function call though by passing in arguments of the proper type. I don't try to exec the code object that gets returned! | ||||
* | Added test_new. | Barry Warsaw | 1996-12-10 | 2 | -2/+7 |
| | |||||
* | Renamed. | Barry Warsaw | 1996-12-10 | 1 | -81/+84 |
| | |||||
* | The usual; added several test modules, too. | Guido van Rossum | 1996-12-10 | 10 | -4/+278 |
| | |||||
* | Add optional data argument to urlopen() and open_http(), to trigger POST. | Guido van Rossum | 1996-12-10 | 1 | -9/+26 |
| | |||||
* | In the HTTP reply header, be more accepting in the HTTP version. | Guido van Rossum | 1996-12-10 | 1 | -2/+2 |
| | |||||
* | Added remaining declarations needed/used in glmodule.c; keeps gcc -Wall happy. | Guido van Rossum | 1996-12-10 | 2 | -10/+56 |
| | |||||
* | Better way to handle 64-bit ints, keeping gcc -Wall happy. | Guido van Rossum | 1996-12-10 | 1 | -30/+18 |
| | | | | Tested with AMK's help. | ||||
* | Add unistd.h to make gcc -Wall happy. | Guido van Rossum | 1996-12-10 | 1 | -0/+4 |
| | |||||
* | Add const to error and newstring functions | Guido van Rossum | 1996-12-10 | 4 | -6/+6 |
| | |||||
* | Fix operator priority bug found thanks to gcc -Wall. | Guido van Rossum | 1996-12-10 | 1 | -1/+1 |
| | |||||
* | Make gcc -Wall happy; remove dummy variable (can't see where it's needed). | Guido van Rossum | 1996-12-10 | 1 | -2/+8 |
| | |||||
* | Added extern decl for gethostname() to keep gcc -Wall happy. | Guido van Rossum | 1996-12-10 | 1 | -0/+4 |
| | |||||
* | Great renaming. | Guido van Rossum | 1996-12-10 | 1 | -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 Rossum | 1996-12-10 | 1 | -2/+0 |
| | |||||
* | renamed in a grand fashion. | Roger E. Masse | 1996-12-10 | 1 | -74/+76 |
| | |||||
* | Added a test script for dbmmodule.c and added it to testall.py and | Roger E. Masse | 1996-12-10 | 3 | -2/+31 |
| | | | | updated testall.out | ||||
* | Added test_new | Barry Warsaw | 1996-12-10 | 1 | -0/+1 |
| | |||||
* | Renamed a few symbols that were found in comments. | Barry Warsaw | 1996-12-09 | 1 | -6/+6 |
| | |||||
* | Renamed, ungrandly. We don't have the GNU MP library here so we can't | Barry Warsaw | 1996-12-09 | 1 | -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. Masse | 1996-12-09 | 1 | -7/+7 |
| | |||||
* | new test script for cryptmodule.py | Roger E. Masse | 1996-12-09 | 1 | -0/+6 |
| | |||||
* | Test script/output for cryptmodule.c added to testall.py and testall.out | Roger E. Masse | 1996-12-09 | 2 | -0/+3 |
| | |||||
* | (python-cc-style): Although open braces for substatements typically | Barry Warsaw | 1996-12-09 | 1 | -0/+2 |
| | | | | | hang on the right side, if they are on a separate line, indent them under the keyword. | ||||
* | Renamed Grandly | Roger E. Masse | 1996-12-09 | 1 | -19/+19 |
| | |||||
* | New test module for complex math module | Roger E. Masse | 1996-12-09 | 1 | -0/+22 |
| |