summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* More or less portabilized.Barry Warsaw1996-12-131-7/+11
| | | | | | | | 1. If a conversion isn't supported on the current platform, just ignore it, unless running as a script (i.e. verbose) 2. Don't use time.time() and os.popen('date') to get the raw values. These will always be different!
* FixedBarry Warsaw1996-12-131-2/+0
|
* 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 quote_plus() and unquote_plus(), to do space/plus substitutionsGuido van Rossum1996-12-132-2/+22
| | | | | | for form field values. Also corrected substitution example (the original changed the spelling of "conolly" to "connolly" :).
* Added quote_plus() and unquote_plus(), to do space/plus substitutionsGuido van Rossum1996-12-131-0/+14
| | | | for form field values.
* Added the example "thin ice" from the extensions manual.Guido van Rossum1996-12-131-0/+24
|
* Typos reported by Tamito Kajiyama.Guido van Rossum1996-12-132-4/+4
|
* 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.
* Output file for module struct testBarry Warsaw1996-12-131-0/+3
|
* Added support for 4-channel on SGI.Guido van Rossum1996-12-131-1/+7
| | | | Allow specifying the test file on the command line.
* 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.