Commit Graph

4636 Commits

Author SHA1 Message Date
Barry Warsaw 8b43b19ec9 Renamed 1996-12-09 22:32:36 +00:00
Roger E. Masse 5817f8f717 Removed some unneeded header files and reedited with a fixed-width font
from emacs as per recomendation from GvR
1996-12-09 22:24:19 +00:00
Barry Warsaw 8c0710fdd3 (python-cc-style): Oops, we decided to use TABs for 8 spaces where
possible.
1996-12-09 22:07:22 +00:00
Barry Warsaw 0b32459004 C coding standard for Python C files.
Currently fairly minimal, but I'll be adding to this as needed.  I
think it's pretty darn close.

To use this, just load the file and in a C buffer type:

M-x c-set-style RET python RET

[there are ways to automate much of this!]
1996-12-09 21:57:25 +00:00
Barry Warsaw 49852831fc Added test_strop 1996-12-09 21:49:55 +00:00
Barry Warsaw ad522facf7 Added tests of all strop module functions, and touching of module
variables
1996-12-09 21:49:10 +00:00
Guido van Rossum 6c832ebfe9 Added test_array output line. 1996-12-09 21:37:33 +00:00
Roger E. Masse 2919eaaf08 Renamed Grandly (I think). 1996-12-09 20:10:36 +00:00
Roger E. Masse 8db1b0764b module to test the arraymodule created and added to testall.py 1996-12-09 20:09:16 +00:00
Guido van Rossum ece35bc22f Changes to keep gcc -Wall happy. 1996-12-09 18:52:11 +00:00
Guido van Rossum 7ce52be627 Added `void' to declaration of initgl(), to keep gcc -Wall happy. 1996-12-09 18:51:51 +00:00
Guido van Rossum 665f9198fe Added a bunch of extern void decls, to keep gcc -Wall happy. 1996-12-09 18:49:42 +00:00
Guido van Rossum 3d65fa3488 Include <sys/ioctl.h>, to keep gcc -Wall happy. 1996-12-09 18:49:14 +00:00
Guido van Rossum cd165cc092 Make dummy int public (with _Py_ prefix), to keep gcc -Wall happy. 1996-12-09 18:48:32 +00:00
Guido van Rossum 37273177be Add ``extern void bzero();'' for SGI, to keep gcc -Wall happy. 1996-12-09 18:47:43 +00:00
Guido van Rossum 66a7013c5c Include unistd.h to keep gcc -Wall happy. 1996-12-09 18:46:58 +00:00
Guido van Rossum 259552dbd9 Added ``extern int get_default_domain();'' for SGI, to keep gcc -Wall happy. 1996-12-09 18:46:28 +00:00
Guido van Rossum 52174577eb Added #ifdef around ``extern int ftime();'' for MS WINDOWS (which has
a conflicting definition somewhere).
Resolved line wrap for error message in ins().
1996-12-09 18:38:52 +00:00
Barry Warsaw f52560197f Greatly renamed. 1996-12-09 18:35:56 +00:00
Barry Warsaw ec775c52a2 ins(): missed a renaming in a string: dictinsert =>
PyDict_SetItemString.

GvR: note the long line > 80 chars.  Wrapping suggestions?
1996-12-09 18:24:35 +00:00
Barry Warsaw 9a2a8a8d31 Greatly renamed. 1996-12-06 23:32:14 +00:00
Barry Warsaw 6ab7f077ff Added test_time 1996-12-06 23:30:49 +00:00
Barry Warsaw 5bebca2ac2 Added 'test_time' 1996-12-06 23:30:33 +00:00
Barry Warsaw b0c2232011 test of time module. not terribly fancy, but it does touch every
function and variable in the module, verifies a few return values and
even tests a couple of known error conditions.
1996-12-06 23:30:07 +00:00
Guido van Rossum 843e712bda Added descriptions of parsedate(), parsedate_tz(), getdate_tz()
(all contributed by Andrew Kuchling).
1996-12-06 21:23:53 +00:00
Guido van Rossum 61ed4db9e8 Added section for operator module (compiled Skip Montanaro). 1996-12-06 21:22:41 +00:00
Guido van Rossum ccaf3b6d11 The usual. 1996-12-06 21:19:16 +00:00
Guido van Rossum 5dab3d815f Test for sys/file.h.
Determine sizeof int and long.
For HPUX, add linker options for shared library usage.
1996-12-06 21:18:18 +00:00
Guido van Rossum 1bb126fa13 Add extern decl of ftime() to make gcc -Wall happy. 1996-12-06 20:17:44 +00:00
Guido van Rossum 9478dd40c2 Fix core dump from pow(x,y,0).
Make gcc -Wall happy.
1996-12-06 20:14:43 +00:00
Fred Drake d560605ae6 (Makefile): Added sym links for each manual, i.e., index.html -> lib.html.
This makes addressing the manuals a little simpler.
1996-12-06 20:06:37 +00:00
Fred Drake fc8f6f3ed3 (Makefile): The sed hack is needed for all 3 manuals processed by latex2html;
the comma must represent a bug in the modified process_command()
	function, but I haven't found it yet.  This will work for now.
1996-12-06 18:45:30 +00:00
Fred Drake f1e6707ea6 (Makefile): Rip out old partparse.py / texi2html.py stuff -- use latex2html
instead!  Updated some comments.
1996-12-06 15:11:34 +00:00
Fred Drake 0d58d44da1 (myformat.perl): Don't italicize the '[]' characters around optional
parameters.
1996-12-06 15:09:14 +00:00
Fred Drake dce22add1b (.latex2html-init): Restore one setting to the default (no real need to
change it), and correct a typo in a comment.
1996-12-06 14:50:58 +00:00
Guido van Rossum a376cc5cc8 Keep gcc -Wall happy. 1996-12-05 23:43:35 +00:00
Guido van Rossum 60fca2c90f Add case for 'R' and a little bit of cleanup. Andrew Kuchling. 1996-12-05 23:41:26 +00:00
Guido van Rossum 049cd90b93 Jim F's brainchild 1996-12-05 23:30:48 +00:00
Guido van Rossum 81b24c0221 Fix bad format char in error msg (%s should be %d).
Keep gcc -Wall happy.
1996-12-05 23:30:16 +00:00
Guido van Rossum 80bb9655f0 Keep gcc -Wall happy. 1996-12-05 23:27:02 +00:00
Guido van Rossum ed0af8fe70 Support __complex__ method on instances, for complex() conversion.
Keep gcc -Wall happy.
1996-12-05 23:18:18 +00:00
Guido van Rossum 150b2df682 Change the Don Beaudry hack into the Don B + Jim F hack; now, if *any*
base class is special it gets invoked.

Make gcc -Wall happy.
1996-12-05 23:17:11 +00:00
Guido van Rossum 3afb5959aa Some extra flags that an HPUX user wants me to add. 1996-12-05 23:15:35 +00:00
Guido van Rossum b0c168cbe8 Tentative changes to make this work better on 64-bit machines.
A plain int that doesn't fit in 32 bits will be marshalled using a new
type.  32 bits machines can't handle this and will issue a warning.
1996-12-05 23:15:02 +00:00
Fred Drake 9abe64a395 (libparser.tex): Added note that the line number for a terminal token
indicates the line on which the token ends rather than starts
	(a side effect of interpreting the parse tree nodes directly).
	Maybe I'll fix this for Python 2.0.
1996-12-05 22:28:43 +00:00
Guido van Rossum ba469ba9d7 More stale info. 1996-12-05 22:26:17 +00:00
Guido van Rossum 794137903f New URL for Swiss ftp mirror. 1996-12-05 22:01:11 +00:00
Guido van Rossum da9c2710c7 Make gcc -Wall happy 1996-12-05 21:58:58 +00:00
Guido van Rossum 472c04f18f Fix newlongobject so it will work for 64-bit as well as 32-bit hardware
(although for 32-bit hardware it's a bit slower than it was).

Make gcc -Wall happy.
1996-12-05 21:57:21 +00:00
Guido van Rossum a0a69b8b42 Experimental new implementation of dictionary comparison. This
defines that a shorter dictionary is always smaller than a longer one.
For dictionaries of the same size, the smallest differing element
determines the outcome (which yields the same results as before,
without explicit sorting).
1996-12-05 21:55:55 +00:00