]> granicus.if.org Git - python/log
python
28 years agoAdded gdbm
Jack Jansen [Mon, 23 Dec 1996 17:09:51 +0000 (17:09 +0000)]
Added gdbm

28 years agoAdded gdbm plugins, changed jpeg library to v6, various minor changes
Jack Jansen [Mon, 23 Dec 1996 17:00:31 +0000 (17:00 +0000)]
Added gdbm plugins, changed jpeg library to v6, various minor changes

28 years agoAdded gdbm plugins
Jack Jansen [Mon, 23 Dec 1996 16:56:19 +0000 (16:56 +0000)]
Added gdbm plugins

28 years agoIf sys.argv is empty ask for input file and output folder
Jack Jansen [Mon, 23 Dec 1996 16:54:51 +0000 (16:54 +0000)]
If sys.argv is empty ask for input file and output folder

28 years agoVery very small comment change.
Roger E. Masse [Fri, 20 Dec 1996 22:39:24 +0000 (22:39 +0000)]
Very very small comment change.

28 years agoMany scripts, but small changes. Update the way the scripts obtain the
Roger E. Masse [Fri, 20 Dec 1996 22:36:52 +0000 (22:36 +0000)]
Many scripts, but small changes.  Update the way the scripts obtain the
'verbose' flag ala GvR updated test harness architecture.

Old way:

verbose = 0
if __name__ == '__main__':
verbose = 1

New way:

from test_support import verbose

Some other small readablility and functionality updates.

28 years agoadded test of the regex module
Barry Warsaw [Fri, 20 Dec 1996 22:00:21 +0000 (22:00 +0000)]
added test of the regex module

[NOTE: testall.py and autotest.py might could go away soon, I've
 played with Guido's new regrtest.py script and it seems to work well.
 I'll wait until Guido gives the word to completely switch over -- and
 change the Makefile too!]

28 years agoRenamed.
Roger E. Masse [Fri, 20 Dec 1996 21:56:08 +0000 (21:56 +0000)]
Renamed.

28 years agoSeveral changes. Test program to follow.
Barry Warsaw [Fri, 20 Dec 1996 21:56:07 +0000 (21:56 +0000)]
Several changes.  Test program to follow.

- Where optional arguments were being used, converted to
  PyArg_ParseTuple() style instead of nested PyArg_Parse() style.

- Check for and handle many potential error conditions that were never
  being tested.

- internal reg_* functions renamed to regobj_* (makes it easier to
  figure out which are global regex functions and which are for regex
  objects).

- reg_group (now regobj_group) was quite extensively reworked.  it no
  longer recurses to do its job (by factoring core functionality into
  a separate function that knows about string and integer indexes).

- some minor formatting fixes.

- regex_set_syntax() now invalidates the cache.  Without this change
  (in the example below), the second search would produce different
  output depending on whether the first search were performed or not
  (since performing the first search would cache the compiled object
  with RE_SYNTAX_EMACS, causing the second test to unexpectedly fail).

  regex.search('(a+)|(b+)', 'cdb')
  prev = regex.set_syntax(RE_SYNTAX_AWK)
  regex.search('(a+)|(b+)', 'cdb')

28 years agoMore and better comments.
Roger E. Masse [Fri, 20 Dec 1996 21:52:29 +0000 (21:52 +0000)]
More and better comments.

28 years agoMinor semantic cleanup.
Roger E. Masse [Fri, 20 Dec 1996 21:47:58 +0000 (21:47 +0000)]
Minor semantic cleanup.

28 years agoOutput for test script for the SGI imgfile module.
Roger E. Masse [Fri, 20 Dec 1996 21:42:09 +0000 (21:42 +0000)]
Output for test script for the SGI imgfile module.

28 years agoTest script for the SGI imgfile module.
Roger E. Masse [Fri, 20 Dec 1996 21:41:50 +0000 (21:41 +0000)]
Test script for the SGI imgfile module.

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

28 years ago8 bit greyscale test file needed for testing imageop and imgfile.
Roger E. Masse [Fri, 20 Dec 1996 20:50:10 +0000 (20:50 +0000)]
8 bit greyscale test file needed for testing imageop and imgfile.

28 years agoTest program for the SGI imageop module.
Roger E. Masse [Fri, 20 Dec 1996 20:49:06 +0000 (20:49 +0000)]
Test program for the SGI imageop module.

28 years agotest output for SGI imageop C module.
Roger E. Masse [Fri, 20 Dec 1996 20:47:17 +0000 (20:47 +0000)]
test output for SGI imageop C module.

28 years ago(python-cc-style): Added definitions for c-hanging-braces-alist which
Barry Warsaw [Fri, 20 Dec 1996 16:43:32 +0000 (16:43 +0000)]
(python-cc-style): Added definitions for c-hanging-braces-alist which
make the most sense for PyMethodDef structures.  [one small fix]

