]> granicus.if.org Git - python/log
python
28 years agoAdded pointer to framereader distribution.
Guido van Rossum [Wed, 18 Dec 1996 19:55:49 +0000 (19:55 +0000)]
Added pointer to framereader distribution.

28 years agoTabification changes only; the module was already newly named.
Barry Warsaw [Wed, 18 Dec 1996 19:50:00 +0000 (19:50 +0000)]
Tabification changes only; the module was already newly named.

28 years agoRenamed.
Roger E. Masse [Wed, 18 Dec 1996 19:37:32 +0000 (19:37 +0000)]
Renamed.

28 years agoTest script output for the UNIX group file access module (grp)
Roger E. Masse [Wed, 18 Dec 1996 19:37:07 +0000 (19:37 +0000)]
Test script output for the UNIX group file access module (grp)

28 years agoTest script for the UNIX group file access module (grp)
Roger E. Masse [Wed, 18 Dec 1996 19:36:34 +0000 (19:36 +0000)]
Test script for the UNIX group file access module (grp)

28 years agoPySequence_Index(): set exception when object is not found in
Barry Warsaw [Wed, 18 Dec 1996 19:32:18 +0000 (19:32 +0000)]
PySequence_Index(): set exception when object is not found in
sequence, otherwise

operator.indexOf([4, 3, 2, 1], 9) would raise a SystemError!

Note: it might be wise to double check all these functions.  I haven't
done that yet.

28 years agoAdded Jeremy's resource module.
Guido van Rossum [Wed, 18 Dec 1996 18:37:27 +0000 (18:37 +0000)]
Added Jeremy's resource module.

28 years agoAdded docs for Jeremy's resource module.
Guido van Rossum [Wed, 18 Dec 1996 18:37:05 +0000 (18:37 +0000)]
Added docs for Jeremy's resource module.

28 years agoDifferent operation in verbose mode: show the supported nonstandard
Guido van Rossum [Wed, 18 Dec 1996 18:03:10 +0000 (18:03 +0000)]
Different operation in verbose mode: show the supported nonstandard
options.  Also added two: %n and %t (newline and tab character).

28 years agoIn lieu of harness rewrite, fixed problem with test_thread ImportError
Barry Warsaw [Wed, 18 Dec 1996 16:39:31 +0000 (16:39 +0000)]
In lieu of harness rewrite, fixed problem with test_thread ImportError
triggering a bogus TestFailed exception.

28 years agoCorrect *another* mistake (initmath() always fell through to fatal error).
Guido van Rossum [Wed, 18 Dec 1996 14:14:33 +0000 (14:14 +0000)]
Correct *another* mistake (initmath() always fell through to fatal error).
Watch it, Barry! :-)

28 years agoCorrect 1-char typo / syntax error.
Guido van Rossum [Wed, 18 Dec 1996 14:12:22 +0000 (14:12 +0000)]
Correct 1-char typo / syntax error.

28 years ago(py-delete-function): new variable
Barry Warsaw [Tue, 17 Dec 1996 22:05:07 +0000 (22:05 +0000)]
(py-delete-function): new variable

(py-delete-char): funcall py-delete-function.

28 years ago(python-mode): added comment-end definitions.
Barry Warsaw [Tue, 17 Dec 1996 21:56:10 +0000 (21:56 +0000)]
(python-mode): added comment-end definitions.

