summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* minor formatting nitBarry Warsaw1996-12-111-1/+2
|
* 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.
* Be more careful with the shuffling of stdout.Guido van Rossum1996-12-111-6/+7
|
* Renamed.Barry Warsaw1996-12-111-23/+29
|
* Output of the nis and pwd module testsBarry Warsaw1996-12-112-0/+2
|
* Test of the pwd moduleBarry Warsaw1996-12-111-0/+70
|
* Added test_pwdBarry Warsaw1996-12-111-0/+1
|
* Rewrite without using try-except to break out of two loops.Guido van Rossum1996-12-111-17/+18
|
* Just test one key/value pair for one NIS map. I.e. don't test themBarry Warsaw1996-12-111-11/+17
| | | | all because it can take a really long time.
* test of the nis moduleBarry Warsaw1996-12-111-0/+19
|
* added test_nisBarry Warsaw1996-12-111-0/+1
|
* 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.
* Added new quicksort implementation, tailored to sorting arrays ofGuido van Rossum1996-12-101-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 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.
* Test output files in their new locationBarry Warsaw1996-12-1015-0/+183
|
* Directory for test output files: Output => outputBarry Warsaw1996-12-101-2/+2
|
* When run as a script, runs each test and sends results to stdoutBarry Warsaw1996-12-101-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 Warsaw1996-12-103-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 Rossum1996-12-101-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 usualGuido van Rossum1996-12-101-2/+2
|
* Added -lld to AIX LINKFORSHARED. Monty Stein.Guido van Rossum1996-12-101-1/+1
|
* Added a provide so the corresponding require will succeed.Barry Warsaw1996-12-101-0/+3
|
* A test of the `new' module. The new.code() test is fairly bogus sinceBarry Warsaw1996-12-101-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 Warsaw1996-12-102-2/+7
|
* Renamed.Barry Warsaw1996-12-101-81/+84
|
* The usual; added several test modules, too.Guido van Rossum1996-12-1010-4/+278
|
* Add optional data argument to urlopen() and open_http(), to trigger POST.Guido van Rossum1996-12-101-9/+26
|
* In the HTTP reply header, be more accepting in the HTTP version.Guido van Rossum1996-12-101-2/+2
|
* Added remaining declarations needed/used in glmodule.c; keeps gcc -Wall happy.Guido van Rossum1996-12-102-10/+56
|
* Better way to handle 64-bit ints, keeping gcc -Wall happy.Guido van Rossum1996-12-101-30/+18
| | | | Tested with AMK's help.
* Add unistd.h to make gcc -Wall happy.Guido van Rossum1996-12-101-0/+4
|
* Add const to error and newstring functionsGuido van Rossum1996-12-104-6/+6
|
* 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
|
* Added a test script for dbmmodule.c and added it to testall.py andRoger E. Masse1996-12-103-2/+31
| | | | updated testall.out
* Added test_newBarry Warsaw1996-12-101-0/+1
|
* 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
|
* new test script for cryptmodule.pyRoger E. Masse1996-12-091-0/+6
|
* Test script/output for cryptmodule.c added to testall.py and testall.outRoger E. Masse1996-12-092-0/+3
|
* (python-cc-style): Although open braces for substatements typicallyBarry Warsaw1996-12-091-0/+2
| | | | | hang on the right side, if they are on a separate line, indent them under the keyword.
* Renamed GrandlyRoger E. Masse1996-12-091-19/+19
|
* New test module for complex math moduleRoger E. Masse1996-12-091-0/+22
|