28 years ago(python-cc-style): Added definitions for c-hanging-braces-alist which
Barry Warsaw [Fri, 20 Dec 1996 16:42:04 +0000 (16:42 +0000)]
(python-cc-style): Added definitions for c-hanging-braces-alist which
make the most sense for PyMethodDef structures.

28 years agoTwo new files (to shut up regrtest).
Guido van Rossum [Fri, 20 Dec 1996 03:14:42 +0000 (03:14 +0000)]
Two new files (to shut up regrtest).

28 years agoAdded example DL for SGI IRIX.
Guido van Rossum [Fri, 20 Dec 1996 03:13:36 +0000 (03:13 +0000)]
Added example DL for SGI IRIX.

28 years agoAdded test for minmax.
Guido van Rossum [Fri, 20 Dec 1996 03:13:06 +0000 (03:13 +0000)]
Added test for minmax.

28 years agoNew regression test harness. See usage message / doc string.
Guido van Rossum [Fri, 20 Dec 1996 03:12:20 +0000 (03:12 +0000)]
New regression test harness.  See usage message / doc string.

28 years agoImport verbose flag from test_support instead of testing __name__.
Guido van Rossum [Fri, 20 Dec 1996 03:03:39 +0000 (03:03 +0000)]
Import verbose flag from test_support instead of testing __name__.

28 years agoSet test_support.verbose to 0, to signal tests only to generate
Guido van Rossum [Fri, 20 Dec 1996 03:03:01 +0000 (03:03 +0000)]
Set test_support.verbose to 0, to signal tests only to generate
portable output.

28 years agoAdd verbose flag for regression test to clear.
Guido van Rossum [Fri, 20 Dec 1996 02:58:22 +0000 (02:58 +0000)]
Add verbose flag for regression test to clear.

28 years agoDescribe open(2) exported constants
Barry Warsaw [Thu, 19 Dec 1996 23:50:34 +0000 (23:50 +0000)]
Describe open(2) exported constants

28 years ago1. Export open(2) flag constants for every defined constant
Barry Warsaw [Thu, 19 Dec 1996 23:50:02 +0000 (23:50 +0000)]
1. Export open(2) flag constants for every defined constant

2. Reworked error checking in initposix() and initnt().

28 years agoDocs for stat.py -- docs by Skip Montanaro.
Guido van Rossum [Thu, 19 Dec 1996 22:39:22 +0000 (22:39 +0000)]
Docs for stat.py -- docs by Skip Montanaro.

28 years agoposix.open(): third argument (mode) is optional.
Barry Warsaw [Thu, 19 Dec 1996 22:38:56 +0000 (22:38 +0000)]
posix.open(): third argument (mode) is optional.

28 years agoMinor formatting changes.
Barry Warsaw [Thu, 19 Dec 1996 22:22:32 +0000 (22:22 +0000)]
Minor formatting changes.

28 years agoMinor formatting changes.
Barry Warsaw [Thu, 19 Dec 1996 22:10:44 +0000 (22:10 +0000)]
Minor formatting changes.

28 years agoDocumented getprotobyname() interface.
Guido van Rossum [Thu, 19 Dec 1996 16:43:25 +0000 (16:43 +0000)]
Documented getprotobyname() interface.

28 years agoAdded the new getprotobyname() call to the module overview at the top.
Guido van Rossum [Thu, 19 Dec 1996 16:42:52 +0000 (16:42 +0000)]
Added the new getprotobyname() call to the module overview at the top.

28 years agoAdded getprotobyname() interface.
Guido van Rossum [Thu, 19 Dec 1996 16:35:04 +0000 (16:35 +0000)]
Added getprotobyname() interface.

28 years ago(libunix.tex): Change matching lib.tex: add line item for the resource
Fred Drake [Thu, 19 Dec 1996 12:20:54 +0000 (12:20 +0000)]
(libunix.tex):  Change matching lib.tex: add line item for the resource
module.

28 years agoRemoved references to getdoublearg and get2doublearg rename macros and
Roger E. Masse [Wed, 18 Dec 1996 21:59:01 +0000 (21:59 +0000)]
Removed references to getdoublearg and get2doublearg rename macros and
substituted the appropriate PyArg_Parse calls.  Retested.  All appears well.

28 years agoEradicated all references to getintarg and getstrarg and substituded the
Roger E. Masse [Wed, 18 Dec 1996 20:07:39 +0000 (20:07 +0000)]
Eradicated all references to getintarg and getstrarg and substituded the
proper functions as defined in rename2.h.  Thanks Barry!

28 years agoOpps, left out two defines needed for argument parsing.
Roger E. Masse [Wed, 18 Dec 1996 19:56:48 +0000 (19:56 +0000)]
Opps, left out two defines needed for argument parsing.

28 years agoTest of the operator module
Barry Warsaw [Wed, 18 Dec 1996 19:56:22 +0000 (19:56 +0000)]
Test of the operator module

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