summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Added QUADRO.Guido van Rossum1996-12-132-0/+2
|
* 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...
* Fixed conversion between seconds and milliseconds.Guido van Rossum1996-12-122-2/+4
|
* A test of the struct moduleBarry Warsaw1996-12-122-0/+45
|
* Renamed.Barry Warsaw1996-12-121-82/+88
|
* (python-cc-style): typo "c-offset-alist" => "c-offsets-alist"Barry Warsaw1996-12-121-2/+2
|
* Renamed, but *not* tested or compiled. I don't even have the STDWINBarry Warsaw1996-12-121-786/+791
| | | | library.
* Print final report, either all tests OK, or list of failed and missingBarry Warsaw1996-12-121-5/+19
| | | | tests.
* Print a more meaningful message when a test's output file wasn'tBarry Warsaw1996-12-121-1/+5
| | | | found.
* Reworked to eliminate all potential memory problems, includingBarry Warsaw1996-12-121-74/+111
| | | | deletion of object from list argument during callout to fileno().
* Make sure ok_builtin_modules, ok_dynamic_modules andGuido van Rossum1996-12-121-4/+4
| | | | builtin_module_names are always tuples.
* Fixed test_strftime to be silent when called from autotest.Guido van Rossum1996-12-122-9/+15
|
* Added test_strftime (Skip Montanaro).Guido van Rossum1996-12-123-0/+88
|
* Add mktime_tz() which turns a date_tz 10-tuple into a standard Unix timestamp.Guido van Rossum1996-12-121-0/+11
|
* Added remark about time() and sleep()'s subsecond precision.Guido van Rossum1996-12-122-64/+34
| | | | | | Added hint about using clock() for benchmarks etc. Removed non-portable strftime directives and field width, and added a warning about non-standard features.
* Added soundex (sigh)Guido van Rossum1996-12-125-1/+53
|
* Added a bunch of new winfo options; we should now be up to date withGuido van Rossum1996-12-122-4/+58
| | | | | | | 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().
* 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.
* A test of the select module that is actually reproduceable!Barry Warsaw1996-12-113-4/+61
|
* Some more tuning of quicksort: use pointers instead of indexing.Guido van Rossum1996-12-111-54/+60
|
* Output of rgbimg module testBarry Warsaw1996-12-111-0/+2
|
* Added test of rgbimg moduleBarry Warsaw1996-12-111-0/+1
|
* 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
|