28 years agoCorrected two errors introduced by the renaming (and the subsequent
Guido van Rossum [Tue, 17 Dec 1996 20:43:55 +0000 (20:43 +0000)]
Corrected two errors introduced by the renaming (and the subsequent
style corrections, I presume), found by Jack.  Added warning that this
has not been tested (Jack could only compile and link it).

28 years agoRenamed in a grand-ee-ous way!
Roger E. Masse [Tue, 17 Dec 1996 19:55:33 +0000 (19:55 +0000)]
Renamed in a grand-ee-ous way!

28 years agoTest output for the GNU dbm module (gdbm)
Roger E. Masse [Tue, 17 Dec 1996 19:54:46 +0000 (19:54 +0000)]
Test output for the GNU dbm module (gdbm)

28 years agoTest script for the GNU dbm module (gdbm)
Roger E. Masse [Tue, 17 Dec 1996 19:54:27 +0000 (19:54 +0000)]
Test script for the GNU dbm module (gdbm)

28 years agoOpps, left in a /*#include "modsupport.h"*/
Roger E. Masse [Tue, 17 Dec 1996 17:46:28 +0000 (17:46 +0000)]
Opps, left in a /*#include "modsupport.h"*/

28 years agoGrandly renamed.
Roger E. Masse [Tue, 17 Dec 1996 17:42:22 +0000 (17:42 +0000)]
Grandly renamed.

28 years agoAdded the test output for fcntl.
Roger E. Masse [Tue, 17 Dec 1996 17:41:36 +0000 (17:41 +0000)]
Added the test output for fcntl.

28 years agoAdded a test script for the fcntl C module.
Roger E. Masse [Tue, 17 Dec 1996 17:41:09 +0000 (17:41 +0000)]
Added a test script for the fcntl C module.

28 years agoAnother fix for Split() -- don't refuse {"} but turn it into ".
Guido van Rossum [Tue, 17 Dec 1996 01:25:36 +0000 (01:25 +0000)]
Another fix for Split() -- don't refuse {"} but turn it into ".
This is needed because if a configure option has " as its value,
it will be rendered as {"}; after stripping one level of quoting it's
just ", on which splitlist will barf.

28 years agoCheck errors returned by recursive call to Split().
Guido van Rossum [Tue, 17 Dec 1996 01:02:18 +0000 (01:02 +0000)]
Check errors returned by recursive call to Split().

28 years agoBetter error checking in initmath().
Barry Warsaw [Tue, 17 Dec 1996 00:47:03 +0000 (00:47 +0000)]
Better error checking in initmath().

28 years agoRenamed.
Barry Warsaw [Tue, 17 Dec 1996 00:05:22 +0000 (00:05 +0000)]
Renamed.

28 years agoOutput for _xdr module test
Barry Warsaw [Tue, 17 Dec 1996 00:02:45 +0000 (00:02 +0000)]
Output for _xdr module test

28 years agoUpdated to standard Python C coding style, and fixed a few error
Barry Warsaw [Tue, 17 Dec 1996 00:01:40 +0000 (00:01 +0000)]
Updated to standard Python C coding style, and fixed a few error
checking nits.

28 years agoA test of the _xdrmodule (not the entire xdr.py module).
Barry Warsaw [Tue, 17 Dec 1996 00:00:53 +0000 (00:00 +0000)]
A test of the _xdrmodule (not the entire xdr.py module).

28 years agoAdded _xdrmodule test
Barry Warsaw [Tue, 17 Dec 1996 00:00:17 +0000 (00:00 +0000)]
Added _xdrmodule test

28 years ago(test_thread): output from thread test
Barry Warsaw [Mon, 16 Dec 1996 23:42:56 +0000 (23:42 +0000)]
(test_thread): output from thread test

28 years ago(test_thread.py): modifications to quiet it up when not running as a script.
Barry Warsaw [Mon, 16 Dec 1996 23:42:35 +0000 (23:42 +0000)]
(test_thread.py): modifications to quiet it up when not running as a script.

(testall.py): added test_thread to the list of regression tests.

28 years ago(libunix.tex): Changed two occurances of "Unix" to "\UNIX{}".
Fred Drake [Mon, 16 Dec 1996 22:12:33 +0000 (22:12 +0000)]
(libunix.tex):  Changed two occurances of "Unix" to "\UNIX{}".

28 years ago(sgmllib.py): Partial acceptance of patch from David Leonard
Fred Drake [Mon, 16 Dec 1996 21:56:27 +0000 (21:56 +0000)]
(sgmllib.py):  Partial acceptance of patch from David Leonard
<leonard@dstc.edu.au>; allows hyphen and period in the middle
of attribute names.  Still not allowed as first character;
as first character these are illegal in the Reference Concrete
Syntax, and we've not identified any use of these characters as
the first char in an attribute name in deployment on the web.

28 years agoUpdated test_crypt test to jive with bwarsaw testing style
Roger E. Masse [Mon, 16 Dec 1996 20:44:56 +0000 (20:44 +0000)]
Updated test_crypt test to jive with bwarsaw testing style

28 years agoRevised output for test_crypt
Roger E. Masse [Mon, 16 Dec 1996 20:44:16 +0000 (20:44 +0000)]
Revised output for test_crypt

28 years agoRevised test for errno ala bwarsaw's testing paradigm.
Roger E. Masse [Mon, 16 Dec 1996 20:40:20 +0000 (20:40 +0000)]
Revised test for errno ala bwarsaw's testing paradigm.

28 years agoOutput files for test_dl and test_errno
Roger E. Masse [Mon, 16 Dec 1996 20:36:05 +0000 (20:36 +0000)]
Output files for test_dl and test_errno

28 years agoAdded test_dl to harness
Roger E. Masse [Mon, 16 Dec 1996 20:34:43 +0000 (20:34 +0000)]
Added test_dl to harness

28 years agoRevised strategy for testing recomended by bwarsaw
Roger E. Masse [Mon, 16 Dec 1996 20:25:44 +0000 (20:25 +0000)]
Revised strategy for testing recomended by bwarsaw

28 years agoinitsignal(): Added SIGXCPU and SIGXFSZ. Left in the definitions for
Barry Warsaw [Mon, 16 Dec 1996 20:24:22 +0000 (20:24 +0000)]
initsignal(): Added SIGXCPU and SIGXFSZ.  Left in the definitions for
SIGCPU and SIGFSZ but we're (Jeremy and I) are actually unsure whether
these were typos or if there are systems that use these alternate
names.  We've checked Solaris, SunOS, and IRIX; they contain only the
SIGX* names.

28 years agoAdded test_errno to the test suite
Roger E. Masse [Mon, 16 Dec 1996 20:20:33 +0000 (20:20 +0000)]
Added test_errno to the test suite

28 years agolist2set(): correct return value (an int, not a PyObject*).
Barry Warsaw [Mon, 16 Dec 1996 18:15:34 +0000 (18:15 +0000)]
list2set(): correct return value (an int, not a PyObject*).

28 years agoBetter tuple hash function.
Guido van Rossum [Mon, 16 Dec 1996 17:55:46 +0000 (17:55 +0000)]
Better tuple hash function.

28 years agoChange comment about MINSIZE -- 10 is optimal for Python.
Guido van Rossum [Mon, 16 Dec 1996 03:32:39 +0000 (03:32 +0000)]
Change comment about MINSIZE -- 10 is optimal for Python.

28 years agoRemoved a #inlclude <errno.h> since it's implied with "Python.h"
Roger E. Masse [Fri, 13 Dec 1996 23:29:09 +0000 (23:29 +0000)]
Removed a #inlclude <errno.h> since it's implied with "Python.h"

28 years agolist2set(): PyList_GetItem could fail.
Barry Warsaw [Fri, 13 Dec 1996 23:22:42 +0000 (23:22 +0000)]
list2set(): PyList_GetItem could fail.

28 years ago(libtime.tex): Merged in changes from Tamito Kajiyama.
Fred Drake [Fri, 13 Dec 1996 22:09:52 +0000 (22:09 +0000)]
(libtime.tex):  Merged in changes from Tamito Kajiyama.

(For those watching Python CVS messages:  I checked in all of
Tamito's other changes, but the mail delivery failed since the
subject line was too long.  The patch Tamito sent for the
documentation has been completely merged in.)

28 years ago(lib<all sorts of stuff>.tex):
Fred Drake [Fri, 13 Dec 1996 22:04:31 +0000 (22:04 +0000)]
(lib<all sorts of stuff>.tex):
Merged in many typo corrections and fixes to support GNU info
processing; submitted by Tamito Kajiyama.

28 years ago(tut.tex): Normalized all uses of "UNIX" and "{\UNIX}" to use "\UNIX{}",
Fred Drake [Fri, 13 Dec 1996 21:56:03 +0000 (21:56 +0000)]
(tut.tex):  Normalized all uses of "UNIX" and "{\UNIX}" to use "\UNIX{}",
per usage needed for GNU info processing.  Based on comments from
Tamito Kajiyama.

28 years ago(myformat.sty): Added a note about using \command{} v. {\command} wrt.
Fred Drake [Fri, 13 Dec 1996 21:53:07 +0000 (21:53 +0000)]
(myformat.sty):  Added a note about using \command{} v. {\command} wrt.
GNU info processing.

28 years agoRenamed.
Roger E. Masse [Fri, 13 Dec 1996 20:33:44 +0000 (20:33 +0000)]
Renamed.

28 years agoTest for the dl module. This only works for SunOS and Solaris.
Roger E. Masse [Fri, 13 Dec 1996 20:32:26 +0000 (20:32 +0000)]
Test for the dl module.  This only works for SunOS and Solaris.
I've attempted to make a test that silently exits if either
module dl is not present, we're not on a Sun OS, or a standard
shared library ('/usr/lib/libresolv.so') is not found...  Otherwise,
It does a simple test of dlmodule on that library.  I *think*
this would be ok to add to testall.py but I'll wait till I hear
some feedback on the liberalness of this approach.

28 years agononstandard_expectations is only added when in verbose mode, so we
Barry Warsaw [Fri, 13 Dec 1996 18:12:34 +0000 (18:12 +0000)]
nonstandard_expectations is only added when in verbose mode, so we
don't need the if test for verbosity when checking for results of an
unsupported option.

28 years agoHmm, now that I think about it, we *can* use time.time() and 'date' if
Barry Warsaw [Fri, 13 Dec 1996 18:08:58 +0000 (18:08 +0000)]
Hmm, now that I think about it, we *can* use time.time() and 'date' if
running verbose.

28 years agoMore or less portabilized.
Barry Warsaw [Fri, 13 Dec 1996 18:07:07 +0000 (18:07 +0000)]
More or less portabilized.

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!

28 years agoFixed
Barry Warsaw [Fri, 13 Dec 1996 18:05:28 +0000 (18:05 +0000)]
Fixed

28 years agoGet rid of it -- use bsddb!
Guido van Rossum [Fri, 13 Dec 1996 16:24:06 +0000 (16:24 +0000)]
Get rid of it -- use bsddb!

28 years agoOpps, fixed a couple of newly introduced wrapping problems.
Roger E. Masse [Fri, 13 Dec 1996 15:59:22 +0000 (15:59 +0000)]
Opps, fixed a couple of newly introduced wrapping problems.

28 years agoReindented via GvR recomendation ala Bwarsaw cppy-style.el
Roger E. Masse [Fri, 13 Dec 1996 15:55:22 +0000 (15:55 +0000)]
Reindented via GvR recomendation ala Bwarsaw cppy-style.el

28 years agoAdded quote_plus() and unquote_plus(), to do space/plus substitutions
Guido van Rossum [Fri, 13 Dec 1996 14:48:47 +0000 (14:48 +0000)]
Added quote_plus() and unquote_plus(), to do space/plus substitutions
for form field values.
Also corrected substitution example (the original changed the spelling
of "conolly" to "connolly" :).

28 years agoAdded quote_plus() and unquote_plus(), to do space/plus substitutions
Guido van Rossum [Fri, 13 Dec 1996 14:47:36 +0000 (14:47 +0000)]
Added quote_plus() and unquote_plus(), to do space/plus substitutions
for form field values.

28 years agoAdded the example "thin ice" from the extensions manual.
Guido van Rossum [Fri, 13 Dec 1996 02:57:25 +0000 (02:57 +0000)]
Added the example "thin ice" from the extensions manual.

28 years agoTypos reported by Tamito Kajiyama.
Guido van Rossum [Fri, 13 Dec 1996 02:38:17 +0000 (02:38 +0000)]
Typos reported by Tamito Kajiyama.

28 years agoRenamed, and scrutinized for missed potential error conditions.
Barry Warsaw [Fri, 13 Dec 1996 01:24:29 +0000 (01:24 +0000)]
Renamed, and scrutinized for missed potential error conditions.

Alas, I don't have an Indigo, so I could not even compile this.

28 years agoOutput file for module struct test
Barry Warsaw [Fri, 13 Dec 1996 00:25:52 +0000 (00:25 +0000)]
Output file for module struct test

28 years agoAdded support for 4-channel on SGI.
Guido van Rossum [Fri, 13 Dec 1996 00:19:56 +0000 (00:19 +0000)]
Added support for 4-channel on SGI.
Allow specifying the test file on the command line.

28 years agoAdded QUADRO.
Guido van Rossum [Fri, 13 Dec 1996 00:19:15 +0000 (00:19 +0000)]
Added QUADRO.

28 years agoRenamed, however there is no test case. I did test some of the module
Barry Warsaw [Fri, 13 Dec 1996 00:11:04 +0000 (00:11 +0000)]
Renamed, however there is no test case.  I did test some of the module
out manually, and it does compile, but I'm not sure how to write a
useful portable test case.  Maybe later...

28 years agoFixed conversion between seconds and milliseconds.
Guido van Rossum [Thu, 12 Dec 1996 23:42:20 +0000 (23:42 +0000)]
Fixed conversion between seconds and milliseconds.

28 years agoA test of the struct module
Barry Warsaw [Thu, 12 Dec 1996 23:34:06 +0000 (23:34 +0000)]
A test of the struct module

28 years agoRenamed.
Barry Warsaw [Thu, 12 Dec 1996 23:32:31 +0000 (23:32 +0000)]
Renamed.

28 years ago(python-cc-style): typo "c-offset-alist" => "c-offsets-alist"
Barry Warsaw [Thu, 12 Dec 1996 22:57:05 +0000 (22:57 +0000)]
(python-cc-style): typo "c-offset-alist" => "c-offsets-alist"

28 years agoRenamed, but *not* tested or compiled. I don't even have the STDWIN
Barry Warsaw [Thu, 12 Dec 1996 22:48:20 +0000 (22:48 +0000)]
Renamed, but *not* tested or compiled.  I don't even have the STDWIN
library.

28 years agoPrint final report, either all tests OK, or list of failed and missing
Barry Warsaw [Thu, 12 Dec 1996 22:34:26 +0000 (22:34 +0000)]
Print final report, either all tests OK, or list of failed and missing
tests.

28 years agoPrint a more meaningful message when a test's output file wasn't
Barry Warsaw [Thu, 12 Dec 1996 22:21:10 +0000 (22:21 +0000)]
Print a more meaningful message when a test's output file wasn't
found.

28 years agoReworked to eliminate all potential memory problems, including
Barry Warsaw [Thu, 12 Dec 1996 22:16:21 +0000 (22:16 +0000)]
Reworked to eliminate all potential memory problems, including
deletion of object from list argument during callout to fileno().

28 years agoMake sure ok_builtin_modules, ok_dynamic_modules and
Guido van Rossum [Thu, 12 Dec 1996 21:31:52 +0000 (21:31 +0000)]
Make sure ok_builtin_modules, ok_dynamic_modules and
builtin_module_names are always tuples.

28 years agoFixed test_strftime to be silent when called from autotest.
Guido van Rossum [Thu, 12 Dec 1996 19:07:19 +0000 (19:07 +0000)]
Fixed test_strftime to be silent when called from autotest.

28 years agoAdded test_strftime (Skip Montanaro).
Guido van Rossum [Thu, 12 Dec 1996 19:03:11 +0000 (19:03 +0000)]
Added test_strftime (Skip Montanaro).

28 years agoAdd mktime_tz() which turns a date_tz 10-tuple into a standard Unix timestamp.
Guido van Rossum [Thu, 12 Dec 1996 18:39:54 +0000 (18:39 +0000)]
Add mktime_tz() which turns a date_tz 10-tuple into a standard Unix timestamp.

28 years agoAdded remark about time() and sleep()'s subsecond precision.
Guido van Rossum [Thu, 12 Dec 1996 17:59:37 +0000 (17:59 +0000)]
Added remark about time() and sleep()'s subsecond precision.
Added hint about using clock() for benchmarks etc.
Removed non-portable strftime directives and field width, and added a
warning about non-standard features.

28 years agoAdded soundex (sigh)
Guido van Rossum [Thu, 12 Dec 1996 17:02:21 +0000 (17:02 +0000)]
Added soundex (sigh)

28 years agoAdded a bunch of new winfo options; we should now be up to date with
Guido van Rossum [Thu, 12 Dec 1996 16:43:05 +0000 (16:43 +0000)]
Added a bunch of new winfo options; we should now be up to date with
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().

28 years agoSeveral changes... Guido *please* take a look!
Barry Warsaw [Thu, 12 Dec 1996 00:04:35 +0000 (00:04 +0000)]
Several changes... Guido *please* take a look!

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.

28 years agoA test of the select module that is actually reproduceable!
Barry Warsaw [Wed, 11 Dec 1996 23:58:46 +0000 (23:58 +0000)]
A test of the select module that is actually reproduceable!

28 years agoSome more tuning of quicksort: use pointers instead of indexing.
Guido van Rossum [Wed, 11 Dec 1996 23:57:39 +0000 (23:57 +0000)]
Some more tuning of quicksort: use pointers instead of indexing.

28 years agoOutput of rgbimg module test
Barry Warsaw [Wed, 11 Dec 1996 21:42:38 +0000 (21:42 +0000)]
Output of rgbimg module test

28 years agoAdded test of rgbimg module
Barry Warsaw [Wed, 11 Dec 1996 21:41:42 +0000 (21:41 +0000)]
Added test of rgbimg module

28 years agominor formatting nit
Barry Warsaw [Wed, 11 Dec 1996 21:40:04 +0000 (21:40 +0000)]
minor formatting nit

28 years agoGrandly renamed.
Barry Warsaw [Wed, 11 Dec 1996 21:33:16 +0000 (21:33 +0000)]
Grandly renamed.

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.

28 years agoBe more careful with the shuffling of stdout.
Guido van Rossum [Wed, 11 Dec 1996 16:54:54 +0000 (16:54 +0000)]
Be more careful with the shuffling of stdout.

28 years agoRenamed.
Barry Warsaw [Wed, 11 Dec 1996 16:54:40 +0000 (16:54 +0000)]
Renamed.

28 years agoOutput of the nis and pwd module tests
Barry Warsaw [Wed, 11 Dec 1996 16:54:15 +0000 (16:54 +0000)]
Output of the nis and pwd module tests

28 years agoTest of the pwd module
Barry Warsaw [Wed, 11 Dec 1996 16:53:51 +0000 (16:53 +0000)]
Test of the pwd module

28 years agoAdded test_pwd
Barry Warsaw [Wed, 11 Dec 1996 16:52:56 +0000 (16:52 +0000)]
Added test_pwd

28 years agoRewrite without using try-except to break out of two loops.
Guido van Rossum [Wed, 11 Dec 1996 16:28:30 +0000 (16:28 +0000)]
Rewrite without using try-except to break out of two loops.

28 years agoJust test one key/value pair for one NIS map. I.e. don't test them
Barry Warsaw [Wed, 11 Dec 1996 16:07:30 +0000 (16:07 +0000)]
Just test one key/value pair for one NIS map.  I.e. don't test them
all because it can take a really long time.

28 years agotest of the nis module
Barry Warsaw [Wed, 11 Dec 1996 01:01:38 +0000 (01:01 +0000)]
test of the nis module

28 years agoadded test_nis
Barry Warsaw [Wed, 11 Dec 1996 01:01:09 +0000 (01:01 +0000)]
added test_nis