Commit Graph

5010 Commits

Author SHA1 Message Date
Guido van Rossum bd01374da8 Add optional data argument to urlopen() and open_http(), to trigger POST. 1996-12-10 16:00:28 +00:00
Guido van Rossum 8b82baa398 In the HTTP reply header, be more accepting in the HTTP version. 1996-12-10 15:58:22 +00:00
Guido van Rossum caf783793d Added remaining declarations needed/used in glmodule.c; keeps gcc -Wall happy. 1996-12-10 15:41:19 +00:00
Guido van Rossum c1547d930f Better way to handle 64-bit ints, keeping gcc -Wall happy.
Tested with AMK's help.
1996-12-10 15:39:04 +00:00
Guido van Rossum 1a2c5cbcc4 Add unistd.h to make gcc -Wall happy. 1996-12-10 15:37:36 +00:00
Guido van Rossum 067998f35e Add const to error and newstring functions 1996-12-10 15:33:34 +00:00
Guido van Rossum 36dd0d27c4 Fix operator priority bug found thanks to gcc -Wall. 1996-12-10 15:23:00 +00:00
Guido van Rossum e29ed8fa7c Make gcc -Wall happy; remove dummy variable (can't see where it's needed). 1996-12-10 15:21:30 +00:00
Guido van Rossum fb4130d1f1 Added extern decl for gethostname() to keep gcc -Wall happy. 1996-12-10 15:17:08 +00:00
Guido van Rossum 55db515a51 Great renaming.
Also got rid of the dummy variable, which was last needed in IRIX 4.x.
1996-12-10 00:32:31 +00:00
Guido van Rossum 09f99dfdba Removed redundant inclusion of <errno.h> (sorry, Roj!). 1996-12-10 00:12:14 +00:00
Roger E. Masse b0dfe969d9 renamed in a grand fashion. 1996-12-10 00:07:00 +00:00
Roger E. Masse 16f9fd2bcf Added a test script for dbmmodule.c and added it to testall.py and
updated testall.out
1996-12-10 00:06:24 +00:00
Barry Warsaw 3ac30af867 Added test_new 1996-12-10 00:02:57 +00:00
Barry Warsaw abb7efeb7c Renamed a few symbols that were found in comments. 1996-12-09 23:22:35 +00:00
Barry Warsaw 3bdf746c5c Renamed, ungrandly. We don't have the GNU MP library here so we can't
really test this module, or even compile it without a lot of work.

I'll make a note of it that this has not been tested!
1996-12-09 23:16:31 +00:00
Roger E. Masse 56c345b235 renamed grandly. 1996-12-09 23:14:26 +00:00
Roger E. Masse 75362381b5 new test script for cryptmodule.py 1996-12-09 23:13:45 +00:00
Roger E. Masse b6b85ddc95 Test script/output for cryptmodule.c added to testall.py and testall.out 1996-12-09 23:13:07 +00:00
Barry Warsaw 5632ce033f (python-cc-style): Although open braces for substatements typically
hang on the right side, if they are on a separate line, indent them
under the keyword.
1996-12-09 23:01:30 +00:00
Roger E. Masse 24070ca391 Renamed Grandly 1996-12-09 22:59:53 +00:00
Roger E. Masse 3daddda165 New test module for complex math module 1996-12-09 22:59:15 +00:00
Roger E. Masse b71035782e Added test_cmath.py to test complex math module 1996-12-09 22:58:42 +00:00
Barry Warsaw 3ab26b9d75 (testall.py): Slightly improved test harness to make it easier to add
simple tests.

(testall.py, testall.out): Added MD5 testsuite
1996-12-09 22:34:15 +00:00
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